/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
  --dark-1: #080C11;
  --dark-2: #0F1520;
  --dark-3: #172030;
  --dark-4: #1E2B3C;
  --light-1: #FFFFFF;
  --light-2: #F5F6F8;
  --light-3: #EDEEF1;
  --text-inv-1: #F0F4F8;
  --text-inv-2: #8A97A8;
  --text-inv-3: #4A5568;
  --text-1: #0D1117;
  --text-2: #4B5563;
  --text-3: #9CA3AF;
  --red: #C0392B;
  --red-dim: rgba(192,57,43,0.12);
  --red-border: rgba(192,57,43,0.35);
  --border-dark: rgba(255,255,255,0.07);
  --border-light: #E4E6EA;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --w: 1160px;
  --r: 8px;
  --r-sm: 5px;
}

/* ===========================
   RESET
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--dark-1);
  color: var(--text-inv-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ===========================
   LAYOUT
   =========================== */
.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .wrap { padding: 0 24px; } }

/* ===========================
   NAV
   =========================== */
#nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 90px;
  background: rgba(8,12,17,0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-dark);
}
.nav-wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 70px;
  width: auto;
  padding: 10px 0;
}
.nav-wordmark {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.nav-wordmark span { color: var(--red); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-inv-2);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-inv-1); }
.nav-links a.is-active { color: var(--text-inv-1); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 20px;
  background: var(--red);
  color: #fff;
  border-radius: var(--r-sm);
  transition: background 0.15s, opacity 0.3s, visibility 0.3s;
  white-space: nowrap;
}
.nav-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.nav-cta:hover { background: #a93226; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-wrap { padding: 0 24px; }
}

/* ===========================
   HERO
   =========================== */
#hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-1);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 0%, transparent 100%);
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.07) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 40%, transparent 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 40%, transparent 100%);
}
@media (max-width: 768px) { .hero-img { display: none; } }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 910px;
  padding: 80px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}
.eyebrow-large {
  font-size: 30px;
}
.hero-h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 28px;
}
.hero-h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-inv-2);
  max-width: 700px;
  margin-bottom: 44px;
}
.btn-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  background: var(--red);
  color: #fff;
  border-radius: var(--r-sm);
  transition: background 0.15s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #a93226; transform: translateY(-1px); }
.btn-ghost {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-inv-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border-dark);
  flex-wrap: wrap;
}
.stat-num {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-num sup { color: var(--red); font-size: 0.55em; vertical-align: super; }
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-inv-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ===========================
   SECTION RHYTHM
   =========================== */
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-dark { background: var(--dark-1); }
.section-dark-2 { background: var(--dark-2); }
.section-light { background: var(--light-1); }
.section-light-2 { background: var(--light-2); }
.section-tag {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag.dark { color: var(--red); }
.section-h {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.section-h.on-dark { color: #fff; }
.section-h.on-light { color: var(--text-1); }
.section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-inv-2);
  max-width: 500px;
}
.section-sub.on-light { color: var(--text-2); }
.sh-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

/* ===========================
   POSITIONING SECTION
   =========================== */
#positioning {
  background: var(--light-1);
  padding: 96px 0;
}
.pos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.pos-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2);
  margin-top: 20px;
}
.pos-body + .pos-body { margin-top: 16px; }
.attrs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 8px;
}
.attr {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.attr-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 8px;
  flex-shrink: 0;
}
.attr-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}
.attr-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
@media (max-width: 900px) { .pos-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===========================
   SERVICES GRID
   =========================== */
#services {
  background: var(--dark-2);
  padding: 96px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--border-dark);
  gap: 1px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.tile {
  background: var(--dark-2);
  padding: 36px 32px 28px;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
  -webkit-user-select: none;
}
.tile:hover { background: var(--dark-3); }
.tile.is-open { background: var(--dark-3); }
.tile-icon {
  width: 36px;
  height: 36px;
  color: var(--red);
  margin-bottom: 20px;
  opacity: 0.9;
}
.tile-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}
.tile-tagline {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-inv-2);
  margin-bottom: 20px;
}
.tile-badge {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1px solid var(--red-border);
  border-radius: 3px;
  background: var(--red-dim);
}
.tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
}
.tile-foot-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-inv-3);
  transition: color 0.15s;
}
.tile:hover .tile-foot-label,
.tile.is-open .tile-foot-label { color: var(--text-inv-2); }
.tile-toggle {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  color: var(--text-inv-3);
  transition: border-color 0.15s, color 0.15s, transform 0.25s;
  flex-shrink: 0;
}
.tile:hover .tile-toggle,
.tile.is-open .tile-toggle {
  border-color: var(--red-border);
  color: var(--red);
}
.tile.is-open .tile-toggle { transform: rotate(45deg); }

