/* Continuum Protocol — full site stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ── Variables ──────────────────────────────────────── */
:root {
  --bg: #000000;
  --bg-b1: #1d2838;
  --bg-b2: rgba(29, 40, 56, 0.5);
  --bg-b3: rgba(29, 40, 56, 0.25);
  --text: #ffffff;
  --text-muted: #616d7e;
  --text-link: rgba(216, 223, 233, 0.8);
  --accent: #3183ff;
  --accent-dark: #0751bf;
  --accent-hover: #5299ff;
  --accent-glow: rgba(49, 131, 255, 0.22);
  --accent-border: rgba(49, 131, 255, 0.35);
  --border: #182233;
  --max-w: 1200px;
  --nav-h: 64px;
  --r: 15px;
  --r-pill: 100px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Animated background ────────────────────────────── */
.bg-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.aurora-orb-1 {
  width: 900px; height: 600px;
  top: -250px; left: 20%;
  background: radial-gradient(ellipse, rgba(22, 60, 160, 0.55) 0%, transparent 68%);
  animation: orb1 22s ease-in-out infinite;
}
.aurora-orb-2 {
  width: 600px; height: 500px;
  bottom: 10%; right: -100px;
  background: radial-gradient(ellipse, rgba(10, 35, 110, 0.4) 0%, transparent 70%);
  animation: orb2 28s ease-in-out infinite;
}
.aurora-orb-3 {
  width: 700px; height: 400px;
  top: 35%; left: -150px;
  background: radial-gradient(ellipse, rgba(8, 28, 90, 0.35) 0%, transparent 70%);
  animation: orb3 19s ease-in-out infinite;
}
@keyframes orb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-6%, 10%) scale(1.12); }
  66%  { transform: translate(8%, -6%) scale(0.9); }
}
@keyframes orb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(6%, -10%) scale(1.18); }
  70%  { transform: translate(-8%, 6%) scale(0.88); }
}
@keyframes orb3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(12%, 6%) scale(1.1); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(49, 131, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 131, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* Ensure page content sits above fixed backgrounds */
nav { z-index: 100; }
.page-main { position: relative; z-index: 1; }

/* ── Layout ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Navigation ─────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  display: block;
}
.logo-text {
  white-space: nowrap;
}
.btn-nav {
  padding: 10px 24px;
  background: linear-gradient(150deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: var(--r);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  text-decoration: none;
  display: inline-block;
}
.btn-nav:hover {
  transform: scale(0.94);
  opacity: 0.9;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 35px;
  background: linear-gradient(150deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: var(--r);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  text-decoration: none;
}
.btn-primary:hover {
  transform: scale(0.94);
  box-shadow: 0 12px 36px var(--accent-glow);
}

/* ── Section label pill ──────────────────────────────── */
.label-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 14px;
  background: rgba(49, 131, 255, 0.1);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}

/* ── Section spacing ─────────────────────────────────── */
.section {
  padding: 120px 0;
}
.section + .section {
  border-top: 1px solid var(--border);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ── Page main ───────────────────────────────────────── */
.page-main { padding-top: var(--nav-h); }

/* ─────────────────────────────────────────────────────
   GEOMETRIC VISUAL (shared across pages)
───────────────────────────────────────────────────── */
.geo-wrap {
  position: relative;
}
.geo-panel {
  position: absolute;
  border-radius: 7px;
}
.geo-glow {
  position: absolute;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.3);
  filter: blur(52px);
}

/* Hero size — larger panels, no borders */
.hero-geo {
  width: 560px;
  height: 420px;
}
.hero-geo .geo-panel {
  will-change: transform;
  transition: none;
}
.hero-geo .geo-panel:nth-child(1) {
  width: 310px; height: 240px;
  top: 95px; left: 20px;
  background: rgba(18, 42, 110, 0.38);
  transform: rotate(-18deg);
}
.hero-geo .geo-panel:nth-child(2) {
  width: 330px; height: 255px;
  top: 68px; left: 110px;
  background: rgba(30, 70, 180, 0.62);
  transform: rotate(-3deg);
}
.hero-geo .geo-panel:nth-child(3) {
  width: 305px; height: 236px;
  top: 46px; left: 218px;
  background: rgba(45, 110, 240, 0.9);
  transform: rotate(12deg);
}
.hero-geo .geo-glow {
  width: 380px; height: 100px;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  filter: blur(70px);
}

