/* =============================================
   MGI — Hi-Tech Dark Design System
   Color system derived from brand logo:
   Primary hue ≈ 336° (berry-crimson #8B1A4A)
   Accent on dark: #e0285a (same hue, +L +S)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── VARIABLES ─────────────────────────────── */
:root {
  /* Backgrounds — near-black, warm undertone matching logo hue */
  --bg-0:        #06010a;
  --bg-1:        #0d0315;
  --bg-2:        #14071e;
  --bg-3:        #1d0b28;

  /* Primary accent — logo hue (336°) boosted for dark-bg legibility */
  --rose:        #e0285a;
  --rose-dim:    rgba(224, 40, 90, 0.12);
  --rose-border: rgba(224, 40, 90, 0.2);
  --rose-glow:   rgba(224, 40, 90, 0.4);

  /* Status / active — warm amber, complements crimson */
  --amber:       #ffa040;

  /* Text — near-white with the faintest warm rose tint */
  --text-1:      #f5e8ed;
  --text-2:      #b08898;
  --text-3:      #8a6070;

  --border:      rgba(224, 40, 90, 0.1);
  --nav-h:       68px;
}

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.65;
  padding-top: var(--nav-h);
  overflow-x: hidden;
  animation: pageIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* ── NAV ───────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 1, 10, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

#main-nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-border) 40%, var(--rose-border) 60%, transparent);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

#main-nav.scrolled {
  background: rgba(6, 1, 10, 0.97);
  border-bottom-color: var(--rose-border);
  box-shadow: 0 4px 48px rgba(0, 0, 0, 0.7);
}

#main-nav.scrolled::after { opacity: 1; }

/* Nav logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
  border-radius: 4px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
  letter-spacing: 0.04em;
}

.nav-logo-sub {
  font-size: 9px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 11px;
  border-radius: 4px;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rose);
  background: var(--rose-dim);
}

.nav-links a.nav-cta {
  background: var(--rose);
  color: #fff;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.nav-links a.nav-cta:hover {
  background: #ff3d70;
  box-shadow: 0 0 20px rgba(224, 40, 90, 0.35);
  color: #fff;
}

.lang-li { margin-left: 6px; }

.lang-btn {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: var(--rose) !important;
  border: 1.5px solid var(--rose) !important;
  border-radius: 4px !important;
  padding: 5px 12px !important;
  opacity: 1;
  transition: background 0.2s, box-shadow 0.2s !important;
  background: rgba(224, 40, 90, 0.08) !important;
}

.lang-btn:hover {
  background: var(--rose-dim) !important;
  box-shadow: 0 0 14px rgba(224, 40, 90, 0.3) !important;
  color: var(--rose) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

#main-nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#main-nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#main-nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  z-index: 1;
}


.hero-inner {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Hero full-width panel */
.hero-content {
  min-height: calc(100vh - var(--nav-h));
  padding: 96px 72px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
  position: relative;
  background: linear-gradient(135deg, #06010a 0%, #0d0315 55%, #14071e 100%);
  overflow: hidden;
}

/* Left: narrative column */
.hero-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Right: wireframe + metrics column */
.hero-right {
  flex: 0 0 auto;
  width: clamp(280px, 42vw, 540px);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(224, 40, 90, 0.18);
  padding-left: clamp(28px, 3vw, 48px);
  position: relative;
  z-index: 1;
}

/* Wireframe sketch image */
.hero-wireframe {
  margin-bottom: 28px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-wireframe img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  opacity: 0.82;
}

/* Metrics row — horizontal under the image */
.hero-metrics {
  display: flex;
  border-top: 1px solid rgba(224, 40, 90, 0.18);
  padding-top: 22px;
}

.hero-metrics .hero-metric {
  flex: 1;
  padding: 0 18px 0 0;
  border-bottom: none;
  border-right: 1px solid rgba(224, 40, 90, 0.08);
}

.hero-metrics .hero-metric:last-child {
  border-right: none;
  padding-right: 0;
}

.hero-metrics .hero-metric + .hero-metric {
  padding-left: 18px;
}

/* keep the rule but it's now only for bare .hero-metric outside .hero-metrics */
.hero-metric {
  padding: 28px 0;
  border-bottom: 1px solid rgba(224, 40, 90, 0.08);
}
.hero-metric:first-child { padding-top: 0; }
.hero-metric:last-child  { border-bottom: none; padding-bottom: 0; }

.metric-num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--rose);
  text-shadow: 0 0 18px rgba(224, 40, 90, 0.45);
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.45;
}