/* Detail panel */
.svc-detail {
  display: none;
  grid-column: 1 / -1;
  background: #0A1320;
  border-top: 1px solid var(--border-dark);
  padding: 48px 48px 44px;
  animation: fadeSlide 0.22s ease;
}
.svc-detail.is-open { display: block; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.detail-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 768px) { .detail-inner { grid-template-columns: 1fr; gap: 32px; } }
.detail-body {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-inv-1);
}
.detail-body p + p { margin-top: 14px; }
.method-block {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--red-dim);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.method-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.method-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-inv-1);
}
.detail-right h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  margin-bottom: 18px;
}
.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-inv-1);
}
.detail-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 7px;
  flex-shrink: 0;
  opacity: 0.8;
}
.detail-deliverable {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.del-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 2px;
  white-space: nowrap;
}
.del-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-inv-1);
}

/* ===========================
   SECTORS
   =========================== */
#sectors {
  background: var(--light-1);
  padding: 96px 0;
}
.sectors-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) { .sectors-layout { grid-template-columns: 1fr; gap: 48px; } }
.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}
@media (max-width: 560px) { .sector-grid { grid-template-columns: 1fr; } }
.sector-card {
  background: var(--light-1);
  padding: 24px 20px;
  transition: background 0.15s;
}
.sector-card:hover { background: var(--light-2); }
.sector-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
}
.sector-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
.fw-block { margin-top: 44px; }
.fw-label {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.fw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.fw-tag {
  font-family: var(--mono);
  font-size: 14px;
  padding: 4px 10px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-2);
  background: var(--light-2);
  transition: border-color 0.15s, color 0.15s;
}
.fw-tag:hover { border-color: var(--red-border); color: var(--red); }

/* ===========================
   METHODOLOGY
   =========================== */
#approach {
  background: var(--dark-1);
  padding: 96px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 52px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--dark-1);
  padding: 32px 28px;
  transition: background 0.2s;
}
.step:hover { background: var(--dark-2); }
.step-num {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--red);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.step-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #F0F4F8;
}

/* ===========================
   ABOUT
   =========================== */
#about {
  background: var(--light-2);
  padding: 96px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-body {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-2);
  margin-top: 20px;
}
.about-body p + p { margin-top: 16px; }

/* ===========================
   CONTACT
   =========================== */
#contact {
  background: var(--dark-2);
  padding: 96px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-body {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-inv-2);
  margin-top: 20px;
  max-width: 460px;
}
.contact-body p + p { margin-top: 14px; }
.contact-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ci-label {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.ci-value {
  font-size: 14px;
  color: var(--text-inv-2);
}
.contact-form {
  background: var(--dark-3);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 36px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  margin-bottom: 8px;
}
.form-label .opt {
  font-weight: 400;
  opacity: 0.5;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  font-size: 10px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-input, .form-textarea {
  width: 100%;
  background: var(--dark-4);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text-inv-1);
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.18); }
.form-input:focus, .form-textarea:focus {
  border-color: rgba(192,57,43,0.5);
  background: var(--dark-3);
}
.form-textarea { resize: vertical; min-height: 96px; }
.form-btn {
  width: 100%;
  padding: 13px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.form-btn:hover { background: #a93226; }
.form-btn:disabled { opacity: 0.6; cursor: default; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--text-inv-2);
  font-size: 15px;
  line-height: 1.65;
}
.form-success strong { color: #fff; display: block; margin-bottom: 8px; font-size: 17px; }

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #040709;
  border-top: 1px solid var(--border-dark);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-inv-3);
}
.footer-brand span { color: var(--red); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-size: 12px;
  color: var(--text-inv-3);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text-inv-2); }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
}
@media (max-width: 560px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}


/* =============================================================
   BLOG STYLES
   ============================================================= */

/* ===========================
   BLOG HEADER
   =========================== */
.blog-header {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border-dark);
}
.blog-breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-inv-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.blog-breadcrumb a {
  color: var(--text-inv-2);
  transition: color 0.15s;
}
.blog-breadcrumb a:hover { color: var(--red); }
.blog-breadcrumb .sep { margin: 0 8px; opacity: 0.4; }
.blog-tag {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.blog-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  max-width: 820px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 16px;
  color: #F0F4F8;
}
.blog-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-inv-3);
}

/* ===========================
   BLOG CONTENT
   =========================== */
.blog-body {
  padding: 10px 0 96px;
}
.blog-content {
  max-width: 720px;
}
.blog-content p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-inv-2);
  margin-bottom: 24px;
}
.blog-content .lead {
  font-size: 18px;
  color: var(--text-inv-1);
  line-height: 1.7;
}
.blog-content h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 56px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.blog-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-inv-1);
  margin-top: 40px;
  margin-bottom: 14px;
  line-height: 1.3;
}
.blog-content strong {
  color: var(--text-inv-1);
  font-weight: 600;
}
.blog-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.blog-content a:hover { color: #e74c3c; }
.blog-content ul,
.blog-content ol {
  margin: 0 0 24px 20px;
  color: var(--text-inv-2);
  font-size: 16.5px;
  line-height: 1.75;
}
.blog-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.blog-content li::marker {
  color: var(--red);
}
.blog-content blockquote {
  border-left: 3px solid var(--red);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--red-dim);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.blog-content blockquote p {
  color: var(--text-inv-1);
  margin-bottom: 0;
  font-style: italic;
}
.blog-content hr {
  border: none;
  border-top: 1px solid var(--border-dark);
  margin: 48px 0;
}
.blog-content code {
  font-family: var(--mono);
  font-size: 14px;
  background: rgba(255,255,255,0.06);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--text-inv-1);
}

