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

:root {
  --bg: #080a0f;
  --bg2: #0c0f17;
  --surface: #111520;
  --border: #1d2338;
  --ghost: #00e5ff;
  --ghost-dim: rgba(0, 229, 255, 0.08);
  --ghost-glow: rgba(0, 229, 255, 0.25);
  --white: #f0f4ff;
  --muted: #6b7a9e;
  --muted2: #3a4260;
  --accent2: #ff6b6b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

a,
button,
input,
textarea {
  cursor: auto;
}

/* CUSTOM CURSOR */
.cursor {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ghost);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
  box-shadow: 0 0 20px var(--ghost), 0 0 40px var(--ghost-glow);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.4);
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s, height 0.2s;
}

body:hover .cursor {
  opacity: 1;
}

a:hover~.cursor,
button:hover~.cursor {
  width: 20px;
  height: 20px;
}

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* NAV */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 900px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(8, 10, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: padding 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(8, 10, 15, 0.95);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    padding: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin-top: 10px;
    justify-content: center;
    gap: 16px;
  }
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-ghost {
  width: 28px;
  height: 28px;
  position: relative;
}

.logo-ghost svg {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ghost);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a:hover {
  color: var(--ghost);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--ghost);
  color: var(--ghost);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border-radius: 4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--ghost);
  color: var(--bg);
  box-shadow: 0 0 24px var(--ghost-glow);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

/* GLOBAL BACKGROUND */
.global-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--bg);
}

/* Grid background */
.global-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

/* Radial glow */
.global-bg::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Base particles container inside global wrapper */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.6s ease both;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--ghost);
  opacity: 0.4;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.92;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 10px;
  animation: fadeUp 0.7s ease 0.1s both;
  position: relative;
  z-index: 1;
}

.hero-title .ghost-word {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ghost);
  text-shadow: 0 0 60px var(--ghost-glow);
}

.hero-subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 8px;
  color: var(--muted);
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin: 0 auto 48px;
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeUp 0.7s ease 0.4s both;
}

.btn-primary {
  background: var(--ghost);
  color: var(--bg);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: none;
}

.btn-primary:hover {
  box-shadow: 0 0 32px var(--ghost-glow), 0 0 60px rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  cursor: none;
}

.btn-secondary:hover {
  border-color: var(--ghost);
  color: var(--ghost);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted2);
  text-transform: uppercase;
  animation: fadeIn 1s ease 0.8s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ghost), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* HOLOGRAPHIC STATS CARDS */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  /* Tighter spacing */
  padding: 40px 20px;
  /* Reduced vertical padding and tighter horizontal */
  background: transparent;
  max-width: 1200px;
  /* Bring the max width in closer */
  margin: 0 auto;
  justify-items: center;
}

@media (max-width: 1024px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /* Slight bump for touch targets */
  }
}

@media (max-width: 650px) {
  .stats-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 16px;
  }
}

.holographic-card {
  position: relative;
  width: 100%;
  max-width: 280px;
  /* Slightly narrower to fit tighter */
  height: 260px;
  /* Reduced height for better proportion */
  border-radius: 20px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.1s;
  /* Setup variables for JS control */
  --x: 50%;
  --y: 50%;
  --bg-x: 50%;
  --bg-y: 50%;
}

/* The glowing holographic reflection */
.holo-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--bg-x) var(--bg-y),
      rgba(0, 229, 255, 0.15) 0%,
      transparent 60%);
  transition: background 0.1s;
  mix-blend-mode: screen;
}

/* Card Content Styling */
.holo-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.stat-label {
  margin-top: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Custom highlight colors for specific stats */
.stat-item-1 .stat-num,
.stat-item-2 .stat-num,
.stat-item-3 .stat-num,
.stat-item-4 .stat-num {
  color: var(--ghost);
}

/* SECTIONS */
section {
  padding: 120px 60px;
  position: relative;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--ghost);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: 3px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 24px;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
  height: 460px;
}

.about-img-frame {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.6);
  transition: filter 0.4s;
}

.about-img-frame:hover img {
  filter: grayscale(0%) brightness(0.75);
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, transparent 60%);
  border-radius: 8px;
  pointer-events: none;
}

.about-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--ghost);
  border-style: solid;
  opacity: 0.6;
}

.about-corner.tl {
  top: -8px;
  left: -8px;
  border-width: 2px 0 0 2px;
}

.about-corner.tr {
  top: -8px;
  right: -8px;
  border-width: 2px 2px 0 0;
}

.about-corner.bl {
  bottom: -8px;
  left: -8px;
  border-width: 0 0 2px 2px;
}

.about-corner.br {
  bottom: -8px;
  right: -8px;
  border-width: 0 2px 2px 0;
}

.about-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-text p strong {
  color: var(--white);
  font-weight: 500;
}

.veteran-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 6px;
  padding: 8px 16px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ghost);
  margin-bottom: 24px;
}

