/* Self-hosted fonts */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/space-mono-regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-mono-bold-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --bg: #060612;
  --surface: #0e0e1a;
  --surface-raised: #16162a;
  --border: rgba(255,255,255,0.06);
  --border-neon: rgba(245,166,35,0.3);
  --text-primary: #f0f0ff;
  --text-secondary: #8888aa;
  --text-tertiary: #555570;
  --neon-blue: #f5a623;
  --neon-purple: #ff7b00;
  --neon-pink: #ff4d00;
  --neon-green: #ffd700;
  --neon-teal: #ff7b00;
  --neon-glow: rgba(245,166,35,0.1);
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scanline overlay */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px
  );
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  background: rgba(6,6,16,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--neon-blue);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(245,166,35,0.4);
}
.nav-status {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
}
@media (min-width: 768px) { .nav-status { display: flex; } }
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
  animation: blink 2s infinite;
}
.nav-links {
  display: none;
  list-style: none;
  gap: 4px;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.nav-links a:hover {
  color: var(--neon-blue);
  border-color: var(--border-neon);
  background: var(--neon-glow);
}
.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 20px;
  background: transparent;
  color: var(--neon-blue);
  border: 1px solid var(--neon-blue);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  box-shadow: 0 0 12px rgba(245,166,35,0.1);
}
.nav-cta:hover {
  background: var(--neon-blue);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(0,200,255,0.3);
}

/* Nav dropdown */
.nav-dropdown { position: relative; }
.dropdown-arrow { font-size: 8px; margin-left: 2px; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  transition: all 0.15s;
}
.nav-dropdown-menu a:hover {
  color: var(--neon-blue);
  background: var(--neon-glow);
}

/* Mobile menu labels */
.mobile-menu-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-tertiary);
  padding: 4px 0;
}
.mobile-sub-link {
  padding-left: 12px !important;
  font-size: 13px !important;
}

/* Language switch */
.lang-switch {
  color: var(--neon-blue) !important;
  font-weight: 700 !important;
  border: 1px solid var(--neon-blue) !important;
  background: rgba(245,166,35,0.05) !important;
}
.lang-switch:hover {
  background: var(--neon-blue) !important;
  color: var(--bg) !important;
}

/* Mobile nav */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neon-blue);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: absolute;
  top: 56px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu.open { display: flex; }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }
.mobile-menu a {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.15s;
}
.mobile-menu a:hover { color: var(--neon-blue); }
.mobile-menu .nav-cta {
  text-align: center;
  padding: 12px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}
/* Engineering blueprint grid canvas */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.07) 1px, transparent 1px),
    linear-gradient(rgba(245,166,35,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.15) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 78%);
}
/* Origin axes */
.hero-grid::before, .hero-grid::after { content: ''; position: absolute; }
.hero-grid::before {
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(245,166,35,0.25), transparent);
}
.hero-grid::after {
  left: 0; right: 0; top: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.25), transparent);
}
/* Soft static horizon glow behind headline */
.hero-glow-1 {
  position: absolute;
  left: 50%; top: 45%;
  width: 760px; height: 420px;
  transform: translate(-50%, -50%);
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(245,166,35,0.12), rgba(255,123,0,0.05) 40%, transparent 70%);
  filter: blur(20px);
}
/* Coordinate readout ticks */
.hero-glow-2 {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-glow-2::before, .hero-glow-2::after {
  position: absolute;
  top: 78px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1px;
  color: rgba(245,166,35,0.35);
  white-space: pre;
}
.hero-glow-2::before { content: 'GRID // 40.0\A SCALE 1:1'; left: 28px; }
.hero-glow-2::after { content: 'LAT 40.4168\A LON -3.7038'; right: 28px; text-align: right; }
@media (max-width: 640px) { .hero-glow-2 { display: none; } }
.hero-split {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 48px;
  min-height: 85vh;
}

.hero-left { animation: fadeUp 0.8s ease-out both; }
.hero-right { animation: fadeUp 0.8s 0.2s ease-out both; }

.hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-blue);
  padding: 6px 16px;
  border: 1px solid rgba(245,166,35,0.2);
  margin-bottom: 20px;
  position: relative;
}
.hud-tag::before, .hud-tag::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border: 1px solid var(--neon-blue);
}
.hud-tag::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hud-tag::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hero h1 {
  font-size: clamp(36px, 10vw, 100px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(32px, 11vw, 56px);
  }
}
.hero h1 .neon { color: var(--neon-blue); text-shadow: 0 0 40px rgba(245,166,35,0.5); }
.hero h1 .purple { color: var(--neon-purple); text-shadow: 0 0 40px rgba(255,123,0,0.5); }