/* ===========================
   BLOG INLINE IMAGE
   =========================== */
.blog-inline-img {
  float: right;
  width: 320px;
  margin: 6px 0 24px 32px;
}
.blog-inline-img img {
  width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--border-dark);
}
@media (max-width: 600px) {
  .blog-inline-img {
    float: none;
    width: 100%;
    margin: 0 0 24px 0;
  }
}

/* ===========================
   BLOG HERO IMAGE
   =========================== */
.blog-hero-img {
  margin: 0 auto;
  max-width: 720px;
  padding: 48px 0 0;
}
.blog-hero-img img {
  width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--border-dark);
}
.blog-hero-img figcaption {
  font-size: 12px;
  color: var(--text-inv-3);
  margin-top: 10px;
  font-style: italic;
}

/* ===========================
   BLOG OWASP LIST
   =========================== */
.owasp-item {
  margin-bottom: 20px;
}
.owasp-item strong {
  color: #fff;
}
.owasp-id {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.05em;
}

/* ===========================
   BLOG COMPARISON TABLE
   =========================== */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
  line-height: 1.6;
}
.blog-content thead th {
  background: var(--dark-3);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--red);
}
.blog-content thead th:first-child {
  border-radius: var(--r-sm) 0 0 0;
}
.blog-content thead th:last-child {
  border-radius: 0 var(--r-sm) 0 0;
}
.blog-content tbody td {
  padding: 12px 16px;
  color: var(--text-inv-2);
  border-bottom: 1px solid var(--border-dark);
  vertical-align: top;
}
.blog-content tbody tr:hover td {
  background: rgba(255,255,255,0.02);
}
.blog-content tbody td:first-child {
  color: var(--text-inv-1);
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .blog-content table { font-size: 12px; }
  .blog-content thead th,
  .blog-content tbody td { padding: 8px 10px; }
  .blog-content tbody td:first-child { white-space: normal; }
}

/* ===========================
   BLOG CTA BAND
   =========================== */
.blog-cta {
  border-top: 1px solid var(--border-dark);
  padding: 48px 0;
}
.blog-cta-inner {
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.blog-cta-text {
  font-size: 15px;
  color: var(--text-inv-2);
  font-style: italic;
  max-width: 520px;
  line-height: 1.6;
}

/* ===========================
   BLOG RELATED POSTS
   =========================== */
.related {
  background: var(--dark-2);
  border-top: 1px solid var(--border-dark);
  padding: 72px 0;
}
.related-label {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.related-card {
  background: var(--dark-3);
  border: 1px solid var(--border-dark);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.related-card:hover {
  border-color: var(--red-border);
  transform: translateY(-2px);
}
.related-card-tag {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.related-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}
.related-card-excerpt {
  font-size: 14px;
  color: var(--text-inv-2);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-meta {
  font-size: 12px;
  color: var(--text-inv-2);
}

/* ===========================
   COMING SOON PAGE
   =========================== */
body.coming-soon {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  height: 100%;
}
body.coming-soon html { height: 100%; }

.cs-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cs-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.cs-bg-glow-left {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.07) 0%, transparent 70%);
  top: -200px;
  left: -200px;
}
.cs-bg-glow-right {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.05) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
}
.cs-hero-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 40%, transparent 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 40%, transparent 100%);
}
@media (max-width: 768px) { .cs-hero-img { display: none; } }

.cs-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 680px;
  width: 100%;
  animation: csFadeUp 0.6s ease both;
}

@keyframes csFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.cs-eyebrow::before,
.cs-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}
.cs-logo {
  display: block;
  margin: 0 auto 40px;
  height: 52px;
  width: auto;
  opacity: 0.92;
}

.cs-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-inv-1);
  margin-bottom: 24px;
}
.cs-title em {
  font-style: normal;
  color: var(--red);
}

.cs-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-inv-2);
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cs-divider {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 40px;
  opacity: 0.6;
}

.cs-contact-line {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-inv-3);
  margin-bottom: 12px;
}

.cs-contact-email {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-inv-1);
  text-decoration: none;
  border-bottom: 1px solid rgba(192,57,43,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.cs-contact-email:hover {
  color: var(--light-1);
  border-color: var(--red);
}

.cs-footer {
  position: fixed;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-inv-3);
}

@media (max-width: 480px) {
  body.coming-soon { overflow: auto; }
  .cs-content { padding: 80px 24px; }
}