.veteran-icon {
  font-size: 14px;
  color: var(--accent2);
  text-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.pill {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.pill:hover {
  border-color: var(--ghost);
  color: var(--ghost);
  background: var(--ghost-dim);
}

/* SERVICES */
#services {
  background: transparent;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--bg2);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: none;
}

.service-card:hover {
  background: #0f1320;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ghost), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: var(--border);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 24px;
  transition: color 0.3s;
  pointer-events: none;
}

.service-card:hover .service-num {
  color: var(--ghost-dim);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--ghost-dim);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
  transition: box-shadow 0.3s;
}

.service-card:hover .service-icon {
  box-shadow: 0 0 20px var(--ghost-glow);
}

.service-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 14px;
}

.service-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--ghost);
  text-decoration: none;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}

.service-card:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}

.service-link::after {
  content: '→';
  transition: transform 0.2s;
}

.service-link:hover::after {
  transform: translateX(4px);
}

/* PROCESS */
.process-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--ghost), var(--border), transparent);
}

.process-step {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 40px 0 40px 72px;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: all 0.25s;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  top: 40px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.process-step:hover::before {
  border-color: var(--ghost);
  color: var(--ghost);
  box-shadow: 0 0 20px var(--ghost-glow);
}

.process-step-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
  min-width: 220px;
}

.process-step-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-top: 6px;
}

/* CONTACT */
#contact {
  background: transparent;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-label {
  justify-content: center;
}

.contact-inner .section-label::before {
  display: none;
}

.contact-form {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input,
.form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--ghost);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted2);
}

.form-submit {
  background: var(--ghost);
  color: var(--bg);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px;
  border-radius: 6px;
  border: none;
  cursor: none;
  font-weight: 500;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  box-shadow: 0 0 32px var(--ghost-glow);
  transform: translateY(-2px);
}

.contact-alt {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--muted);
}

.contact-alt a {
  color: var(--ghost);
  text-decoration: none;
}

.contact-alt a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--muted);
  text-decoration: none;
}

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted2);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted2);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ghost);
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating ghost particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--ghost);
  opacity: 0;
  animation: float var(--dur) ease-in-out var(--delay) infinite;
}

@keyframes float {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.2;
  }

  100% {
    opacity: 0;
    transform: translateY(-120px) scale(1.5);
  }
}

/* =====================
   MOBILE RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  nav {
    padding: 16px 24px;
  }

  nav.scrolled {
    padding: 12px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 110px 24px 80px;
  }

  .hero-title {
    font-size: clamp(56px, 18vw, 100px);
  }

  .hero-subtitle {
    font-size: clamp(18px, 5vw, 32px);
    letter-spacing: 4px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--border);
  }

  .stat-num {
    font-size: 40px;
  }

  section {
    padding: 80px 24px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    height: 300px;
  }

  .services-header {
    flex-direction: column;
    gap: 16px;
  }

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

  .service-card {
    padding: 36px 28px;
  }

  .service-link {
    opacity: 1;
    transform: none;
  }

  .process-step {
    padding: 32px 0 32px 60px;
    gap: 24px;
  }

  .process-step-title {
    font-size: 26px;
    min-width: unset;
  }

  .contact-inner {
    padding: 0 4px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 24px;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-cta {
    padding: 8px 14px;
    font-size: 11px;
  }

  .hero-title {
    font-size: clamp(48px, 20vw, 80px);
  }

  .stat-item {
    padding: 24px 20px;
  }

  .stat-num {
    font-size: 34px;
  }

  .section-title {
    font-size: clamp(36px, 10vw, 56px);
  }

  .about-visual {
    height: 240px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .service-num {
    font-size: 56px;
  }

  .process-steps::before {
    left: 18px;
  }

  .process-step {
    padding-left: 52px;
  }

  .process-step::before {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}

/* ══════════════════════════════════════════════════
   PORTFOLIO STYLES
══════════════════════════════════════════════════ */
/* ── PORTFOLIO GRID SECTION ──────────────────────── */
.portfolio-section {
  padding: 0px 60px 120px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── PROJECT GRID ────────────────────────────────── */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

/* ── 3D CARD ─────────────────────────────────────── */
.project-card {
  width: 100%;
  max-width: 520px;
  perspective: 1100px;
  cursor: none;
  position: relative;
}

.card-inner {
  position: relative;
  width: 100%;
  border-radius: 10px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
  will-change: transform;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.project-card:hover .card-inner {
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 0 0 1px var(--card-accent, var(--ghost)),
    0 0 40px color-mix(in srgb, var(--card-accent, var(--ghost)) 20%, transparent);
}

.card-front {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.card-thumb {
  display: block;
  width: 100%;
  height: calc(100% + 40px);
  margin-top: -40px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  filter: brightness(0.85) saturate(0.9);
  transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Specific crop for Colonial Clippers thumbnail to hide black borders & browser bar */
.card-thumb[src*="colonial"] {
  object-position: left 20%;
  transform: scale(1.15);
}

.project-card:hover .card-thumb {
  filter: brightness(0.6) saturate(0.7);
  transform: scale(1.04);
}

.project-card:hover .card-thumb[src*="colonial"] {
  transform: scale(1.2);
}

/* Specific crop for Redacted Hosting thumbnail */
.card-thumb[src*="redacted"] {
  object-position: left 20%;
  transform: scale(1.15);
}

.project-card:hover .card-thumb[src*="redacted"] {
  transform: scale(1.2);
}

.card-browser-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: rgba(8, 10, 15, 0.92);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.bd-red {
  background: #ff5f57;
}

.bd-yellow {
  background: #febc2e;
}

.bd-green {
  background: #28c840;
}

.browser-url {
  flex: 1;
  margin-left: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--muted2);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-hover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px 28px;
  background: linear-gradient(to top, rgba(8, 10, 15, 0.97) 0%, rgba(8, 10, 15, 0.75) 50%, transparent 100%);
  opacity: 0;
  transform: translateY(6px) translateZ(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 3;
  pointer-events: none;
}

.project-card:hover .card-hover-overlay {
  opacity: 1;
  transform: translateY(0) translateZ(20px);
  pointer-events: auto;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.card-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.card-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.card-sublabel {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 20px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--card-accent, var(--ghost));
  border: 1px solid var(--card-accent, var(--ghost));
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: none;
  align-self: flex-start;
  transition: box-shadow 0.25s, transform 0.2s, background 0.2s, color 0.2s;
}

.card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px color-mix(in srgb, var(--card-accent, var(--ghost)) 50%, transparent);
}

.card-cta-outline {
  background: transparent;
  color: var(--white);
}

.card-cta-outline:hover {
  background: rgba(255, 255, 255, 0.04);
}

.card-cta-arrow {
  transition: transform 0.2s;
}

.card-cta:hover .card-cta-arrow {
  transform: translateX(4px);
}

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card-info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  border-radius: 0 0 10px 10px;
}

.card-index {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted2);
}

.card-industry {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.card-accent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-accent, var(--ghost));
  box-shadow: 0 0 8px var(--card-accent, var(--ghost));
  flex-shrink: 0;
}

