/* ═══════════════════════════════════════════
   EveryDesign — Main Stylesheet
   Colour system: Navy #16263b / Amber #f0aa24
   Fonts: Space Grotesk (body) / Syne (display)
   ═══════════════════════════════════════════ */

:root {
  --navy:        #16263b;
  --navy-dark:   #0d1a2a;
  --navy-mid:    #1e3452;
  --navy-light:  #253f5e;
  --amber:       #f0aa24;
  --amber-dark:  #cf8f12;
  --amber-glow:  rgba(240, 170, 36, 0.15);
  --bg:          #f4f7fb;
  --bg-alt:      #edf1f7;
  --panel:       #ffffff;
  --text:        #1a2840;
  --text-muted:  #5a6a82;
  --border:      #d9e4f0;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 8px rgba(22, 38, 59, 0.08);
  --shadow:      0 8px 30px rgba(22, 38, 59, 0.12);
  --shadow-lg:   0 20px 60px rgba(22, 38, 59, 0.18);
  --trans:       all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font:        'Space Grotesk', system-ui, sans-serif;
  --font-display:'Syne', system-ui, sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Utilities ─── */
.container {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.accent { color: var(--amber); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy-dark);
}
.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 170, 36, 0.35);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}
.btn-light:hover {
  background: var(--amber);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 170, 36, 0.3);
}
.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}
.btn-ghost-light:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* ─── Section helpers ─── */
.section { padding-block: clamp(4rem, 8vw, 7rem); }

.section-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head.light .section-tag,
.section-head.light .section-title,
.section-head.light .section-sub { color: #fff; }
.section-head.light .section-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  background: var(--amber-glow);
  color: var(--amber-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-head.light .section-title { color: #fff; }
.section-title.left { text-align: left; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: 1rem;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.site-header.scrolled {
  background: rgba(13, 26, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  padding-block: 0.65rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--trans);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-link.active { color: var(--amber); }
.nav-link.nav-cta {
  background: var(--amber);
  color: var(--navy-dark);
  font-weight: 700;
  margin-left: 0.5rem;
}
.nav-link.nav-cta:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240,170,36,0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--trans);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,170,36,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,170,36,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-drift 12s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(22,38,59,0.8) 0%, rgba(30,52,82,0.4) 60%, transparent 100%);
  top: -150px; right: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,170,36,0.12) 0%, transparent 70%);
  bottom: -50px; left: -100px;
  animation-delay: -4s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(31,95,155,0.15) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation-delay: -8s;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  width: min(1180px, 100%);
  padding: 7rem clamp(1.25rem, 5vw, 3rem) 5rem;
}

.hero-text {
  flex: 1 1 0;
  min-width: 0;
}

.hero-visual {
  flex: 0 0 clamp(260px, 38vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-rocket {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  /* subtle entrance */
  animation: rocketEntrance 1s 0.5s ease both;
}

@keyframes rocketEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  background: rgba(240,170,36,0.15);
  border: 1px solid rgba(240,170,36,0.3);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s ease both;
}
.hero-text .hero-title   { text-align: left; }
.hero-text .hero-sub     { text-align: left; margin-inline: 0; }
.hero-text .hero-actions { justify-content: flex-start; }
.hero-text .hero-stats   { justify-content: flex-start; }
.hero-badge::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s 0.1s ease both;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: fade-up 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  animation: fade-up 0.8s 0.3s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.8s 0.4s ease both;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.4);
  animation: bounce 2s ease infinite;
}
.hero-scroll svg { width: 28px; height: 28px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   HERO ENHANCEMENTS — stars, shooting stars, spaceman
   ═══════════════════════════════════════════ */

/* Deep star field */
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hs {
  position: absolute;
  left: var(--x);
  top:  var(--y);
  width:  var(--r);
  height: var(--r);
  background: #fff;
  border-radius: 50%;
  animation: hsTwinkle var(--d, 3s) var(--dl, 0s) ease-in-out infinite;
  box-shadow: 0 0 calc(var(--r) * 2) rgba(255,255,255,0.7);
}
@keyframes hsTwinkle {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%       { opacity: 0.08; transform: scale(0.5); }
}

/* Shooting stars */
.hero-shooting-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ss {
  position: absolute;
  top:  var(--t);
  left: var(--l);
  width: var(--w, 100px);
  height: 1.5px;
  background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.92) 40%, rgba(255,255,255,0.6) 70%, transparent 100%);
  border-radius: 3px;
  transform: rotate(-38deg);
  animation: shoot var(--d, 5s) var(--dl, 0s) ease-in infinite;
  opacity: 0;
}
.ss::after {
  content: '';
  position: absolute;
  right: 0; top: -0.5px;
  width: 6px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 6px 2px rgba(240,200,100,0.7);
}
@keyframes shoot {
  0%   { opacity: 0;   transform: rotate(-38deg) translateX(0); }
  3%   { opacity: 1; }
  22%  { opacity: 0;   transform: rotate(-38deg) translateX(600px); }
  100% { opacity: 0;   transform: rotate(-38deg) translateX(600px); }
}

