/* ═══════════════════════════════════════════
   NEEV — PREMIUM PORTFOLIO
   Dark Luxury Design System
═══════════════════════════════════════════ */

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

:root {
  --bg:           #04060f;
  --bg-2:         #070c1a;
  --bg-card:      #0a1020;
  --bg-card-2:    #0d1428;
  --blue:         #4c8ef5;
  --blue-bright:  #6aa3ff;
  --purple:       #8b5cf6;
  --purple-light: #a78bfa;
  --gradient:     linear-gradient(135deg, #4c8ef5 0%, #8b5cf6 100%);
  --gradient-t:   linear-gradient(135deg, rgba(76,142,245,0.15) 0%, rgba(139,92,246,0.15) 100%);
  --white:        #ffffff;
  --white-80:     rgba(255,255,255,0.80);
  --white-50:     rgba(255,255,255,0.50);
  --white-30:     rgba(255,255,255,0.30);
  --white-10:     rgba(255,255,255,0.10);
  --white-06:     rgba(255,255,255,0.06);
  --white-04:     rgba(255,255,255,0.04);
  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --blue-glow:    rgba(76,142,245,0.25);
  --purple-glow:  rgba(139,92,246,0.25);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --font-head:    'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
  --transition:   0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(76,142,245,0.3); color: var(--white); }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 99px; }

/* ─────────────────────────────────────────
   CUSTOM CURSOR
───────────────────────────────────────── */
.cursor-ring,
.cursor-dot {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(76,142,245,0.6);
  transition: width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              border-color 0.3s,
              opacity 0.3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--blue);
}
.cursor-ring.hovered {
  width: 56px; height: 56px;
  border-color: var(--blue);
  background: rgba(76,142,245,0.08);
}

/* ─────────────────────────────────────────
   PAGE LOADER
───────────────────────────────────────── */
.loader {
  position: fixed; inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-bg {
  position: absolute; inset: 0;
  background: var(--bg);
}
.loader-content {
  position: relative;
  text-align: center;
  z-index: 1;
}
.loader-logo {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 2rem;
}
.loader-logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.loader-line {
  width: 240px;
  height: 2px;
  background: var(--white-10);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto 1rem;
}
.loader-line-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 99px;
  transition: width 0.05s linear;
}
.loader-percent {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--white-50);
  letter-spacing: 2px;
}

/* ─────────────────────────────────────────
   SCROLL PROGRESS
───────────────────────────────────────── */
.scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient);
  z-index: 8000;
  transition: width 0.1s linear;
}

/* ─────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.section { padding: clamp(5rem, 10vw, 8rem) 0; }

.section-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(76,142,245,0.25);
  background: rgba(76,142,245,0.07);
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--white-50);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: 0 0 0 rgba(76,142,245,0);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(76,142,245,0.35);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--white-06);
  border: 1px solid var(--border);
  color: var(--white-80);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.btn-ghost:hover {
  background: var(--white-10);
  border-color: var(--border-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-icon { flex-shrink: 0; }

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.reveal, .reveal-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--d, 0ms);
}
.reveal.visible, .reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s, border-color 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(4, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  transition: padding 0.4s;
}
.nav.scrolled .nav-container { padding-top: 1rem; padding-bottom: 1rem; }

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  flex-shrink: 0;
}
.logo-dot {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-50);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta-btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  background: var(--gradient);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: opacity 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.nav-cta-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 99px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 1rem clamp(1.25rem, 5vw, 3rem) 2rem;
  background: rgba(4, 6, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.mobile-menu.open { max-height: 500px; display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mob-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white-80);
  border-bottom: 1px solid var(--white-06);
  transition: color 0.2s;
}
.mob-link:hover { color: var(--blue); }
.mob-cta {
  display: inline-flex;
  margin-top: 1.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--gradient);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-align: center;
  justify-content: center;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 0;
  overflow: hidden;
}

/* Background Effects */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbPulse 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(76,142,245,0.18) 0%, transparent 70%);
  top: -15%; right: -8%;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.14) 0%, transparent 70%);
  bottom: 0; left: -10%;
  animation-delay: -3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(76,142,245,0.1) 0%, transparent 70%);
  top: 40%; left: 35%;
  animation-delay: -5s;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 1; }
  33% { transform: scale(1.08) translate(2%, 2%); opacity: 0.8; }
  66% { transform: scale(0.95) translate(-2%, -1%); opacity: 0.9; }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-noise {
  position: absolute; inset: 0;
  opacity: 0.025;
  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)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* Hero Layout */
.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