.hero-desc {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 24px auto 0;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
  justify-content: center;
}
@media (min-width: 480px) { .hero-btns { flex-direction: row; } }

.btn-neon {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 32px;
  border: 1px solid var(--neon-blue);
  background: rgba(0,200,255,0.05);
  color: var(--neon-blue);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-neon:hover {
  background: var(--neon-blue);
  color: var(--bg);
  box-shadow: 0 0 40px rgba(0,200,255,0.3);
}
.btn-neon.ghost {
  border-color: var(--border);
  color: var(--text-secondary);
  background: transparent;
}
.btn-neon.ghost:hover {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
  background: rgba(180,77,255,0.05);
}

/* Metrics card */
.metrics-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.metrics-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.08), transparent 70%);
  filter: blur(40px);
}
.metrics-header {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  position: relative;
}
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}
.metric-item {
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}
.metric-number {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.metric-number.blue { color: var(--neon-blue); text-shadow: 0 0 12px rgba(245,166,35,0.5); }
.metric-number.teal { color: var(--neon-green); text-shadow: 0 0 12px rgba(255,215,0,0.5); }
.metric-desc {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}
.metric-bar {
  margin-top: 12px;
  height: 3px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}
.metric-bar-fill {
  height: 100%;
  width: 0;
  transition: width 2s ease-out;
}
.metric-bar-fill.blue { background: var(--neon-blue); }
.metric-bar-fill.teal { background: var(--neon-green); }

/* HUD corner brackets */
.hud-corners { position: relative; }
.hud-corners::before, .hud-corners::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  z-index: 2;
}
.hud-corners::before {
  top: 0; left: 0;
  border-top: 2px solid var(--neon-blue);
  border-left: 2px solid var(--neon-blue);
}
.hud-corners::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--neon-blue);
  border-right: 2px solid var(--neon-blue);
}

/* ── SECTIONS ── */
section { padding: 64px 24px; position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--neon-blue);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: uppercase;
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 12px auto 0;
}