/* Spaceman */
.hero-spaceman {
  position: absolute;
  z-index: 1;
  top:   10%;
  right:  6%;
  width:  110px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--trans);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240,170,36,0.3);
}
.service-card:hover .service-icon { background: var(--amber); }
.service-card:hover .service-icon svg { stroke: var(--navy-dark); }

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--trans);
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--amber); }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════ */
.portfolio { background: var(--navy); }
.portfolio .section-sub { color: rgba(255,255,255,0.55); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
}
.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(240,170,36,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Fake browser preview */
.portfolio-preview {
  position: relative;
  background: hsl(var(--hue, 210), 30%, 12%);
  padding: 1.25rem;
}
.preview-frame {
  background: #1a1f2e;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.preview-dots {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: #0d1117;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.preview-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.preview-dots span:nth-child(1) { background: #ff5f56; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #27c93f; }

.preview-bar {
  height: 6px;
  margin: 8px 10px 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}
.preview-content { padding: 8px 10px 12px; }
.preview-hero-block {
  height: 55px;
  border-radius: 5px;
  background: linear-gradient(135deg,
    hsl(var(--hue, 210), 60%, 22%) 0%,
    hsl(var(--hue, 210), 40%, 15%) 100%);
  margin-bottom: 8px;
}
.preview-line {
  height: 5px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 5px;
}
.preview-line.w80 { width: 80%; }
.preview-line.w60 { width: 60%; }
.preview-blocks { display: flex; gap: 6px; margin-top: 8px; }
.preview-block {
  flex: 1;
  height: 28px;
  border-radius: 5px;
  background: linear-gradient(135deg,
    hsl(var(--hue, 210), 40%, 18%) 0%,
    hsl(var(--hue, 210), 25%, 14%) 100%);
}

.portfolio-label {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.portfolio-info { padding: 1.4rem; }
.portfolio-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  background: var(--amber-glow);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.portfolio-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.portfolio-info p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--amber);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--trans);
}
.portfolio-link svg { width: 14px; height: 14px; transition: var(--trans); }
.portfolio-link:hover { color: var(--amber-dark); }
.portfolio-link:hover svg { transform: translateX(3px); }

/* CTA card */
.portfolio-card--cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border: 1px dashed rgba(240,170,36,0.3);
  background: rgba(240,170,36,0.04);
}
.portfolio-card--cta:hover { border-color: rgba(240,170,36,0.6); }
.cta-card-inner { text-align: center; padding: 2rem; }
.cta-icon { margin: 0 auto 1rem; width: 48px; height: 48px; color: var(--amber); opacity: 0.6; }
.cta-icon svg { width: 48px; height: 48px; }
.cta-card-inner h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.5rem; }
.cta-card-inner p { color: rgba(255,255,255,0.45); font-size: 0.87rem; margin-bottom: 1.25rem; line-height: 1.6; }

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about { background: var(--bg-alt); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

/* .about-visual base styles moved below with orbit redesign */
.about-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.about-card-tag {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  background: var(--amber-glow);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1.5rem;
}
.about-card-stat { margin-bottom: 1.5rem; }
.big-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.about-card-stat span:last-child {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.about-card-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 1.25rem;
}
.about-card-body { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

.about-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.about-badge svg { width: 14px; height: 14px; stroke: var(--amber); }
/* badge positions moved to space redesign block below */

.about-text .section-tag { display: inline-block; margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; font-size: 0.97rem; }
.about-list {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}
.about-list li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  fill: var(--amber);
}

/* About visual — space redesign */
.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  padding: 2rem 2.5rem; /* room for floating badges */
}

