/* ============================================================
   VOIDDEV — Premium Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── Root Variables ── */
:root {
  --cyan:     #a5f3fc;
  --cyan-mid: #22d3ee;
  --cyan-dim: rgba(165,243,252,0.15);
  --violet:   #7c3aed;
  --bg:       #050a10;
  --surface:  #0d1520;
  --border:   rgba(165,243,252,0.12);
  --text:     #e2e8f0;
  --muted:    #64748b;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none; /* custom cursor */
}

h1, h2, h3, h4 { font-family: var(--font-head); }

/* ── Custom Cursor ── */
#cursor {
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.15s var(--ease-out-expo),
              width 0.3s, height 0.3s, background 0.3s;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease-out-expo),
              width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.5;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 20px; height: 20px; background: #fff; }
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { width: 56px; height: 56px; opacity: 0.25; }

/* ── Grain Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  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='1'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* ── Canvas Stars ── */
canvas#stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ── Glassmorphism ── */
.glass {
  background: rgba(5, 10, 16, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* ── Neon Glow Text ── */
.neon-text {
  text-shadow:
    0 0 20px rgba(165,243,252,0.7),
    0 0 60px rgba(165,243,252,0.35),
    0 0 120px rgba(165,243,252,0.15);
}

/* ── Animated Gradient Border ── */
.grad-border {
  position: relative;
}
.grad-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan-mid), var(--violet), var(--cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderRotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.4s;
}
.grad-border:hover::before { opacity: 1; }

@keyframes borderRotate {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  inset-block-start: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  transition: background 0.5s;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-shadow: 0 0 20px rgba(165,243,252,0.6);
  color: #fff;
}
.logo-text span { color: var(--cyan-mid); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan-mid);
  transition: width 0.35s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { width: 100%; }

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.125rem;
  font-weight: 500;
}
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: block; }
}

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

/* Ambient glow blobs */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: blobDrift 12s ease-in-out infinite alternate;
}
.hero::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,211,238,0.12), transparent 70%);
  top: -100px; left: -100px;
}
.hero::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.1), transparent 70%);
  bottom: 0; right: -100px;
  animation-delay: -6s;
}

@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.1); }
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(165,243,252,0.25);
  background: rgba(165,243,252,0.06);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--cyan);
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #fff;
  animation: heroSlideIn 1s var(--ease-out-expo) both;
}

/* Glitch animation on VOID */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.glitch::before {
  color: #ff007a;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
  transform: translate(-3px, 0);
  animation: glitch1 4s infinite steps(1);
  opacity: 0;
}
.glitch::after {
  color: var(--cyan);
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  transform: translate(3px, 0);
  animation: glitch2 4s infinite steps(1);
  opacity: 0;
}
@keyframes glitch1 {
  0%,94%,100% { opacity: 0; transform: translate(0); }
  95%          { opacity: 0.8; transform: translate(-4px, 2px); }
  96%          { opacity: 0.8; transform: translate(3px, -1px); }
  97%          { opacity: 0; }
}
@keyframes glitch2 {
  0%,94%,100% { opacity: 0; transform: translate(0); }
  95%          { opacity: 0.7; transform: translate(4px, -2px); }
  96%          { opacity: 0.7; transform: translate(-3px, 1px); }
  97%          { opacity: 0; }
}

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

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 38ch;
  margin: 1.5rem 0 2.5rem;
  animation: heroSlideIn 1s 0.2s var(--ease-out-expo) both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroSlideIn 1s 0.35s var(--ease-out-expo) both;
}

.btn-primary {
  padding: 1rem 2.25rem;
  background: #fff;
  color: #050a10;
  font-weight: 700;
  font-family: var(--font-head);
  border-radius: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(34,211,238,0.3);
}
.btn-primary .arrow { transition: transform 0.25s; }
.btn-primary:hover .arrow { transform: rotate(45deg); }

.btn-outline {
  padding: 1rem 2.25rem;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-head);
  border-radius: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  letter-spacing: 0.02em;
}
.btn-outline:hover {
  border-color: var(--cyan-mid);
  background: rgba(34,211,238,0.06);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: heroSlideIn 1s 0.5s var(--ease-out-expo) both;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 30px rgba(34,211,238,0.5);
}
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: heroSlideIn 1.1s 0.15s var(--ease-out-expo) both;
}
.hero-visual-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(34,211,238,0.15) 0%, transparent 70%);
  border-radius: 3rem;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.03); }
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 0.5rem;
  position: relative;
  z-index: 1;
}
.hero-card img {
  width: 100%;
  border-radius: 1.625rem;
  display: block;
}
.hero-badge-card {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--bg);
  border: 1px solid var(--cyan-mid);
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  box-shadow: 0 8px 40px rgba(34,211,238,0.2);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-badge-card .emoji { font-size: 2rem; }
.hero-badge-card .title { font-weight: 700; color: var(--cyan); font-family: var(--font-head); font-size: 0.9375rem; }
.hero-badge-card .sub { font-size: 0.75rem; color: var(--muted); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan-mid), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  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; }
}

