/* ========================================
   STRATOSPHERE — Blueprint Design System
   ======================================== */

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

/* --- Design Tokens --- */
:root {
  /* Blueprint Blues — sampled from the hero image */
  --blue-deep:    #0d4a8a;
  --blue-primary: #1565b0;
  --blue-mid:     #1a6bb5;
  --blue-light:   #2079c4;
  --blue-bright:  #3a8fd4;
  --blue-glow:    #5aabea;

  /* Grid & Line */
  --grid-line:      rgba(255, 255, 255, 0.06);
  --grid-line-bold: rgba(255, 255, 255, 0.12);
  --white:          #ffffff;
  --white-90:       rgba(255, 255, 255, 0.9);
  --white-70:       rgba(255, 255, 255, 0.7);
  --white-50:       rgba(255, 255, 255, 0.5);
  --white-30:       rgba(255, 255, 255, 0.3);
  --white-15:       rgba(255, 255, 255, 0.15);
  --white-08:       rgba(255, 255, 255, 0.08);
  --white-04:       rgba(255, 255, 255, 0.04);

  /* Type */
  --font-display: 'Outfit', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Grid size */
  --grid-size: 60px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-display);
  background-color: #1976d2;
  background-image: url('assets/blueprint.png');
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: top center;
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul { list-style: none; }

/* --- Blueprint Grid Background (global repeating pattern) --- */
.blueprint-grid {
  display: none;
}

/* --- Main Content Layer --- */
.content-layer {
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .content-layer {
    max-width: 85vw;
  }
}

@media (max-width: 768px) {
  .content-layer {
    max-width: 100vw;
    border: none;
  }
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  z-index: 100;
  padding: var(--space-lg) var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--duration-normal) var(--ease-out);
}

@media (max-width: 768px) {
  .nav { 
    padding: var(--space-md) var(--space-lg);
  }
}

.nav.scrolled {
  background: rgba(13, 74, 138, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-08);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav__logo-icon::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
}

.nav__logo-icon::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white-70);
  border-left: 2px solid var(--white-70);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-70);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover {
  color: var(--white);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--white-50);
  color: var(--white);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  background: transparent;
}

.nav__cta:hover {
  background: var(--white);
  color: var(--blue-primary);
  border-color: var(--white);
}

/* Mobile menu toggle */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--duration-fast) var(--ease-out);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url('assets/hero-blueprint.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* .hero__image-container and .hero__image removed — background is now on body */

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Fade hero image into the blueprint background color at the bottom */
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(25, 118, 210, 0.5) 75%,
    rgba(25, 118, 210, 0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: var(--space-5xl) var(--space-2xl) var(--space-5xl);
  max-width: 1400px;
  width: 70vw;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .hero__content { width: 85vw; }
}

@media (max-width: 768px) {
  .hero__content { width: 100%; }
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--white-50);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

.hero__title span {
  display: block;
}

.hero__title .outline-text {
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--white-70);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--space-lg) var(--space-2xl);
  background: var(--white);
  color: var(--blue-primary);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: scale(1.1);
  color: var(--white);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-bright);
  transform: translateX(-101%);
  transition: transform var(--duration-normal) var(--ease-out);
}

.btn-primary:hover {
  color: var(--white);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary .btn-arrow {
  position: relative;
  z-index: 1;
  transition: transform var(--duration-normal) var(--ease-out);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-ghost {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-70);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--white-30);
  transition: all var(--duration-fast) var(--ease-out);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  transform-origin: center;
}

.btn-ghost:hover {
  color: var(--white);
  border-bottom-color: var(--white);
  transform: scale(1.1);
}

/* Hero stat bar */
.hero__stats {
  position: absolute;
  bottom: 0;
  right: 0;
  left: auto;
  transform: none;
  width: 55%;
  z-index: 5;
  display: flex;
  border-top: 1px solid var(--white-15);
}

.hero__stat {
  flex: 1;
  padding: var(--space-xl) var(--space-2xl);
  border-right: 1px solid var(--white-08);
  transition: background var(--duration-fast) var(--ease-out);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat:hover {
  background: var(--white-04);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-top: var(--space-xs);
}

/* ========================================
   SECTION COMMONS
   ======================================== */
.section {
  padding: var(--space-5xl) var(--space-2xl);
  position: relative;
}

.section__header {
  max-width: 1400px;
  width: 70vw;
  margin: 0 auto var(--space-4xl) auto;
}

@media (max-width: 1200px) {
  .section__header { width: 85vw; }
}

@media (max-width: 768px) {
  .section__header { width: 100%; }
}

.section__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section__tag::before {
  content: '//';
  color: var(--blue-glow);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
}

.section__desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--white-70);
  line-height: 1.7;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  /* Uses body blueprint background */
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
  border: none;
  max-width: 1400px;
  width: 56vw;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .services__grid { width: 68vw; }
}

@media (max-width: 768px) {
  .services__grid { width: 100%; }
}