/* Card thumbnail size */
.thumb-geo {
  width: 160px;
  height: 122px;
}
.thumb-geo .geo-panel:nth-child(1) {
  width: 88px; height: 68px;
  top: 26px; left: 6px;
  background: rgba(18, 42, 110, 0.38);
  transform: rotate(-18deg);
}
.thumb-geo .geo-panel:nth-child(2) {
  width: 93px; height: 72px;
  top: 18px; left: 32px;
  background: rgba(30, 70, 180, 0.62);
  transform: rotate(-3deg);
}
.thumb-geo .geo-panel:nth-child(3) {
  width: 86px; height: 67px;
  top: 13px; left: 64px;
  background: rgba(45, 110, 240, 0.9);
  transform: rotate(12deg);
}
.thumb-geo .geo-glow {
  width: 100px; height: 28px;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  filter: blur(24px);
}

/* Post featured size */
.post-feat-geo {
  width: 340px;
  height: 260px;
}
.post-feat-geo .geo-panel:nth-child(1) {
  width: 184px; height: 142px;
  top: 56px; left: 16px;
  background: rgba(18, 42, 110, 0.38);
  transform: rotate(-18deg);
}
.post-feat-geo .geo-panel:nth-child(2) {
  width: 196px; height: 152px;
  top: 40px; left: 65px;
  background: rgba(30, 70, 180, 0.62);
  transform: rotate(-3deg);
}
.post-feat-geo .geo-panel:nth-child(3) {
  width: 180px; height: 140px;
  top: 28px; left: 128px;
  background: rgba(45, 110, 240, 0.9);
  transform: rotate(12deg);
}
.post-feat-geo .geo-glow {
  width: 220px; height: 58px;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  filter: blur(44px);
}

