/* =========================================================
   Place XAI — Design System
   ========================================================= */
:root {
  /* Brand */
  --brand: #4f7cff;
  --brand-2: #6ea8ff;
  --brand-3: #2bd4d4;
  --grad: linear-gradient(100deg, #4f7cff 0%, #6a5cff 45%, #2bd4d4 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
}

/* ---------- Dark (default) ---------- */
[data-theme="dark"] {
  --bg: #070b16;
  --bg-2: #0b1222;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.16);
  --text: #eef2fb;
  --text-soft: #aab4cc;
  --text-muted: #6f7a93;
  --header-bg: rgba(8,12,22,.72);
  --shadow: 0 24px 60px rgba(0,0,0,.5);
  --glow: rgba(79,124,255,.28);
  --globe-bg: #070b16;
}

/* ---------- Light ---------- */
[data-theme="light"] {
  --bg: #f6f8fe;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f5ff;
  --border: rgba(20,32,68,.10);
  --border-strong: rgba(20,32,68,.18);
  --text: #0f1a33;
  --text-soft: #45516e;
  --text-muted: #8390ad;
  --header-bg: rgba(255,255,255,.78);
  --shadow: 0 24px 60px rgba(31,52,120,.14);
  --glow: rgba(79,124,255,.22);
  --globe-bg: #f6f8fe;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 { margin: 0; font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
.muted { color: var(--text-muted); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; line-height: 1;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn.lg { padding: 15px 26px; font-size: 15.5px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 24px rgba(79,124,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(79,124,255,.5); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand); }
.arr { transition: transform .2s var(--ease); }
.btn-ghost:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav-wrap {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--brand); }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 2px 8px var(--glow)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 16px; letter-spacing: .04em; color: var(--text); }
.brand-text em { font-style: normal; font-size: 10.5px; color: var(--text-muted); letter-spacing: .02em; }

/* Apple-style single-row nav */
.primary-nav { margin-left: auto; display: flex; gap: 4px; }
.nav-link {
  font: inherit; font-weight: 600; font-size: 15px;
  color: var(--text-soft); padding: 9px 14px; border-radius: 10px;
  position: relative; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--text); }
.nav-link.active::after, .has-drop.active > .nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--grad);
}
.nav-link { background: none; border: 0; font-family: inherit; cursor: pointer; }
.has-drop { position: relative; }
.has-drop > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.caret { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; transition: transform .25s; }
.has-drop:hover .caret, .has-drop.open .caret { transform: rotate(225deg) translateY(-1px); }

.drop {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.has-drop:hover .drop, .has-drop.open .drop { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.drop::before { content:""; position:absolute; top:-12px; left:0; right:0; height:12px; }
.drop-inner {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow); padding: 8px;
  display: grid; gap: 2px;
}
.drop-inner a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--text-soft);
  white-space: nowrap; transition: background .16s, color .16s;
}
.drop-inner a:hover { background: var(--surface-2); color: var(--text); }
.drop-inner a.here { color: var(--brand-2); }

/* mobile drawer groups */
.m-group { padding: 8px 0 4px; border-bottom: 1px solid var(--border); }
.m-head { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); padding: 8px 0 4px; }
.mobile-drawer .m-group a { display: block; font-size: 17px; padding: 11px 0 11px 14px; color: var(--text); border: 0; }
.mobile-drawer .m-link { display: block; font-family: var(--font-display); font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); cursor: pointer;
  transition: transform .2s, border-color .2s, color .2s;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: var(--brand); color: var(--brand); }
[data-theme="dark"] .ic-sun { display: block; }
[data-theme="dark"] .ic-moon { display: none; }
[data-theme="light"] .ic-sun { display: none; }
[data-theme="light"] .ic-moon { display: block; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 40px; border: 1px solid var(--border-strong); background: var(--surface); border-radius: 11px; cursor: pointer; align-items: center; justify-content: center; }
.hamburger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 64px 0 0 0; z-index: 90;
  background: var(--bg); padding: 20px 24px 40px;
  transform: translateX(100%); transition: transform .3s var(--ease);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer nav { display: flex; flex-direction: column; }