/* Particle canvas — lives inside hero-content, behind all text */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Colour mesh layer 1 — drifts slowly across the panel */
.hero-content::before {
  content: '';
  position: absolute;
  inset: -30%;           /* oversized: gives translate buffer inside overflow:hidden */
  background:
    radial-gradient(ellipse 44% 38% at 78% 22%, rgba(139, 26, 74, 0.42) 0%, transparent 55%),
    radial-gradient(ellipse 36% 44% at 18% 82%, rgba(80, 10, 45, 0.28) 0%, transparent 52%);
  pointer-events: none;
  z-index: -1;
  will-change: transform;
  animation: meshFloat1 24s ease-in-out infinite alternate;
}

/* Colour mesh layer 2 — different drift speed + gentle opacity pulse */
.hero-content::after {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(ellipse 54% 46% at 22% 78%, rgba(224, 40, 90, 0.36) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
  will-change: transform, opacity;
  animation: meshFloat2 18s ease-in-out infinite alternate, orbPulse 9s ease-in-out infinite alternate;
}

@keyframes meshFloat1 {
  0%   { transform: translate(0,    0); }
  35%  { transform: translate(6%,   8%); }
  70%  { transform: translate(-4%,  11%); }
  100% { transform: translate(9%,  -3%); }
}

@keyframes meshFloat2 {
  0%   { transform: translate(0,    0); }
  45%  { transform: translate(-7%, -5%); }
  100% { transform: translate(8%,   9%); }
}

@keyframes orbPulse {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}

.hero-content > * { position: relative; z-index: 1; }

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  background: rgba(224, 40, 90, 0.08);
  border: 1px solid rgba(224, 40, 90, 0.24);
  border-radius: 40px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 30px;
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 160, 64, 0.7), 0 0 16px rgba(255, 160, 64, 0.3);
  animation: pulseDot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.6); }
}

/* Hero brand row */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 32px;
}

.hero-logo {
  height: 100px;
  width: auto;
  flex-shrink: 0;
  /* Let the logo's own crimson read naturally — no filter */
  filter: drop-shadow(0 4px 24px rgba(139, 26, 74, 0.3));
}

.hero-wordmark {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hw-main {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 84px);
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hw-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 2vw, 28px);
  color: var(--text-2);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Hero title */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.accent-word {
  color: var(--rose);
  text-shadow: 0 0 28px rgba(224, 40, 90, 0.45), 0 0 56px rgba(224, 40, 90, 0.18);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-body {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(224, 40, 90, 0.12);
  padding-top: 28px;
  margin-bottom: 36px;
}

.stat-item { padding-right: 16px; }

.stat-item + .stat-item {
  border-left: 1px solid rgba(224, 40, 90, 0.1);
  padding-left: 16px;
}

.stat-num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--rose);
  text-shadow: 0 0 18px rgba(224, 40, 90, 0.5), 0 0 36px rgba(224, 40, 90, 0.22);
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-1);
  margin-top: 7px;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}

.stat-desc {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.45;
}

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--rose);
  color: #fff;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s;
}

.btn-primary:hover {
  background: #ff3d70;
  box-shadow: 0 0 28px rgba(224, 40, 90, 0.45);
  transform: translateY(-1px);
}

.btn-primary:hover::after { left: 160%; }

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid rgba(224, 40, 90, 0.24);
}

.btn-ghost:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: var(--rose-dim);
  box-shadow: 0 0 16px rgba(224, 40, 90, 0.12);
  transform: translateY(-1px);
}

/* Hero image panel (right) */
.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transform-origin: center center;
  will-change: transform;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,1,10,0.7) 0%, rgba(6,1,10,0.22) 30%, transparent 60%),
    linear-gradient(to top, rgba(6,1,10,0.55) 0%, transparent 45%);
  z-index: 2;
  pointer-events: none;
}

/* Slow golden light ray sweeping across the solar panel photo */
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    transparent 0%,
    transparent 25%,
    rgba(255, 190, 80, 0.04) 34%,
    rgba(255, 215, 130, 0.13) 50%,
    rgba(255, 190, 80, 0.04) 66%,
    transparent 75%,
    transparent 100%
  );
  animation: solarSweep 17s ease-in-out infinite;
}

@keyframes solarSweep {
  0%   { transform: translateX(-140%); opacity: 0; }
  7%   { opacity: 1; }
  87%  { opacity: 1; }
  100% { transform: translateX(140%); opacity: 0; }
}

/* HUD data readout */
.hero-img-hud {
  position: absolute;
  bottom: 28px;
  right: 20px;
  z-index: 3;
  background: rgba(6, 1, 10, 0.84);
  border: 1px solid rgba(224, 40, 90, 0.22);
  border-radius: 6px;
  padding: 14px 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-width: 190px;
}