/* Planet */
.about-planet {
  position: absolute;
  width: 115px;
  top: 2%;
  right: 8%;
  opacity: 0.7;
  z-index: 0;
  animation: aboutPlanetFloat 7s ease-in-out infinite;
}
@keyframes aboutPlanetFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(4deg); }
}

/* Orbital rings */
.about-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  top: 50%; left: 50%;
}
.about-orbit--1 {
  width: 270px; height: 270px;
  margin-top: -135px; margin-left: -135px;
  border: 1px dashed rgba(240,170,36,0.2);
  animation: orbitSpin 22s linear infinite;
}
.about-orbit--1::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber), 0 0 4px var(--amber);
  top: -4.5px; left: 50%;
  transform: translateX(-50%);
}
.about-orbit--2 {
  width: 400px; height: 400px;
  margin-top: -200px; margin-left: -200px;
  border: 1px solid rgba(31,95,155,0.2);
  animation: orbitSpin 38s linear infinite reverse;
}
.about-orbit--2::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5ba3d9;
  box-shadow: 0 0 10px #5ba3d9;
  top: -3px; left: 50%;
  transform: translateX(-50%);
}
@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

/* Card above rings */
.about-card { position: relative; z-index: 1; }

/* Fix badge positions — contained within padded visual */
.about-badge-1 { top: 8%; right: 0.75rem; }
.about-badge-2 { bottom: 8%; left: 0.75rem; }

/* ═══════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding-block: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,170,36,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,170,36,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 0.4rem;
}
.cta-band p { color: rgba(255,255,255,0.55); font-size: 1rem; }

/* ═══════════════════════════════════════════
   SERVICES — space decoration
   ═══════════════════════════════════════════ */
.services { position: relative; }
.deco-stars {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.55;
}
.deco--tl { top: -20px;  left: -20px;  width: 200px; transform: rotate(0deg); }
.deco--br { bottom: -20px; right: -20px; width: 180px; transform: rotate(180deg); }

/* ─── Portfolio preview: screenshot support ─── */
.preview-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #0a0f18;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.preview-dots { display: flex; gap: 5px; }
.preview-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.preview-dots span:nth-child(1) { background: #ff5f56; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #27c93f; }
.preview-url-bar {
  flex: 1;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.62rem;
  color: rgba(255,255,255,.38);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.preview-screen {
  position: relative;
  min-height: 155px;
  background: #111827;
  overflow: hidden;
}
.screenshot-img {
  display: none;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top center;
}
.preview-screen.has-screenshot .screenshot-img { display: block; }
.preview-screen.has-screenshot .preview-mock  { display: none; }
.preview-mock { padding: 10px 10px 12px; }

/* keep old mock element classes working */
.preview-hero-block {
  height: 55px;
  border-radius: 5px;
  background: linear-gradient(135deg,
    hsl(var(--hue,210), 60%, 20%) 0%,
    hsl(var(--hue,210), 40%, 13%) 100%);
  margin-bottom: 8px;
}
.preview-line {
  height: 5px; border-radius: 4px;
  background: rgba(255,255,255,.10); margin-bottom: 5px;
}
.preview-line.w80 { width: 80%; }
.preview-line.w60 { width: 60%; }
.preview-blocks { display: flex; gap: 6px; margin-top: 8px; }
.preview-block {
  flex: 1; height: 28px; border-radius: 5px;
  background: linear-gradient(135deg,
    hsl(var(--hue,210), 40%, 16%) 0%,
    hsl(var(--hue,210), 25%, 12%) 100%);
}

/* ─── About: planet deco ─── */
.about-planet {
  position: absolute;
  width: 130px;
  top: -40px;
  right: -30px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

/* ─── CTA band: star decos ─── */
.deco-cta--l {
  top: 50%; left: 0;
  width: 200px;
  transform: translateY(-50%);
  opacity: 0.45;
}
.deco-cta--r {
  top: 50%; right: 0;
  width: 200px;
  transform: translateY(-50%) scaleX(-1);
  opacity: 0.45;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 38px; width: auto; margin-bottom: 1rem; }
.footer-slogan {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
  margin-bottom: 0.25rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0;
}
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--trans);
}
.footer-socials a:hover { background: var(--amber); color: var(--navy-dark); }
.footer-socials svg { width: 16px; height: 16px; }

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1.1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--trans);
}
.footer-nav a:hover { color: var(--amber); }
.footer-contact p { font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 0.5rem; }
.footer-contact a { color: var(--amber); transition: var(--trans); }
.footer-contact a:hover { color: var(--amber-dark); }
.footer-contact .btn { margin-top: 1rem; }