/* Neon divider */
.neon-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-green), transparent);
  opacity: 0.4;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.hud-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.hud-card:hover {
  border-color: var(--border-neon);
  box-shadow: 0 0 40px var(--neon-glow);
}
.hud-card .card-number {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hud-card h3 {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.hud-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.spec-list { display: flex; flex-direction: column; gap: 8px; }
.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}
.spec-dot {
  width: 6px; height: 6px;
  background: var(--neon-blue);
  box-shadow: 0 0 6px var(--neon-blue);
}
.spec-item.purple .spec-dot {
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
}

/* Load more services */
.service-hidden { display: none; }
.services-grid.is-expanded .service-hidden {
  display: block;
  order: 1;
  animation: fadeUp 0.5s ease-out both;
}
.services-more { text-align: center; margin-top: 32px; }

/* ── ABOUT ── */
.about-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .about-flex { grid-template-columns: 1fr 1fr; align-items: center; }
}
.about-text h3 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-text h3 .neon { color: var(--neon-blue); text-shadow: 0 0 16px rgba(245,166,35,0.4); }
.about-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--neon-blue), var(--neon-green));
  border-radius: 1px;
}
.timeline-item {
  position: relative;
  padding: 20px 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 28px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--neon-blue);
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px var(--neon-blue);
}
.timeline-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.timeline-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ── PORTFOLIO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid .pf-card:nth-child(1),
  .portfolio-grid .pf-card:nth-child(4) { grid-column: span 2; }
}
.pf-card {
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.pf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-green));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.pf-card:hover {
  border-color: var(--border-neon);
  box-shadow: 0 0 30px var(--neon-glow);
}
.pf-card:hover::before { opacity: 1; }
.pf-thumb {
  aspect-ratio: 4/3;
  position: relative;
}
.pf-bg { position: absolute; inset: 0; opacity: 0.8; }
.bg-1 { background: linear-gradient(135deg, #f5a623, #ff7b00); }
.bg-2 { background: linear-gradient(135deg, #ffd700, #f5a623); }
.bg-3 { background: linear-gradient(135deg, #ff7b00, #ff4d00); }
.bg-4 { background: linear-gradient(135deg, #f5a623, #ffd700); }
.bg-5 { background: linear-gradient(135deg, #ff4d00, #ff7b00); }
.bg-6 { background: linear-gradient(135deg, #ffd700, #f5a623); }
.pf-body { padding: 18px 20px; }
.pf-cat {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-blue);
}
.pf-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
}
.pf-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ── CONTACT ── */
.contact-center { max-width: 600px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 500px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 12px var(--neon-glow);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 32px;
  border: 1px solid var(--neon-blue);
  background: transparent;
  color: var(--neon-blue);
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-submit:hover {
  background: var(--neon-blue);
  color: var(--bg);
  box-shadow: 0 0 40px rgba(0,200,255,0.3);
}

/* ── BLOG POST ── */
.blog-post-header {
  padding: 120px 24px 48px;
  text-align: center;
}
.blog-post-header h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-top: 12px;
}
.blog-post-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.blog-post-content {
  max-width: 720px;
  padding: 0 24px 64px;
}
.blog-post-content h2 {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 48px 0 16px;
  color: var(--neon-blue);
}
.blog-post-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.blog-post-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.blog-post-content ul, .blog-post-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.blog-post-content li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.blog-post-content strong {
  color: var(--text-primary);
}
.blog-post-content blockquote {
  border-left: 3px solid var(--neon-blue);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--surface);
  font-style: italic;
  color: var(--text-secondary);
}
.blog-post-content code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--surface);
  padding: 2px 8px;
  border: 1px solid var(--border);
}
.blog-post-content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 20px;
}
.blog-post-content pre code {
  background: none;
  border: none;
  padding: 0;
}
.blog-post-footer {
  max-width: 720px;
  padding: 0 24px 64px;
}

/* Blog listing card */
.blog-card {
  display: block;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  margin-bottom: 16px;
}
.blog-card:hover {
  border-color: var(--border-neon);
  box-shadow: 0 0 30px var(--neon-glow);
}
.blog-card-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-blue);
}
.blog-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0;
}
.blog-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.blog-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Coming soon box */
.coming-soon-box {
  text-align: center;
  padding: 80px 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}

/* Case study result badge */
.case-study-result {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neon-blue);
  padding: 4px 12px;
  border: 1px solid rgba(245,166,35,0.2);
  margin-top: 12px;
}

/* Telegram CTA */
.telegram-cta {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.telegram-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 28px;
  border: 1px solid #2AABEE;
  color: #2AABEE;
  background: rgba(42,171,238,0.05);
  text-decoration: none;
  transition: all 0.2s;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-telegram:hover {
  background: #2AABEE;
  color: var(--bg);
  box-shadow: 0 0 30px rgba(42,171,238,0.3);
}
.telegram-icon { flex-shrink: 0; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links a:hover { color: var(--neon-blue); }

/* ── ANIMATIONS ── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes gridShift {
  from { transform: perspective(800px) rotateX(45deg) translateY(0); }
  to { transform: perspective(800px) rotateX(45deg) translateY(60px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal - disabled */
.reveal {
  opacity: 1;
  transform: none;
}

/* ── PARALLAX DEPTH ── */
.hud-tag,
.hero h1,
.hero-desc,
.hero-btns {
  will-change: transform;
}

/* 3D perspective on heading text */
.hero h1 {
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  position: relative;
  z-index: 5;
}

/* Enable gyro button (mobile only) */
.enable-gyro-btn {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 20px;
  border: 1px solid var(--neon-blue);
  background: rgba(245,166,35,0.1);
  color: var(--neon-blue);
  cursor: pointer;
  animation: blink 2s infinite;
}
@media (hover: none) and (pointer: coarse) {
  .enable-gyro-btn { display: block; }
}

/* Dynamic light overlay */
.hero-light-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at var(--light-x, 50%) var(--light-y, 50%),
    rgba(245,166,35,0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 10;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-raised); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-blue); }
::selection { background: rgba(245,166,35,0.2); color: white; }