.hero-img-hud::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 12px; height: 12px;
  border-top: 1.5px solid var(--rose);
  border-left: 1.5px solid var(--rose);
  pointer-events: none;
  opacity: 0.7;
}

.hero-img-hud::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 12px; height: 12px;
  border-bottom: 1.5px solid var(--rose);
  border-right: 1.5px solid var(--rose);
  pointer-events: none;
  opacity: 0.7;
}

.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 3px 0;
}

.hud-row + .hud-row {
  border-top: 1px solid rgba(224, 40, 90, 0.08);
  margin-top: 5px;
  padding-top: 7px;
}

.hud-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.hud-value {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  color: var(--text-1);
  white-space: nowrap;
}

.hud-value.is-active {
  color: var(--amber);
  text-shadow: 0 0 10px rgba(255, 160, 64, 0.5);
  animation: hudBlink 3s ease-in-out infinite;
}

@keyframes hudBlink {
  0%, 88%, 100% { opacity: 1; }
  94%            { opacity: 0.35; }
}

/* Crosshair corner markers */
.hero-crosshair {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 4;
}

.hero-crosshair::before,
.hero-crosshair::after {
  content: '';
  position: absolute;
  background: var(--rose);
  opacity: 0.3;
}

.crosshair-tl { top: 16px; left: 16px; }
.crosshair-tl::before { top: 0; left: 0; width: 2px; height: 14px; }
.crosshair-tl::after  { top: 0; left: 0; width: 14px; height: 2px; }

.crosshair-br { bottom: 16px; right: 16px; }
.crosshair-br::before { bottom: 0; right: 0; width: 2px; height: 14px; }
.crosshair-br::after  { bottom: 0; right: 0; width: 14px; height: 2px; }


/* ── SECTORS SECTION ───────────────────────── */
.sectors-section {
  background: var(--bg-1);
  background-image: radial-gradient(circle, rgba(224, 40, 90, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  padding: 96px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
  opacity: 0.75;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.025em;
  line-height: 1.12;
}

/* Cards grid */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sector-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
}

/* Corner tick — top-left */
.sector-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 18px; height: 18px;
  border-top: 1.5px solid var(--rose);
  border-left: 1.5px solid var(--rose);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.sector-card:hover {
  border-color: rgba(224, 40, 90, 0.42);
  box-shadow:
    0 0 40px rgba(224, 40, 90, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 40px rgba(224, 40, 90, 0.03);
  transform: translateY(-3px);
}

.sector-card:hover::before { opacity: 0.6; }

/* Top shimmer on hover */
.card-shine {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.sector-card:hover .card-shine { opacity: 0.6; }

/* Card icon */
.sector-icon {
  width: 46px;
  height: 46px;
  background: rgba(224, 40, 90, 0.07);
  border: 1px solid rgba(224, 40, 90, 0.16);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--rose);
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.sector-card:hover .sector-icon {
  background: rgba(224, 40, 90, 0.13);
  border-color: rgba(224, 40, 90, 0.32);
  box-shadow: 0 0 16px rgba(224, 40, 90, 0.18);
}

.sector-icon svg {
  width: 22px;
  height: 22px;
}

.sector-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.sector-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 22px;
}

.card-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rose);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  transition: opacity 0.2s, gap 0.2s;
}

.card-link:hover { opacity: 1; gap: 10px; }


/* ── FOOTER ────────────────────────────────── */
footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  position: relative;
  z-index: 1;
  color: var(--text-2);
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 40, 90, 0.32) 35%, rgba(224, 40, 90, 0.32) 65%, transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  border-radius: 4px;
  opacity: 0.85;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  opacity: 0.8;
  transition: color 0.2s, opacity 0.2s;
}

.footer-col ul li a:hover {
  color: var(--rose);
  opacity: 1;
}

.footer-col p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}

.footer-email {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
  opacity: 0.8;
  transition: color 0.2s, opacity 0.2s;
}

.footer-email:hover {
  color: var(--rose);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-2);
  gap: 24px;
}