/* Hero Text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white-80);
  background: var(--white-06);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.75rem;
}
.badge-pulse {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}
.hero-title .line { display: block; }

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--white-50);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: left; }
.stat-val {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.stat-val sup {
  font-size: 1rem;
  vertical-align: super;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.78rem; color: var(--white-50); font-weight: 500; }
.stat-sep { width: 1px; height: 40px; background: var(--border); }

/* Hero Image */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  margin-top: -3rem;
}
.hero-portrait {
  position: relative;
  z-index: 2;
  height: min(720px, 75vh);
  width: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.8));
  animation: heroFloat 6s ease-in-out infinite;
  /* Blend white bg with dark theme */
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%, black 50%,
    rgba(0,0,0,0.9) 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%, black 50%,
    rgba(0,0,0,0.9) 70%,
    transparent 100%
  );
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-img-glow {
  position: absolute;
  bottom: -4rem; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(76,142,245,0.22) 0%, rgba(139,92,246,0.12) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.hero-img-ring {
  position: absolute;
  bottom: -2rem; left: 50%;
  transform: translateX(-50%);
  width: 340px; height: 340px;
  border: 1px solid rgba(76,142,245,0.15);
  border-radius: 50%;
  z-index: 1;
  animation: ringRotate 20s linear infinite;
}
.hero-img-ring::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue);
}
@keyframes ringRotate {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}

/* Floating Cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(10, 16, 32, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 10;
  white-space: nowrap;
}
.fc-top { top: 5%; left: -2rem; animation: floatA 5s ease-in-out infinite; }
.fc-bot { bottom: 5%; right: -2rem; animation: floatB 5.5s ease-in-out infinite; }
@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(0deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(8px) rotate(0deg); }
}
.fc-icon { font-size: 1.4rem; }
.fc-body { display: flex; flex-direction: column; }
.fc-body strong { font-size: 0.85rem; font-weight: 600; color: var(--white); }
.fc-body small { font-size: 0.72rem; color: var(--white-50); }

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}
.sh-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(76,142,245,0.6));
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-hint span {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-30);
}

/* ─────────────────────────────────────────
   MARQUEE
───────────────────────────────────────── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 1.1rem 0;
  overflow: hidden;
}
.marquee-track { display: flex; }
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.marquee-inner span {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-50);
}
.marquee-inner em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.8rem;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   PROJECTS
───────────────────────────────────────── */
.projects { background: var(--bg); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.proj-card--wide { grid-column: 1 / -1; }

/* Project Card */
.proj-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
  will-change: transform;
}
.proj-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(76,142,245,0.12);
}

/* Project Preview */
.proj-preview {
  position: relative;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}
.proj-card--wide .proj-preview { height: 520px; }
.proj-screenshot--full img { object-position: center center; object-fit: cover; }

.proj-glow {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.5s;
}
.proj-card:hover .proj-glow { opacity: 1; }

/* Browser Chrome */
.browser-chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28px;
  background: rgba(15, 20, 40, 0.9);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.75rem;
  z-index: 4;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bc-dots { display: flex; gap: 4px; }