/* Legal strip */
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 1.5rem;
}
.footer-legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal-copy p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.7;
}
.footer-legal-copy strong {
  font-weight: 600;
  color: rgba(255,255,255,0.38);
}
.footer-legal-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(240,170,36,0.35);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════
   INFRASTRUCTURE SECTION
   ═══════════════════════════════════════════ */
.infra {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.infra::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(240,170,36,0.04) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(31,95,155,0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* UK badge strip */
.infra-uk-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  margin-bottom: 2.5rem;
}
.uk-flag-icon svg { width: 60px; height: 40px; border-radius: 4px; display: block; }
.uk-strip-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.uk-strip-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.uk-strip-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.uk-strip-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.uk-stat { text-align: center; }
.uk-stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--amber);
  font-family: var(--font-display);
  line-height: 1;
}
.uk-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
  display: block;
}

/* Infrastructure cards grid */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.infra-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.infra-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(240,170,36,0.35), transparent);
  opacity: 0;
  transition: var(--trans);
}
.infra-card:hover {
  border-color: rgba(240,170,36,0.25);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.infra-card:hover::before { opacity: 1; }

.infra-card--highlight {
  border-color: rgba(240,170,36,0.2);
  background: rgba(240,170,36,0.04);
}
.infra-card--highlight::before { opacity: 0.6; }

.infra-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(240,170,36,0.12);
  border: 1px solid rgba(240,170,36,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--trans);
}
.infra-icon svg { width: 22px; height: 22px; stroke: var(--amber); }
.infra-card:hover .infra-icon {
  background: var(--amber);
  border-color: var(--amber);
}
.infra-card:hover .infra-icon svg { stroke: var(--navy-dark); }

.infra-card-body { flex: 1; }
.infra-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.infra-card-body p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}
.infra-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.infra-features span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(240,170,36,0.8);
  background: rgba(240,170,36,0.10);
  border: 1px solid rgba(240,170,36,0.2);
  border-radius: 20px;
  padding: 0.2rem 0.6rem;
  letter-spacing: 0.03em;
}

.infra-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(80,220,130,0.85);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: auto;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3de085;
  box-shadow: 0 0 6px #3de085;
  animation: statusPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 4px #3de085; }
  50%       { box-shadow: 0 0 10px #3de085, 0 0 4px #3de085; }
}

/* ═══════════════════════════════════════════
   INFRA SPACE DECORATIONS
   ═══════════════════════════════════════════ */
.infra-space-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.infra > .container { position: relative; z-index: 1; }