/* ── SCROLL REVEAL ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 960px) {
  #main-nav { padding: 0 24px; }
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 1, 10, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    padding: 8px 0 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
  }

  #main-nav.nav-open .nav-links { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 0;
    border-bottom: 1px solid rgba(224, 40, 90, 0.06);
  }

  .nav-links a.nav-cta {
    background: none;
    color: var(--rose) !important;
    box-shadow: none;
  }

  .lang-li { margin-left: 0; }
  .lang-btn { margin: 8px 24px !important; display: inline-block; }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 24px 56px;
    gap: 40px;
  }
  .hero-right {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(224, 40, 90, 0.18);
    padding-left: 0;
    padding-top: 32px;
  }
  .hero-wireframe { margin-bottom: 20px; }
  .hero-metrics { padding-top: 18px; }
  .hero-metrics .hero-metric { padding: 0 12px 0 0; }
  .hero-metrics .hero-metric + .hero-metric { padding-left: 12px; }
  .hero-logo { height: 72px; }
  .hero-brand { gap: 14px; margin-bottom: 24px; }

  .sectors-section { padding: 64px 0; }
  .sectors-grid { grid-template-columns: 1fr; gap: 16px; }

  .diff-section { padding: 64px 0; }
  .diff-grid { grid-template-columns: 1fr; }

  .cta-banner { padding: 56px 0; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .cta-banner-actions { flex-wrap: wrap; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .container { padding: 0 24px; }
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    border-left: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-top: 1px solid rgba(224, 40, 90, 0.08);
    padding-top: 16px;
  }

  .stat-item:first-child {
    border-top: none;
    padding-top: 0;
  }

  .hero-img-hud { display: none; }
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
  .footer-bottom { font-size: 11px; }
}

/* ── COMPAT SHIMS (old var names → new) ──────── */
:root {
  --crimson:       var(--rose);
  --crimson-light: var(--bg-3);
  --text-muted:    var(--text-2);
  --white:         var(--bg-1);
  --text:          var(--text-1);
}

/* ── SECTION BACKGROUNDS ─────────────────────── */
.section-white { background: var(--bg-1); padding: 80px 0; }
.section-off   { background: var(--bg-2); padding: 80px 0; }
.section-dark  { background: var(--bg-3); padding: 80px 0; }

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  background-color: var(--bg-3);
  background-image: radial-gradient(circle, rgba(224,40,90,0.20) 1px, transparent 1px);
  background-size: 52px 52px;
  padding: calc(var(--nav-h) + 64px) 0 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(224,40,90,0.30);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(ellipse 55% 48% at 22% 60%, rgba(224,40,90,0.32) 0%, transparent 58%),
    radial-gradient(ellipse 42% 38% at 80% 18%, rgba(139,26,74,0.20) 0%, transparent 55%);
  pointer-events: none;
  will-change: transform;
  animation: meshFloat1 28s ease-in-out infinite alternate;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,40,90,0.35) 50%, transparent);
  pointer-events: none;
  z-index: 2;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--text-1);
  line-height: 1.15;
  margin: 16px 0 20px;
}
.page-hero p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.75;
}

/* ── EYEBROW & SECTION TITLE ─────────────────── */
.section-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
  display: block;
}
.section-eyebrow.light { color: var(--rose); }
.section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--text-1);
  line-height: 1.2;
  margin-bottom: 24px;
}
.section-title.light  { color: var(--text-1); }
.section-title.crimson { color: var(--rose); }

/* ── LEAD TEXT ───────────────────────────────── */
.lead {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.lead strong { color: var(--text-1); font-weight: 600; }

/* ── TWO-COL LAYOUT ──────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.top { align-items: start; }
.two-col.reverse > *:first-child { order: 2; }
.two-col.reverse > *:last-child  { order: 1; }
.col-image { border-radius: 12px; overflow: hidden; }
.col-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--rose-border);
}

/* ── BUTTON VARIANTS ─────────────────────────── */
.btn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--rose-border);
  color: var(--text-1);
  background: transparent;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  letter-spacing: 0.03em;
}
.btn-outline:hover { border-color: var(--rose); color: var(--rose); background: var(--rose-dim); }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid rgba(245,232,237,0.25);
  color: var(--text-1);
  background: transparent;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  letter-spacing: 0.03em;
}
.btn-outline-white:hover { border-color: var(--rose); color: var(--rose); background: var(--rose-dim); }