/* ── MODAL ───────────────────────────────────────── */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preview-modal.modal-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 10, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-window {
  position: relative;
  z-index: 1;
  width: min(92vw, 1300px);
  height: min(88vh, 900px);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border);
}

.preview-modal.modal-active .modal-window {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  height: 52px;
  background: rgba(8, 10, 15, 0.96);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-dots {
  display: flex;
  gap: 6px;
}

.modal-title {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
  flex: 1;
}

.modal-url-chip {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-hint {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted2);
  white-space: nowrap;
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.modal-accent-bar {
  height: 2px;
  background: var(--modal-accent, var(--ghost));
  box-shadow: 0 0 12px var(--modal-accent, var(--ghost-glow));
  flex-shrink: 0;
}

.modal-frame {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.modal-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal-loading.hidden {
  opacity: 0;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border);
  border-top-color: var(--modal-accent, var(--ghost));
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted2);
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 60px 24px 80px;
  }

  .projects-grid {
    gap: 24px;
    margin-top: 40px;
  }

  .modal-window {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .modal-hint,
  .modal-url-chip {
    display: none;
  }
}

/* SOCIAL DOCK */
.social-dock {
  position: fixed;
  top: 35%;
  left: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .social-dock {
    display: none;
  }
}

.social-dock-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-dock-item {
  position: relative;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 176px;
  height: 56px;
  padding: 0 16px;
  margin-left: -125px;
  border-radius: 0 12px 12px 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.5s ease-out;
  text-decoration: none;
  cursor: none;
}

.social-dock-item:hover .social-link {
  margin-left: -10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.social-bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  transition: all 0.5s;
}

/* X Gradient */
.x-bg {
  background: linear-gradient(to right, var(--surface), var(--border));
}

.social-dock-item.x-item:hover .x-bg {
  background: linear-gradient(to right, var(--border), var(--ghost-dim));
}

/* Instagram Gradient */
.insta-bg {
  background: linear-gradient(to right, var(--surface), var(--border));
}

.social-dock-item.insta-item:hover .insta-bg {
  background: linear-gradient(to right, var(--border), var(--ghost-dim));
}

.social-label {
  position: relative;
  z-index: 10;
  color: #ffffff;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  letter-spacing: 0.025em;
  transition: all 0.3s;
}

.social-dock-item:hover .social-label {
  letter-spacing: 0.1em;
  color: var(--ghost);
}

.social-icon {
  position: relative;
  z-index: 10;
  color: #ffffff;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
  transition: transform 0.5s, color 0.3s, filter 0.3s;
}

.social-dock-item:hover .social-icon {
  transform: scale(1.25);
  color: var(--ghost);
  filter: drop-shadow(0 0 8px var(--ghost-glow));
}