/* ── SECTION COMMON ── */
section { position: relative; z-index: 1; }

.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--cyan-mid), transparent);
  margin: 1.5rem 0;
}

/* ── ABOUT ── */
.about-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}
.about-sticky { position: sticky; top: 7rem; }
.about-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #94a3b8;
}
.about-text strong { color: #fff; font-weight: 600; }
.about-highlights {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.highlight-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 24px rgba(34,211,238,0.4);
}
.highlight-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem; }

/* ── SKILLS ── */
.skills-section {
  padding: 8rem 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}
.skills-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.skills-header { text-align: center; margin-bottom: 4rem; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo),
              border-color 0.4s,
              box-shadow 0.4s;
  cursor: default;
}
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,211,238,0.06), rgba(124,58,237,0.04));
  opacity: 0;
  transition: opacity 0.4s;
}
.skill-card:hover {
  transform: translateY(-10px);
  border-color: rgba(34,211,238,0.25);
  box-shadow: 0 24px 60px rgba(34,211,238,0.1);
}
.skill-card:hover::before { opacity: 1; }

.skill-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
  filter: drop-shadow(0 0 12px rgba(165,243,252,0.4));
}
.skill-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.625rem;
}
.skill-tags { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── PROJECTS ── */
.projects-section { padding: 8rem 0; }
.projects-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo),
              border-color 0.4s,
              box-shadow 0.5s;
  position: relative;
}
.project-card:hover {
  transform: translateY(-14px) scale(1.02);
  border-color: rgba(34,211,238,0.3);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(34,211,238,0.1) inset,
    0 0 60px -20px rgba(34,211,238,0.3);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
}
.project-img-wrap img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
  display: block;
}
.project-card:hover .project-img-wrap img { transform: scale(1.07); }

/* Shimmer overlay on hover */
.project-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(165,243,252,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease-out-expo);
}
.project-card:hover .project-img-wrap::after { transform: translateX(100%); }

.project-tags-bar {
  position: absolute;
  top: 0.875rem; right: 0.875rem;
  background: rgba(5,10,16,0.8);
  backdrop-filter: blur(8px);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.project-tags-bar span { color: var(--cyan); }

.project-body { padding: 1.75rem; }
.project-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.project-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.5rem; }

.btn-open {
  width: 100%;
  padding: 0.875rem;
  background: rgba(165,243,252,0.1);
  border: 1px solid rgba(165,243,252,0.2);
  color: var(--cyan);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.875rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-open:hover {
  background: var(--cyan-mid);
  border-color: var(--cyan-mid);
  color: #050a10;
  box-shadow: 0 8px 32px rgba(34,211,238,0.3);
}

@media (max-width: 1024px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .projects-grid { grid-template-columns: 1fr; } }

/* ── CONTACT ── */
.contact-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(34,211,238,0.06), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.contact-title { margin-bottom: 1rem; }
.contact-sub { font-size: 1.125rem; color: var(--muted); margin-bottom: 3rem; }

.contact-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-tg {
  flex: 1;
  max-width: 220px;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--cyan-mid), #0891b2);
  color: #050a10;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 1.25rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: transform 0.3s, box-shadow 0.3s;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
}
.btn-tg:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(34,211,238,0.35);
}

.btn-gh {
  flex: 1;
  max-width: 220px;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 1.25rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  letter-spacing: 0.02em;
}
.btn-gh:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-4px);
}

.contact-email {
  margin-top: 3rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.contact-email a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(165,243,252,0.25);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.contact-email a:hover { color: #fff; border-color: #fff; }

/* ── FOOTER ── */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner span { transition: color 0.2s; }
.footer-inner span:hover { color: var(--cyan); }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--surface);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 2rem;
  overflow: hidden;
  width: 100%;
  max-width: 1280px;
  box-shadow: 0 0 120px rgba(34,211,238,0.1);
  animation: modalPop 0.5s var(--ease-spring) both;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.85) translateY(60px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}
.modal-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.modal-actions { display: flex; gap: 0.75rem; align-items: center; }

.btn-modal-ext {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-modal-ext:hover { border-color: var(--cyan-mid); color: var(--cyan); background: rgba(34,211,238,0.05); }

.btn-modal-close {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border: none; background: none;
  font-size: 1.25rem;
  color: var(--muted);
  cursor: pointer;
  border-radius: 0.625rem;
  transition: color 0.2s, background 0.2s;
}
.btn-modal-close:hover { color: #fff; background: rgba(255,255,255,0.05); }

.modal-iframe-wrap { position: relative; }
.modal-loader {
  position: absolute;
  inset: 0;
  background: rgba(5,10,16,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.spinner {
  width: 3rem; height: 3rem;
  border: 3px solid var(--border);
  border-top-color: var(--cyan-mid);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#modal-iframe {
  width: 100%;
  height: 82vh;
  background: var(--bg);
  display: block;
  border: none;
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 60ms); }

/* ── Responsive Hero ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-sticky { position: static; }
  .hero-title { font-size: clamp(3.5rem, 14vw, 5rem); }
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
}