/* ── VALUE CARDS ─────────────────────────────── */
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.value-card {
  background: var(--bg-2);
  border: 1px solid var(--rose-border);
  border-radius: 10px;
  padding: 32px;
}
.value-card h4 { font-size: 17px; color: var(--rose); margin-bottom: 12px; }
.value-card p  { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── SECTOR CARDS – inner page variant ───────── */
.sector-num {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--rose-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.sector-num svg { width: 22px; height: 22px; stroke: var(--rose); }
.sector-body h3 { font-size: 20px; color: var(--text-1); margin-bottom: 12px; }
.sector-body p  { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
.sector-body ul { padding-left: 18px; color: var(--text-2); font-size: 14px; line-height: 1.9; }
.sector-body ul li::marker { color: var(--rose); }

/* ── PORTFOLIO COLS ──────────────────────────── */
.portfolio-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-col {
  background: var(--bg-2);
  border: 1px solid var(--rose-border);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.portfolio-col h3 { font-size: 18px; color: var(--text-1); }
.portfolio-col p  { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.portfolio-col-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--rose-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-col-icon svg { width: 22px; height: 22px; stroke: var(--rose); fill: none; stroke-width: 1.5; }
.focus-tag { font-weight: 700; color: var(--rose); }

/* ── PHILOSOPHY STEPS ────────────────────────── */
.philosophy-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.step { background: var(--bg-2); border: 1px solid var(--rose-border); border-radius: 10px; padding: 28px; }
.step-num  { font-family: 'Space Mono', monospace; font-size: 28px; color: var(--rose); line-height: 1; margin-bottom: 16px; }
.step-title { font-size: 16px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.step-desc  { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── PULL QUOTE ──────────────────────────────── */
.pull-quote {
  border-left: 3px solid var(--rose);
  padding: 16px 24px;
  margin: 40px 0;
  font-size: 18px;
  color: var(--text-1);
  font-style: italic;
  background: var(--bg-2);
  border-radius: 0 8px 8px 0;
}

/* ── HIGHLIGHT BOX ───────────────────────────── */
.highlight-box {
  background: var(--bg-2);
  border: 1px solid var(--rose-border);
  border-left: 3px solid var(--rose);
  border-radius: 0 10px 10px 0;
  padding: 24px 28px;
  margin: 24px 0;
}
.highlight-box p  { font-size: 15px; color: var(--text-2); line-height: 1.7; margin: 0; }
.highlight-box strong { color: var(--text-1); }

/* ── CONTACT CARDS ───────────────────────────── */
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--rose-border);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rose);
  margin-bottom: 8px;
}
.contact-card-head svg {
  width: 16px; height: 16px;
  stroke: var(--rose); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.contact-card p, .contact-card a { font-size: 14px; color: var(--text-2); text-decoration: none; line-height: 1.5; }
.contact-card a:hover { color: var(--rose); }

/* ── CONTACT FORM ────────────────────────────── */
.contact-form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--rose-border);
  border-radius: 12px;
  padding: 40px;
  margin-top: 48px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: span 2; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-1);
  background: var(--bg-1);
  border: 1.5px solid var(--rose-border);
  border-radius: 6px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--rose); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select option { background: var(--bg-1); }
.form-note { font-size: 12px; color: var(--text-3); margin-top: 12px; }

/* ── GALLERY SLIDER ──────────────────────────── */
.gallery-slider { margin-top: 24px; }
.slider-outer  { position: relative; }
.slider-viewport { overflow: hidden; cursor: default; }
.slider-track {
  display: flex;
  gap: 10px;
  align-items: stretch;
  will-change: transform;
}
.slide-wrap {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--rose-border);
}
.slide-wrap img {
  display: block;
  height: 380px;
  width: auto;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.slide-wrap:hover img { transform: scale(1.05); }
.slide-wrap::after {
  content: attr(data-loc);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 16px 14px;
  background: linear-gradient(transparent, rgba(6,1,10,0.80));
  color: var(--text-2);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}
.slide-wrap:hover::after { transform: translateY(0); }
.slider-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: none;
  border: 1px solid var(--rose-border);
  color: var(--text-mid, var(--text-2));
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.slider-toggle:hover { border-color: var(--rose); color: var(--rose); }

/* ── DIFFERENTIATORS SECTION ─────────────────── */
.diff-section {
  background: var(--bg-0);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 56px;
}

.diff-card {
  background: var(--bg-1);
  padding: 40px 32px;
  transition: background 0.3s;
}

.diff-card:hover { background: var(--bg-2); }

.diff-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.14em;
  opacity: 0.55;
  margin-bottom: 22px;
}

.diff-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.diff-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── CTA BANNER ──────────────────────────────── */
.cta-banner {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(224, 40, 90, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
}

.cta-banner-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.cta-banner-text p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ── FOCUS VISIBLE ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── INNER PAGE RESPONSIVE ────────────────────── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse > *:first-child { order: unset; }
  .two-col.reverse > *:last-child  { order: unset; }
  .value-cards        { grid-template-columns: 1fr; }
  .philosophy-steps   { grid-template-columns: 1fr 1fr; }
  .portfolio-cols     { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section-white,
  .section-off,
  .section-dark  { padding: 56px 0; }
  .philosophy-steps  { grid-template-columns: 1fr; }
  .form-grid         { grid-template-columns: 1fr; }
  .form-field.full   { grid-column: span 1; }
  .contact-form-wrap { padding: 24px; }
}