/* ─────────────────────────────────────────────────────
   HOME — HERO
───────────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 40px 200px;
  position: relative;
  overflow: hidden;
}
.hero + .section { padding-top: 80px; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(8,22,55,0.85) 0%, transparent 68%);
  pointer-events: none;
}
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
  max-width: var(--max-w);
  position: relative;
  z-index: 1;
}
.hero-content {
  flex: 0 0 auto;
  max-width: 560px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 40px;
  line-height: 1.8;
}
.hero-visual-wrap {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  animation: fadeUp 0.7s ease-out 0.3s both, float 7s ease-in-out 1s infinite;
}

/* ── HOME — SERVICES ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.service-card {
  background: linear-gradient(140deg, var(--bg-b1), var(--bg-b2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 42px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card:hover {
  border-color: rgba(49, 131, 255, 0.25);
  transform: translateY(-3px);
}
.svc-icon {
  width: 44px;
  height: 44px;
  background: rgba(49, 131, 255, 0.1);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.svc-icon svg { width: 20px; height: 20px; }
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── HOME — SOLUTIONS ────────────────────────────────── */
.solutions-section {
  position: relative;
  overflow: hidden;
}
.solutions-text {
  max-width: 480px;
}
.solutions-text h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 24px;
}
.solutions-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}
.solutions-cta {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.4s var(--ease);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.solutions-cta:hover { color: var(--text); }

/* Panels float absolutely on the right — no container box */
.solutions-panels {
  position: absolute;
  right: -60px;
  top: 0;
  bottom: 0;
  width: 640px;
  pointer-events: none;
}
.solutions-slab {
  position: absolute;
  border-radius: 14px;
}
.solutions-slab:nth-child(1) {
  width: 360px; height: 520px;
  top: 50%; right: 220px;
  transform: translateY(-50%) rotate(-6deg);
  background: rgba(15, 35, 95, 0.45);
}
.solutions-slab:nth-child(2) {
  width: 360px; height: 520px;
  top: 50%; right: 80px;
  transform: translateY(-50%) rotate(-1deg);
  background: rgba(28, 65, 170, 0.68);
}
.solutions-slab:nth-child(3) {
  width: 340px; height: 500px;
  top: 50%; right: -60px;
  transform: translateY(-50%) rotate(5deg);
  background: rgba(45, 110, 240, 0.92);
}

/* ── HOME — WHY CHOOSE US + BENEFITS SPLIT ───────────── */
.why-benefits-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.benefits-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.benefit-card {
  background: linear-gradient(140deg, var(--bg-b1), var(--bg-b2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  transition: border-color 0.4s var(--ease);
}
.benefit-card:hover { border-color: rgba(49, 131, 255, 0.25); }
.benefit-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.why-col h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 20px;
}
.why-col p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ── HOME — PARTNERS ─────────────────────────────────── */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 52px;
}
.partner-chip {
  padding: 14px 32px;
  background: linear-gradient(140deg, var(--bg-b1), var(--bg-b2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.partner-chip:hover { color: var(--text); border-color: rgba(49, 131, 255, 0.25); }

/* ── HOME — BLOG PREVIEW ─────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 52px;
}
.blog-card {
  background: linear-gradient(140deg, var(--bg-b1), var(--bg-b2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: block;
  color: inherit;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.blog-card:hover {
  border-color: rgba(49, 131, 255, 0.3);
  transform: translateY(-4px);
}
.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-b1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-body { padding: 28px; }
.blog-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

/* ─────────────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────────────── */
.page-hero {
  padding: 100px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(8,22,55,0.8) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 20px;
}
.page-hero p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  padding-bottom: 0;
}
.mission-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.mission-card {
  background: linear-gradient(140deg, var(--bg-b1), var(--bg-b2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 42px;
}
.mc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mc-label svg { width: 16px; height: 16px; }
.mission-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.mission-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.values-stats-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: start;
}
.stats-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.stat-card {
  background: linear-gradient(140deg, var(--bg-b1), var(--bg-b2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 24px;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  color: var(--text);
}
.stat-lbl { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 52px;
}
.value-card {
  background: linear-gradient(140deg, var(--bg-b1), var(--bg-b2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 42px;
}
.value-num {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(49, 131, 255, 0.18);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 18px;
}
.value-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }
.value-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 52px;
}
.team-card {
  background: linear-gradient(140deg, var(--bg-b1), var(--bg-b2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 20px;
  text-align: center;
  transition: border-color 0.4s var(--ease);
}
.team-card:hover { border-color: var(--accent-border); }
.team-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(49,131,255,0.2), rgba(7,81,191,0.12));
  border: 2px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.team-card h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.team-card .role { font-size: 0.8rem; color: var(--text-muted); }

/* ─────────────────────────────────────────────────────
   BLOG PAGE
───────────────────────────────────────────────────── */
.blog-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  padding-bottom: 120px;
}
.blog-full-grid .blog-card h3 { font-size: 1.1rem; }

/* ─────────────────────────────────────────────────────
   POST PAGE
───────────────────────────────────────────────────── */
.post-header {
  padding: 60px 40px 48px;
  position: relative;
  overflow: hidden;
}
.post-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(8,22,55,0.8) 0%, transparent 68%);
  pointer-events: none;
}
.post-header-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}
.post-date-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  margin-bottom: 24px;
}
.post-header h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 780px;
}

.post-feat-wrap {
  max-width: 1000px;
  margin: 0 auto 64px;
  padding: 0 40px;
}
.post-feat-img {
  width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-b1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-feat-img-src {
  width: 100%;
  display: block;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px 80px;
}
.post-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 1rem;
}
.post-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 48px 0 16px;
}
.post-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 36px 0 12px;
}
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 32px 0;
  background: rgba(49, 131, 255, 0.05);
  border-radius: 0 var(--r) var(--r) 0;
}
.post-body blockquote p {
  color: var(--text);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.post-body ul { list-style: none; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.post-body ul li {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.post-body ul li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 10px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────
   FOOTER + CTA
───────────────────────────────────────────────────── */
.cta-section {
  padding: 120px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-sub {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1rem;
}
.subscribe-form {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.subscribe-input {
  padding: 16px 24px;
  background: linear-gradient(140deg, var(--bg-b1), var(--bg-b2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  width: 280px;
  transition: border-color 0.3s;
}
.subscribe-input::placeholder { color: var(--text-muted); }
.subscribe-input:focus { border-color: var(--accent-border); }

.community-body {
  max-width: 680px;
  margin: 0 auto;
}
.community-body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 56px 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-desc {
  max-width: 380px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 10px;
}
.footer-email-left {
  font-size: 0.88rem;
  margin-top: 10px;
}
.footer-email-left a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-email-left a:hover { color: var(--text); }
.footer-copy { font-size: 0.8rem; color: rgba(97, 109, 126, 0.5); margin-top: 14px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.footer-social-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.footer-social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer-social-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}
.footer-social-link:hover { color: var(--text); }

/* ─────────────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fade-up { animation: fadeUp 0.65s ease-out both; }
.anim-delay-1 { animation-delay: 0.12s; }
.anim-delay-2 { animation-delay: 0.24s; }
.anim-delay-3 { animation-delay: 0.4s; }

/* Scroll-reveal */
.reveal {
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal-stagger > *:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}
.reveal-stagger > *.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ─────────────────────────────────────────────────────
   CONTACT MODAL (Formspree)
───────────────────────────────────────────────────── */
.contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.contact-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.contact-modal {
  position: relative;
  width: min(480px, 100%);
  max-height: none;
  overflow: visible;
  padding: 20px 22px 18px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(49, 131, 255, 0.18), transparent 55%),
    linear-gradient(155deg, #152033 0%, #0a1018 100%);
  border: 1px solid rgba(49, 131, 255, 0.28);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(49, 131, 255, 0.12);
  transform: translateY(18px) scale(0.96);
  transition: transform 0.4s var(--ease);
}
.contact-backdrop.is-open .contact-modal {
  transform: translateY(0) scale(1);
}
.contact-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(29, 40, 56, 0.6);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.contact-close:hover {
  color: var(--text);
  border-color: var(--accent-border);
  background: rgba(49, 131, 255, 0.12);
}
.contact-modal-label {
  margin-bottom: 4px;
  padding: 3px 10px;
  font-size: 10px;
}
.contact-modal h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 4px;
  padding-right: 28px;
}
.contact-modal-lead {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.35;
  margin-bottom: 12px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-link);
}
.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: none;
}
.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  color-scheme: dark;
  background-color: rgba(0, 0, 0, 0.55);
  background-image:
    linear-gradient(45deg, transparent 50%, #9aa6b8 50%),
    linear-gradient(135deg, #9aa6b8 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.contact-field select:invalid,
.contact-field select option[value=""] {
  color: var(--text-muted);
}
.contact-field select option {
  background-color: #0f1724;
  color: #ffffff;
}
.contact-field textarea {
  min-height: 52px;
  height: 52px;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-muted);
}
.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"],
.contact-field select[aria-invalid="true"] {
  border-color: #e35d6a;
}
.contact-hint {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: -1px;
}
.contact-other-field[hidden] {
  display: none !important;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.contact-submit {
  margin-top: 2px;
  width: 100%;
  justify-content: center;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
}
.contact-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.contact-status {
  min-height: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  margin: 0;
}
.contact-status.is-error {
  color: #ff8a96;
}
.contact-status.is-success {
  color: #7dcea0;
}
.contact-success {
  display: none;
  text-align: center;
  padding: 12px 8px 4px;
}
.contact-form.is-hidden {
  display: none;
}
.contact-success.is-visible {
  display: block;
}
.contact-success-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(49, 131, 255, 0.15);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 20px;
}
.contact-success h3 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.contact-success p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 18px;
}
body.contact-open {
  overflow: hidden;
}

/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; gap: 48px; }
  .solutions-visual { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid-3 { grid-template-columns: 1fr 1fr; }
  .why-benefits-split { grid-template-columns: 1fr; gap: 40px; }
  .values-stats-split { grid-template-columns: 1fr; }
  .hero-split { flex-direction: column; text-align: center; }
  .hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
  .hero p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 700px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .hero, .page-hero, .post-header { padding-left: 24px; padding-right: 24px; }
  .post-feat-wrap, .post-body { padding-left: 24px; padding-right: 24px; }
  .services-grid, .mission-grid, .mission-grid-3, .benefits-col, .values-grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-full-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; }
  .footer-social-links { align-items: flex-start; }
  .hero-visual-wrap { display: none; }
  .subscribe-form { flex-direction: column; width: 100%; }
  .subscribe-input { width: 100%; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-modal { padding: 16px 14px 14px; }
}