/* Radar scanner — right side */
.infra-radar {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
}
.infra-radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(61,224,133,0.15);
  animation: radarExpand 3.6s ease-out infinite;
}
.infra-radar-ring--2 { animation-delay: 1.2s; }
.infra-radar-ring--3 { animation-delay: 2.4s; }
@keyframes radarExpand {
  0%   { transform: scale(0.05); opacity: 1; }
  100% { transform: scale(1);    opacity: 0; }
}
.infra-radar-center {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(61,224,133,0.55);
  box-shadow: 0 0 20px rgba(61,224,133,0.45), 0 0 6px rgba(61,224,133,0.7);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: radarCorePulse 2.2s ease-in-out infinite;
}
@keyframes radarCorePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(61,224,133,0.4); }
  50%       { box-shadow: 0 0 28px rgba(61,224,133,0.75), 0 0 8px rgba(61,224,133,0.9); }
}

/* Satellite — top right */
.infra-satellite {
  position: absolute;
  top: 4%;
  right: 6%;
  opacity: 0.55;
  animation: satFloat 10s ease-in-out infinite;
}
.infra-sat-svg { width: 150px; height: 150px; }
@keyframes satFloat {
  0%, 100% { transform: translateY(0)   rotate(-6deg); }
  50%       { transform: translateY(-20px) rotate(6deg); }
}

/* Bot character — bottom left */
.infra-bot {
  position: absolute;
  bottom: 6%;
  left: 3%;
  opacity: 0.38;
  animation: botFloat 8s ease-in-out infinite 1.5s;
}
.infra-bot-svg { width: 90px; height: 112px; }
@keyframes botFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════
   CTA ROCKET
   ═══════════════════════════════════════════ */
.cta-rocket {
  position: absolute;
  right: 5%;
  bottom: -6px;
  pointer-events: none;
  z-index: 0;
  animation: rocketFloat 5s ease-in-out infinite;
}
.cta-rocket-svg { width: 90px; height: 202px; }
@keyframes rocketFloat {
  0%, 100% { transform: translateY(0)   rotate(-2deg); }
  50%       { transform: translateY(-18px) rotate(2deg); }
}
.cta-band-inner { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; min-height: 320px; padding: 1.5rem 1.75rem; }
  .about-orbit--1 { width: 220px; height: 220px; margin-top: -110px; margin-left: -110px; }
  .about-orbit--2 { width: 310px; height: 310px; margin-top: -155px; margin-left: -155px; }
  .about-badge-1 { top: 6%; right: 0.5rem; }
  .about-badge-2 { bottom: 6%; left: 0.5rem; }
  .about-planet { width: 90px; top: 0; right: 10%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .deco-cta--l, .deco-cta--r { display: none; }
  .infra-grid { grid-template-columns: 1fr 1fr; }
  .infra-uk-strip { gap: 1rem; }
  .uk-strip-divider { display: none; }
  .infra-satellite { right: 2%; top: 2%; }
  .infra-sat-svg { width: 110px; height: 110px; }
  .infra-bot { display: none; }
  .cta-rocket { right: 2%; }
  .hero-spaceman { width: 80px; top: 7%; right: 3%; }
}

@media (max-width: 860px) {
  .hero-content {
    flex-direction: column-reverse;
    padding-top: 6rem;
    text-align: center;
  }
  .hero-visual {
    flex: none;
    width: min(300px, 70vw);
    margin-top: 1rem;
  }
  .hero-text .hero-title,
  .hero-text .hero-sub   { text-align: center; margin-inline: auto; }
  .hero-text .hero-actions,
  .hero-text .hero-stats  { justify-content: center; }
}

@media (max-width: 640px) {
  .cta-rocket { display: none; }
  .infra-radar { display: none; }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
  .nav-link.nav-cta { margin-left: 0; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; position: relative; z-index: 1000; }

  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }

  .cta-band-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal-inner { text-align: center; justify-content: center; }
  .deco--tl, .deco--br { display: none; }
  .infra-grid { grid-template-columns: 1fr; }
  .infra-uk-strip { flex-direction: column; align-items: flex-start; }
  .hero-spaceman { width: 56px; top: 5%; right: 2%; }
  .ss { display: none; }
}