.service-card {
  background: transparent;
  border: 1px solid var(--white-08);
  padding-inline: var(--space-3xl);
  padding-block: 4.4rem; /* ~10% taller than the 4rem default */
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-glow), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  background: rgba(21, 101, 176, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--white-30);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2xl);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--white-30);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white-70);
  stroke-width: 1.5;
  fill: none;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.service-card__desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white-50);
  line-height: 1.7;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-50);
  transition: all var(--duration-fast) var(--ease-out);
}

.service-card__link:hover {
  color: var(--white);
  gap: var(--space-md);
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
  /* Uses body blueprint background */
}

.projects__showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  margin: 0 auto var(--space-xl) auto;
  max-width: 1400px;
  width: 70vw;
}

@media (max-width: 1200px) {
  .projects__showcase { width: 85vw; }
}

@media (max-width: 768px) {
  .projects__showcase { width: 100%; }
}

.projects__showcase--reverse {
  grid-template-columns: 1fr 1.2fr;
}

.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--white-08);
  aspect-ratio: 16 / 10;
  cursor: pointer;
  group: true;
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover .project-card__image {
  transform: scale(1.15);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 74, 138, 0) 40%,
    rgba(13, 74, 138, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-2xl);
  transition: background var(--duration-normal) var(--ease-out);
}

.project-card:hover .project-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(13, 74, 138, 0.1) 0%,
    rgba(13, 74, 138, 0.95) 100%
  );
}

.project-card__tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: var(--space-sm);
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.project-card__location {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--white-50);
  margin-top: var(--space-xs);
}

/* Blueprint drawing overlay for project cards */
.project-card__blueprint-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 29px,
      rgba(255,255,255,0.04) 29px,
      rgba(255,255,255,0.04) 30px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 29px,
      rgba(255,255,255,0.04) 29px,
      rgba(255,255,255,0.04) 30px
    );
}

.project-card:hover .project-card__blueprint-lines {
  opacity: 1;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process {
  /* Uses body blueprint background */
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  max-width: 1400px;
  width: 70vw;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .process__timeline { width: 85vw; }
}

@media (max-width: 768px) {
  .process__timeline { width: 100%; }
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--white-15);
}

.process__step {
  padding: 0 var(--space-xl);
  position: relative;
}

.process__step-dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--white-50);
  background: transparent;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
  transition: all var(--duration-fast) var(--ease-out);
}

.process__step:hover .process__step-dot {
  border-color: var(--white);
  background: var(--white);
  box-shadow: 0 0 20px rgba(90, 171, 234, 0.5);
}

.process__step-number {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--blue-glow);
  margin-bottom: var(--space-sm);
}

.process__step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.process__step-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--white-50);
  line-height: 1.7;
}

/* ========================================
   TESTIMONIAL SECTION
   ======================================== */
.testimonial {
  background: transparent;
  text-align: center;
  padding: var(--space-5xl) var(--space-2xl);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: var(--space-3xl);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 12rem;
  font-weight: 800;
  color: var(--white-04);
  line-height: 1;
  pointer-events: none;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  font-style: italic;
  color: var(--white-90);
}

.testimonial__author {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-50);
}

.testimonial__author span {
  color: var(--blue-glow);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  /* Uses body blueprint background */
  text-align: center;
  padding: var(--space-5xl) var(--space-2xl);
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.cta__desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white-70);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: transparent;
  border-top: 1px solid var(--white-08);
  padding: var(--space-4xl) var(--space-2xl) var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.footer__brand-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white-50);
  line-height: 1.7;
  margin-top: var(--space-lg);
  max-width: 300px;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-30);
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white-50);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--white-08);
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--white-30);
  letter-spacing: 0.05em;
}

.footer__socials {
  display: flex;
  gap: var(--space-lg);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--white-15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  background: var(--white-08);
  border-color: var(--white-30);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--white-50);
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

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

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }

/* Hero-specific entrance animation */
.hero__content .reveal {
  transform: translateY(40px);
}

/* ========================================
   CROSSHAIR CURSOR ACCENT
   ======================================== */
.crosshair-cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  transition: opacity 0.15s ease;
  display: none;
}

.crosshair-cursor::before,
.crosshair-cursor::after {
  content: '';
  position: absolute;
  background: var(--white);
}

.crosshair-cursor::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}

.crosshair-cursor::after {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .process__timeline::before {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .projects__showcase,
  .projects__showcase--reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --grid-size: 40px;
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 74, 138, 0.97);
    backdrop-filter: blur(30px);
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    z-index: 99;
  }

  .nav__links.open .nav__link {
    font-size: 1.2rem;
    color: var(--white);
  }

  .hero__content {
    padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
  }

  .hero__stats {
    flex-direction: column;
    position: relative;
  }

  .hero__stat {
    border-right: none;
    border-bottom: 1px solid var(--white-08);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }

  .hero__stat-value {
    font-size: 1.5rem;
  }

  .hero__stat-label {
    margin-top: 0;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .section {
    padding: var(--space-3xl) var(--space-lg);
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .crosshair-cursor {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .crosshair-cursor {
    display: block;
  }
}

/* ========================================
   DRAWING ANIMATION KEYFRAMES
   ======================================== */
@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(90, 171, 234, 0); }
  50% { box-shadow: 0 0 20px 4px rgba(90, 171, 234, 0.3); }
}