.mobile-drawer nav a { font-family: var(--font-display); font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-drawer nav a:hover { color: var(--brand-2); }
.mobile-drawer > nav > .btn { margin-top: 24px; width: 100%; justify-content: center; border-bottom: 0; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-short { min-height: 60vh; }
.hero-short .hero-inner { padding: 140px 24px 56px; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-glow {
  position: absolute; z-index: 1; right: -10%; top: 10%;
  width: 60vw; height: 60vw; pointer-events: none;
  background: radial-gradient(circle, var(--glow), transparent 60%);
  filter: blur(20px);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 120px 24px 80px; }
.hero-copy { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-soft); padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface);
  backdrop-filter: blur(8px);
}
.eyebrow.center { margin: 0 auto; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 12px var(--brand-3); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title { font-size: clamp(38px, 6.4vw, 76px); margin: 22px 0 18px; letter-spacing: -.035em; }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-soft); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stats span { font-size: 13px; color: var(--text-muted); }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 2px; background: var(--brand); animation: scrolly 1.8s infinite; }
@keyframes scrolly { 0%{opacity:0; top:8px} 30%{opacity:1} 60%{opacity:1; top:22px} 100%{opacity:0; top:22px} }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; gap: 16px; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); }
.section-link { color: var(--brand-2); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.section-link:hover { color: var(--brand); }

/* ---------- Products (immersive showcase: header row + big stage below) ---------- */
.solutions { padding: 24px 0 40px; position: relative; z-index: 3; }
.sol-header {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; margin-bottom: 28px;
}

/* the six logos in a single row, centred below the big stage */
.solution-thumbs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.sol-thumb {
  width: 58px; height: 58px; border-radius: 16px; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border);
  opacity: .55; transition: opacity .25s, transform .25s var(--ease), border-color .25s, background .25s;
}
.sol-thumb:hover { opacity: .9; transform: translateY(-3px); }
.sol-thumb.active { opacity: 1; border-color: var(--brand); }
[data-theme="dark"] .sol-thumb.active { background: #fff; }
.sol-thumb .th { max-width: 32px; max-height: 30px; width: auto; height: auto; object-fit: contain; }
.sol-thumb .th-gray { display: none; }
/* dark mode: unselected thumbs show the grey (-g) icon */
[data-theme="dark"] .sol-thumb:not(.active) { opacity: .85; }
[data-theme="dark"] .sol-thumb:not(.active):not(.no-gray) .th-color { display: none; }
[data-theme="dark"] .sol-thumb:not(.active) .th-gray { display: block; }

/* big stage below — frameless icon (no plate), ~70% height, wide text */
.solution-stage { position: relative; min-height: 158px; }
.solution-card {
  position: absolute; inset: 0; display: flex; align-items: center;
  gap: clamp(26px, 3.6vw, 50px); color: inherit; text-align: left;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.99);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
}
.solution-card.active { opacity: 1; visibility: visible; transform: none; }
/* frameless: the artwork is the icon — no background plate or border */
.solution-icon { flex: 0 0 auto; width: 152px; height: 152px; display: grid; place-items: center; transition: transform .5s var(--ease); }
.solution-card.active .solution-icon { animation: solIn .55s var(--ease); }
@keyframes solIn { from { transform: scale(.92); } to { transform: scale(1); } }
.solution-icon .ic { max-width: 152px; max-height: 152px; width: auto; height: auto; object-fit: contain; }
.solution-icon .ic-dark { display: none; }
[data-theme="dark"] .solution-icon .ic-light { display: none; }
[data-theme="dark"] .solution-icon .ic-dark { display: block; }
.solution-info { flex: 1 1 auto; min-width: 0; }
/* name + subtitle on one row (name a touch smaller), description below */
.solution-name { display: inline; font-size: clamp(26px, 3.2vw, 42px); letter-spacing: -.03em; vertical-align: baseline; }
.solution-sub { display: inline; margin-left: 14px; color: var(--brand-2); font-weight: 600; font-size: clamp(15px, 1.4vw, 19px); vertical-align: baseline; }
.solution-desc { display: block; margin-top: 16px; color: var(--text-soft); font-size: clamp(17px, 1.55vw, 21px); line-height: 1.6; max-width: none; }
.solution-card:hover .solution-name { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

@media (max-width: 700px) {
  .solution-stage { min-height: 360px; }
  .solution-card { flex-direction: column; align-items: flex-start; gap: 20px; }
  .solution-icon { width: 130px; height: 130px; }
  .solution-icon .ic { max-width: 130px; max-height: 130px; }
}

/* ---------- (legacy) product chips ---------- */
.product-strip { padding: 8px 0 40px; position: relative; z-index: 3; }
.strip-label { display: block; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.chip {
  display: flex; align-items: center; gap: 11px; padding: 13px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); transition: transform .22s var(--ease), border-color .22s, box-shadow .22s, background .22s;
}
.chip:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.chip-ic { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; }
.chip-ic img { max-width: 34px; max-height: 32px; width: auto; height: auto; object-fit: contain; }
.chip-tx { display: flex; flex-direction: column; min-width: 0; }
.chip-tx strong { font-size: 14px; line-height: 1.2; }
.chip-tx small { color: var(--text-muted); font-size: 11px; line-height: 1.25; }

/* brand + product logos */
.brand-logo { display: block; width: 32px; height: 32px; border-radius: 8px; }
.prod-logo { height: 52px; width: auto; max-width: 130px; object-fit: contain; object-position: left center; }
.prod-logo-hero { height: 66px; max-width: 180px; margin-bottom: 18px; display: block; }
.prod-tag { font-size: 12px; color: var(--text-muted); margin-top: auto; }
.prod-links { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.prod-links a { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border-strong); color: var(--text-soft); transition: color .2s, border-color .2s; }
.prod-links a:hover { color: var(--brand); border-color: var(--brand); }
.prod-paper { font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }
.prod-paper em { color: var(--text-soft); font-style: normal; font-weight: 600; }
.inline-link { color: var(--brand-2); font-weight: 600; border-bottom: 1px solid transparent; }
.inline-link:hover { color: var(--brand); border-bottom-color: currentColor; }

/* ---------- 2x2 image tiles (home) ---------- */
.grid-section { padding: 16px 0 24px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.tile:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.tile-media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--surface-2); }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
/* gradient fallbacks (used by tiles without a photo, e.g. news.html) */
.media-news     { background: radial-gradient(120% 120% at 20% 10%, #6a5cff 0%, #2a3bef 45%, #0b1530 100%); }
.media-digest   { background: radial-gradient(120% 120% at 80% 10%, #2bd4d4 0%, #2e7bff 50%, #0b1530 100%); }
.media-research { background: radial-gradient(120% 120% at 30% 90%, #4f7cff 0%, #6a5cff 50%, #0b1530 100%); }
.media-projects { background: radial-gradient(120% 120% at 80% 80%, #2bd4d4 0%, #4f7cff 55%, #0b1530 100%); }
.tile-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.tile-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); }
.tile-body h3 { font-size: 24px; }
.tile-body p { color: var(--text-soft); font-size: 14.5px; }
.tile-go { margin-top: 4px; color: var(--brand-2); font-weight: 600; font-size: 14px; }
.tile:hover .tile-go { color: var(--brand); }

/* ---------- Mission (home) ---------- */
.mission { text-align: center; position: relative; overflow: hidden; padding-top: 28px; }
.mission::before { content:""; position:absolute; inset:0; background: radial-gradient(ellipse at center, var(--glow), transparent 65%); opacity:.55; }
.mission-inner { position: relative; max-width: 820px; }
.mission-sub { max-width: 680px; margin: 18px auto 30px; color: var(--text-soft); font-size: 17px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { padding: 150px 0 50px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; right:-10%; top:-30%; width:50vw; height:50vw; background: radial-gradient(circle, var(--glow), transparent 60%); filter: blur(20px); pointer-events:none; }
.page-hero .container { position: relative; }
.page-title { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.03em; }
.page-lead { margin-top: 16px; max-width: 620px; color: var(--text-soft); font-size: 18px; }

/* Publications list */
.pub-list { display: grid; gap: 14px; }
.pub { display: flex; gap: 18px; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s, transform .2s var(--ease); }
.pub:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.pub-year { font-family: var(--font-display); font-weight: 700; color: var(--brand-2); font-size: 18px; min-width: 52px; }
.pub h4 { font-size: 17px; margin-bottom: 4px; }
.pub p { color: var(--text-muted); font-size: 13.5px; }

/* People grid */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person { text-align: center; padding: 26px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.person:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.person .ava { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px; background: var(--grad); }
.person strong { display: block; font-size: 16px; }
.person span { color: var(--text-muted); font-size: 13px; }

/* Cards */
.cards-grid { display: grid; gap: 18px; }
.insights-grid { grid-template-columns: repeat(4, 1fr); }
.products-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-ic { font-size: 26px; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-2); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); }
.card h3 { font-size: 19px; }
.card p { color: var(--text-soft); font-size: 14.5px; }
.card-link { margin-top: auto; color: var(--brand-2); font-weight: 600; font-size: 14px; }
.card-link:hover { color: var(--brand); }
.card-accent { background: linear-gradient(160deg, rgba(79,124,255,.12), var(--surface)); border-color: var(--border-strong); }
.subscribe { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.subscribe input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 11px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; font-size: 14px; }
.subscribe input:focus { outline: none; border-color: var(--brand); }

/* Philosophy band */
.philosophy { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.philosophy::before { content:""; position:absolute; inset:0; background: radial-gradient(ellipse at center, var(--glow), transparent 65%); opacity:.6; }
.philosophy .container { position: relative; }
.big-quote { font-size: clamp(28px, 4.2vw, 50px); max-width: 900px; margin: 22px auto 18px; }
.philosophy-sub { max-width: 620px; margin: 0 auto; color: var(--text-soft); font-size: 17px; }

/* Split panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.panel:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.panel-ic { font-size: 30px; }
.panel h3 { font-size: 23px; margin: 14px 0 8px; }
.panel p { color: var(--text-soft); }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); }
.mini-cards { display: grid; gap: 10px; margin: 18px 0; }
.mini { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); }
.mini strong { font-size: 15px; }
.mini span { font-size: 12.5px; color: var(--text-muted); }

.avatars { display: flex; align-items: center; margin: 20px 0; }
.avatars span { width: 40px; height: 40px; border-radius: 50%; margin-left: -10px; border: 2px solid var(--bg); background: var(--grad); }
.avatars span:first-child { margin-left: 0; }
.avatars .more { background: var(--surface-2); color: var(--text-soft); display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 2px solid var(--border-strong); }
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.logos span { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text-soft); padding: 8px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }

.join-band {
  margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 30px 34px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(79,124,255,.14), rgba(43,212,212,.08));
  border: 1px solid var(--border-strong);
}
.join-band h3 { font-size: 24px; }
.join-band p { color: var(--text-soft); margin-top: 6px; }

/* Footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; color: var(--brand); }
.footer-brand strong { font-family: var(--font-display); letter-spacing: .04em; color: var(--text); }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-soft); font-size: 14px; }
.footer-col a:hover { color: var(--brand-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-links a { margin-left: 18px; }
.footer-links a:hover { color: var(--brand-2); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .chips { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .primary-nav, .collaborate { display: none; }
  .hamburger { display: flex; }
  .nav-wrap { gap: 14px; }
  .hero-short { min-height: 54vh; }
}
@media (max-width: 640px) {
  .insights-grid, .products-grid, .split, .tiles, .chips { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 26px; }
  .section { padding: 70px 0; }
  .hero-short .hero-inner { padding: 120px 24px 40px; }
  .join-band { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