.bc-dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: block;
}
.bc-dots i:nth-child(1) { background: #ff5f57; }
.bc-dots i:nth-child(2) { background: #febc2e; }
.bc-dots i:nth-child(3) { background: #28c840; }
.bc-bar {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  height: 14px;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  letter-spacing: 0.03em;
}

/* Project Screenshot */
.proj-screenshot {
  position: absolute;
  inset: 28px 0 0 0;
  overflow: hidden;
}
.proj-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.proj-card:hover .proj-screenshot img { transform: scale(1.05); }

/* Mock Site Base */
.mock-site {
  position: absolute;
  inset: 28px 0 0 0;
  overflow: hidden;
}
.ms-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ms-brand {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
}
.ms-links { display: flex; gap: 6px; }
.ms-links b { display: block; width: 24px; height: 3px; background: rgba(255,255,255,0.15); border-radius: 99px; }
.ms-hero { padding: 1rem; flex: 1; }
.ms-eyebrow { font-size: 0.55rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.3rem; }
.ms-headline { font-family: var(--font-head); font-weight: 800; line-height: 1.1; font-size: 1.2rem; color: white; margin-bottom: 0.6rem; }
.ms-btn {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: default;
}

/* ─ FITNESS ─ */
.fitness-theme { background: #0d0f12; }
.fitness-site { background: #0d0f12; }
.fitness-hero { position: relative; }
.fitness-glow { background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(239,68,68,0.2), transparent); }
.fitness-btn { background: #ef4444; color: white; }
.ms-eyebrow.fitness-eyebrow,
.fitness-hero .ms-eyebrow { color: #ef4444; }
.fitness-hero .ms-headline { font-size: 1.6rem; letter-spacing: -1px; }
.fitness-bg-shape {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(239,68,68,0.05));
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.ms-stats-row {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0.6rem 1rem;
  gap: 1.5rem;
}
.msr-item b { display: block; font-family: var(--font-head); font-size: 0.85rem; color: white; }
.msr-item small { font-size: 0.5rem; color: rgba(255,255,255,0.4); }

/* ─ DENTAL ─ */
.dental-theme { background: #f0f5ff; }
.dental-site { background: #f0f5ff; }
.dental-nav { background: white; border-bottom: 1px solid rgba(0,0,0,0.06); }
.dental-brand { color: #0f172a; }
.dark-links b { background: rgba(0,0,0,0.12) !important; }
.dental-hero { display: flex; padding: 0.75rem 1rem; gap: 0.75rem; }
.dh-content { flex: 1; }
.teal-eyebrow { color: #0891b2; }
.dark-headline { color: #0f172a; }
.dental-btn { background: #0891b2; color: white; }
.dh-visual { position: relative; display: flex; align-items: center; justify-content: center; width: 80px; }
.tooth-wrap { font-size: 2rem; position: relative; z-index: 1; }
.dental-ring {
  position: absolute;
  width: 56px; height: 56px;
  border: 1px dashed rgba(8,145,178,0.4);
  border-radius: 50%;
  animation: spin 10s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.dental-glow { background: radial-gradient(ellipse at 50% 50%, rgba(8,145,178,0.15), transparent); }
.dental-services-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.dsr-item { font-size: 0.55rem; font-weight: 600; color: #0891b2; background: rgba(8,145,178,0.08); padding: 0.2rem 0.5rem; border-radius: 99px; }

/* ─ RESTAURANT ─ */
.restaurant-theme { background: #100b06; }
.restaurant-site { background: #100b06; }
.gold-brand { color: #d4a853; }
.restaurant-hero { padding: 0.75rem 1rem; }
.gold-eyebrow { color: #d4a853; }
.restaurant-glow { background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212,168,83,0.18), transparent); }
.rest-btns { display: flex; gap: 0.5rem; margin-top: 0.4rem; }
.gold-btn { background: #d4a853; color: #100b06; }
.outline-btn { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }
.rest-features {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.rf-item { font-size: 0.6rem; color: rgba(255,255,255,0.5); }

/* ─ REALTY ─ */
.realty-theme { background: #0c1524; }
.realty-site { background: #0c1524; }
.realty-hero { padding: 0.75rem 1rem; }
.realty-glow { background: radial-gradient(ellipse at 70% 50%, rgba(16,185,129,0.2), transparent); }
.realty-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.5);
}
.rs-btn { background: #10b981; color: white; padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: 700; font-size: 0.55rem; }
.realty-cards { display: flex; gap: 0.5rem; }
.rc-card { flex: 1; background: rgba(255,255,255,0.05); border-radius: 6px; overflow: hidden; }
.rc-img { height: 40px; }
.rc-img-1 { background: linear-gradient(135deg, #1e3a5f, #2a5298); }
.rc-img-2 { background: linear-gradient(135deg, #1a2a40, #243b55); }
.rc-info { padding: 0.3rem 0.4rem; }
.rc-info b { display: block; font-size: 0.65rem; color: #10b981; font-family: var(--font-head); }
.rc-info small { font-size: 0.5rem; color: rgba(255,255,255,0.4); }

/* ─ AUTO ─ */
.auto-theme { background: #060912; }
.auto-site { background: #060912; display: flex; flex-direction: column; height: 100%; }
.blue-brand { color: var(--blue-bright); }
.auto-hero { display: flex; padding: 0.75rem 1rem; gap: 1rem; flex: 1; }
.auto-content { flex: 1; }
.blue-eyebrow { color: var(--blue); }
.auto-btn { background: var(--gradient); color: white; }
.auto-btns { display: flex; gap: 0.5rem; }
.auto-glow { background: radial-gradient(ellipse at 50% 80%, rgba(76,142,245,0.2), transparent); }
.auto-packages { display: flex; gap: 0.5rem; align-items: stretch; align-self: center; }
.ap-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 60px;
  position: relative;
}
.ap-featured {
  background: rgba(76,142,245,0.12);
  border-color: rgba(76,142,245,0.3);
  box-shadow: 0 0 20px rgba(76,142,245,0.15);
}
.ap-badge {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.42rem;
  font-weight: 800;
  background: var(--gradient);
  color: white;
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.ap-name { font-size: 0.55rem; color: rgba(255,255,255,0.5); margin-bottom: 0.2rem; }
.ap-price { font-family: var(--font-head); font-size: 0.9rem; font-weight: 800; color: white; }
.ap-tag { font-size: 0.45rem; color: var(--blue); margin-top: 0.15rem; }

/* Project Info */
.proj-info {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.proj-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.proj-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(76,142,245,0.1);
  border: 1px solid rgba(76,142,245,0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
}
.proj-yr { font-size: 0.78rem; color: var(--white-30); }
.proj-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.proj-desc { font-size: 0.88rem; color: var(--white-50); line-height: 1.65; margin-bottom: 1rem; flex: 1; }
.proj-tech { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.proj-tech span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--white-50);
  background: var(--white-06);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}
.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.3s var(--ease-out), color 0.3s;
  align-self: flex-start;
}
.proj-link:hover { gap: 0.75rem; color: var(--blue-bright); }

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.svc-card { grid-column: span 2; }
.svc-card:nth-child(4) { grid-column: 2 / 4; }
.svc-card:nth-child(5) { grid-column: 4 / 6; }

.svc-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
  cursor: default;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-t);
  opacity: 0;
  transition: opacity 0.4s;
}
.svc-card:hover {
  border-color: rgba(76,142,245,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.svc-card:hover::before { opacity: 1; }

.svc-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white-06);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s;
}
.svc-card:hover .svc-num { color: rgba(76,142,245,0.1); }

.svc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--white-06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--blue);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s;
}
.svc-card:hover .svc-icon {
  background: rgba(76,142,245,0.12);
  border-color: rgba(76,142,245,0.3);
}

.svc-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}
.svc-desc {
  font-size: 0.875rem;
  color: var(--white-50);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.svc-arrow {
  position: absolute;
  bottom: 1.5rem; right: 1.75rem;
  font-size: 1.1rem;
  color: var(--white-10);
  transition: color 0.3s, transform 0.3s;
}
.svc-card:hover .svc-arrow { color: var(--blue); transform: translateX(4px); }

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-img-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%, black 55%,
    rgba(0,0,0,0.7) 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%, black 55%,
    rgba(0,0,0,0.7) 80%,
    transparent 100%
  );
}
.about-img-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(76,142,245,0.15), transparent);
  z-index: 2;
  pointer-events: none;
}
.about-img-border {
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(76,142,245,0.15);
  z-index: 3;
  pointer-events: none;
}
.about-accent-card {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 10;
}
.aac-icon { font-size: 1.5rem; }
.aac-body { display: flex; flex-direction: column; }
.aac-body strong { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.aac-body small { font-size: 0.72rem; color: var(--white-50); }

.about-content { }
.about-content .section-tag { margin-bottom: 1rem; }

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.about-text p { font-size: 0.95rem; color: var(--white-50); line-height: 1.8; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.av-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.av-dot {
  width: 8px; height: 8px;
  background: var(--gradient);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(76,142,245,0.5);
}
.av-item div { display: flex; flex-direction: column; gap: 0.15rem; }
.av-item strong { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.av-item span { font-size: 0.8rem; color: var(--white-50); }

/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 6rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(76,142,245,0.15), transparent 70%);
  top: -50%; left: -10%;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.12), transparent 70%);
  bottom: -50%; right: -5%;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.cta-sub {
  font-size: 1rem;
  color: var(--white-50);
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-intro {
  font-size: 1rem;
  color: var(--white-50);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-channels { display: flex; flex-direction: column; gap: 0.75rem; }
.ch-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s, transform 0.3s var(--ease-out), background 0.3s;
}
.ch-item:hover {
  border-color: rgba(76,142,245,0.3);
  background: var(--bg-card-2);
  transform: translateX(4px);
}
.ch-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(76,142,245,0.1);
  border: 1px solid rgba(76,142,245,0.2);
  border-radius: var(--radius-sm);
  color: var(--blue);
  flex-shrink: 0;
}
.ch-body { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.ch-label { font-size: 0.72rem; color: var(--white-50); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.ch-val { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.ch-arrow { font-size: 1rem; color: var(--white-30); transition: color 0.3s, transform 0.3s; }
.ch-item:hover .ch-arrow { color: var(--blue); transform: translateX(3px); }

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white-50);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--white-04);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-field select option { background: #0a1020; color: white; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--white-30); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(76,142,245,0.5);
  background: rgba(76,142,245,0.05);
  box-shadow: 0 0 0 3px rgba(76,142,245,0.1);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 0.875rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-sm);
  color: #86efac;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-success.show { display: block; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p { font-size: 0.875rem; color: var(--white-50); max-width: 240px; line-height: 1.6; }
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.footer-nav a { font-size: 0.875rem; color: var(--white-50); transition: color 0.3s; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--white-30);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-credit { }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
/* Shimmer on project preview hover */
.proj-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 200px at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.05),
    transparent 70%
  );
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.3s;
}
.proj-card:hover .proj-preview::after { opacity: 1; }

/* ═══════════════════════════════════════
   TABLET — 1024px
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
    padding-bottom: 0;
  }
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
  }
  .hero-sub { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual {
    height: 420px;
    margin-top: 0;
  }
  .fc-top { left: 1rem; }
  .fc-bot { right: 1rem; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 380px; margin: 0 auto; }
  .about-accent-card { right: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-card { grid-column: span 2; }
  .svc-card:nth-child(4) { grid-column: 1 / 3; }
  .svc-card:nth-child(5) { grid-column: 3 / 5; }

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

/* ═══════════════════════════════════════
   MOBILE — 768px
═══════════════════════════════════════ */
@media (max-width: 768px) {

  /* Nav */
  .nav-links, .nav-cta-btn { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  /* ── Hero ── */
  .hero {
    min-height: 100svh;
    padding: 0;
    display: flex;
    align-items: stretch;
  }
  .hero-container {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    width: 100%;
  }

  /* Image first on mobile (swap order) */
  .hero-visual {
    order: 0;
    width: 100%;
    height: 56vw;
    min-height: 260px;
    max-height: 380px;
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 1rem;
  }
  .hero-portrait {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    animation: heroFloat 6s ease-in-out infinite;
  }
  .hero-img-glow {
    width: 280px;
    height: 280px;
    bottom: -2rem;
  }
  .hero-img-ring { display: none; }
  .float-card { display: none; }

  /* Text below image */
  .hero-text {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.5rem 3rem;
    width: 100%;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.32rem 0.8rem;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--white-50);
    max-width: 340px;
    margin-bottom: 1.75rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    width: 100%;
    max-width: 340px;
  }
  .stat-sep { display: none; }
  .stat-item { text-align: center; }
  .stat-val { font-size: 1.6rem; }
  .stat-label { font-size: 0.7rem; }

  .scroll-hint { display: none; }

  /* ── Sections ── */
  .section { padding: 4rem 0; }
  .section-title { font-size: clamp(1.9rem, 7vw, 2.8rem); letter-spacing: -1px; }
  .section-sub { font-size: 0.9rem; }

  /* ── Projects ── */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .proj-card--wide { grid-column: 1; }
  .proj-preview { height: 220px; }
  .proj-card--wide .proj-preview { height: 240px; }
  .proj-info { padding: 1.25rem 1.25rem 1.5rem; }
  .proj-name { font-size: 1.2rem; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 0.875rem; }
  .svc-card { grid-column: span 1 !important; padding: 1.5rem 1.25rem; }
  .svc-card:nth-child(5) { grid-column: 1 / 3 !important; }
  .svc-num { font-size: 1.8rem; top: 1rem; right: 1rem; }
  .svc-title { font-size: 1rem; }
  .svc-desc { font-size: 0.82rem; }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { max-width: 100%; }
  .about-img-container { aspect-ratio: 4/3; }
  .about-accent-card { right: 0.5rem; bottom: -1rem; padding: 0.75rem 0.9rem; }
  .aac-body strong { font-size: 0.8rem; }
  .about-text p { font-size: 0.9rem; }
  .about-values { padding: 1.25rem; }

  /* ── CTA Banner ── */
  .cta-banner { padding: 4rem 0; }
  .cta-title { font-size: clamp(1.7rem, 6vw, 2.5rem); }
  .cta-sub { font-size: 0.9rem; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .ch-item { padding: 0.875rem 1rem; }
  .ch-val { font-size: 0.85rem; }

  /* ── Footer ── */
  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }
  .footer-nav { gap: 1.25rem; }
}

/* ═══════════════════════════════════════
   SMALL MOBILE — 480px
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
  .hero-visual { height: 52vw; min-height: 220px; }

  .services-grid { grid-template-columns: 1fr; }
  .svc-card { grid-column: span 1 !important; }
  .svc-card:nth-child(5) { grid-column: span 1 !important; }

  .proj-preview { height: 200px; }
  .proj-card--wide .proj-preview { height: 200px; }

  .about-img-container { aspect-ratio: 1/1; }
  .about-accent-card { display: none; }

  .loader-logo { font-size: 3rem; }
  .loader-line { width: 180px; }
}

/* ─── 3D Tilt active state ─── */
.proj-card[data-tilt] { transform-style: preserve-3d; }
