/* ═══════════════════════════════════════════════
   SHREYAS VAISHNAV — styles.css
   Theme: Dark Minimal · Electric Cyan · DM Sans
═══════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --bg:         #080808;
  --bg-2:       #0c0c0c;
  --bg-2:       #0c0c0c;
  --bg-3:       #111111;
  --surface:    #161616;
  --surface-2:  #1c1c1c;
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.04);
  --cyan:       #00e5ff;
  --cyan-10:    rgba(0,229,255,0.10);
  --cyan-20:    rgba(0,229,255,0.20);
  --cyan-glow:  0 0 24px rgba(0,229,255,0.18);
  --text:       #e6e6e6;
  --muted:      #666;
  /* --muted-2:    #333; */
  --muted-2:    #9d9d9d;
  --nav-h:      60px;
  --font:       'DM Sans', sans-serif;
  --ease:       cubic-bezier(0.16,1,0.3,1);
}

/* ── RESET ──────────────────────────────────── */
*, *::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);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── TECH CANVAS ────────────────────────────── */
#techCanvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.45;
}

/* #techCanvas {
  position: fixed; inset: 0; z-index: 0;
  display: none;
} */

/* #techCanvas {
  position: fixed; inset: 0; z-index: 2; 
  pointer-events: none; opacity: 0.45;
} */

/* ── NAV ────────────────────────────────────── */
/* Starts transparent, transitions to blurred on scroll (JS adds .scrolled) */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  height: var(--nav-h);
  /* background: transparent; */
  background: rgba(8, 8, 8, 0.4);
  backdrop-filter: blur(22px);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  /* background: rgba(8,8,8,0.82); */
  background: transparent;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 15px; opacity: 0.55; transition: opacity 0.3s; }
.nav-logo:hover img { opacity: 1; }
.nav-wordmark {
  font-size: 0.67rem; 
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.38em; 
  text-transform: uppercase;
  color: rgba(230,230,230,0.55); 
  transition: color 0.3s;
}
.nav-logo:hover .nav-wordmark { color: var(--text); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-link {
  font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(230,230,230,0.65);
  transition: color 0.3s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan); transition: width 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* hamburger */
.nav-toggle {
  display: none; background: none; border: none;
  color: rgba(230,230,230,0.6); cursor: pointer;
  padding: 4px; line-height: 1;
}
/* Mobile dropdown */
#mobileNav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; width: 100%;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 99; padding: 0.75rem 0;
}

#mobileNav {
  background: rgba(8,8,8,0.85);
  /* background: rgba(8,8,8,0.85); */
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px);
}

#mobileNav a {
  display: block; padding: 0.75rem 2rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(230,230,230,0.55); transition: color 0.2s;
}
#mobileNav a:hover { color: var(--cyan); }

/* ── SECTION UTILITIES ──────────────────────── */
.section-wrap { position: relative; z-index: 1; }
.section-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.section-inner-wide {
  max-width: 1360px; margin: 0 auto; padding: 0 2rem;
}

.tag {
  display: inline-block;
  font-size: 0.58rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.85rem;
}
.section-title {
  font-family: var(--font);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 200; line-height: 1.08;
  letter-spacing: -0.022em; color: #f0f0f0;
}
.section-title em { font-style: italic; color: var(--cyan); font-weight: 300; }
.divider {
  width: 36px; height: 1px; background: var(--cyan);
  margin: 1.35rem 0 3rem;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* scroll-reveal base */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.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; }

/* ── HERO ───────────────────────────────────── */
#home {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
#home video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom,
    rgba(8,8,8,0.25) 0%,
    rgba(8,8,8,0.55) 55%,
    rgba(8,8,8,1) 100%);
}
.hero-glow {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse 70% 45% at 50% 88%,
    rgba(0,229,255,0.06) 0%, transparent 65%);
}
.hero-content {
  position: relative; z-index: 4;
  text-align: center; padding: 0 1.5rem;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.6rem; letter-spacing: 0.44em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: ''; width: 24px; height: 1px; background: var(--cyan); opacity: 0.5;
}
.hero-title {
  font-family: var(--font);
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 200; line-height: 1.02;
  letter-spacing: -0.028em; color: #f0f0f0;
  margin-bottom: 1.25rem;
  opacity: 0; animation: fadeUp 1s var(--ease) 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--cyan); font-weight: 300; }
.hero-sub {
  font-size: clamp(0.88rem, 1.8vw, 1.08rem);
  font-weight: 300; letter-spacing: 0.05em;
  color: rgba(230,230,230,0.5);
  max-width: 420px; margin: 0 auto 2.5rem; line-height: 1.9;
  opacity: 0; animation: fadeUp 1s var(--ease) 0.7s forwards;
}
.hero-cta {
  display: inline-block; padding: 0.82rem 2.6rem;
  border: 1px solid rgba(0,229,255,0.4); color: var(--cyan);
  font-size: 0.67rem; letter-spacing: 0.26em; text-transform: uppercase;
  position: relative; overflow: hidden; transition: color 0.35s;
  opacity: 0; animation: fadeUp 1s var(--ease) 0.9s forwards;
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--cyan);
  transform: translateX(-101%); transition: transform 0.35s var(--ease); z-index: -1;
}
.hero-cta:hover { color: #080808; }
.hero-cta:hover::before { transform: translateX(0); }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; animation: fadeIn 1s ease 1.6s forwards;
}
.scroll-cue span {
  font-size: 0.5rem; letter-spacing: 0.38em;
  color: var(--muted); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2.2s ease infinite;
}

/* ── ABOUT ──────────────────────────────────── */
#about {
  padding: 9rem 0; position: relative; background: var(--bg-2);
  overflow: hidden;
}
.about-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.about-bg img {
  width: 100%;
  height: 100%; 
  object-fit: cover;
  opacity: 0.38; 
  filter: grayscale(60%);
}
.about-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(130deg, rgba(8,8,8,0.7) 0%, rgba(8,8,8,0.5) 100%);
}
.about-inner { position: relative; z-index: 1; }
.about-header { text-align: center; margin-bottom: 5rem; }

/* Two-col layout: pic left, text right */
.about-grid {
  display: grid; grid-template-columns: auto 1fr;
  gap: 5rem; align-items: center;
  max-width: 1000px; margin: 0 auto;
}

/* Circular profile */
.profile-wrap {
  position: relative; width: 280px; height: 280px;
  flex-shrink: 0;
}
.profile-ring-outer {
  position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.2);
  transition: border-color 0.45s, box-shadow 0.45s;
  pointer-events: none; z-index: 2;
}
.profile-ring-inner {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.08);
  pointer-events: none; z-index: 2;
}
.profile-wrap:hover .profile-ring-outer {
  border-color: rgba(0,229,255,0.5);
  box-shadow: var(--cyan-glow);
}
.profile-circle {
  width: 100%; height: 100%; border-radius: 50%;
  overflow: hidden; position: relative; z-index: 1;
}
.profile-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); transition: transform 0.65s var(--ease);
  filter: grayscale(15%);
}
.profile-wrap:hover .profile-img { transform: scale(1.1); }

/* Right column — centered text and stats */
.about-text { text-align: center; }
.about-text p {
  font-size: 0.92rem; font-weight: 300; line-height: 2;
  color: rgba(230,230,230,0.6); margin-bottom: 1.25rem;
}
.about-text p strong { color: var(--cyan); font-weight: 400; }

.stats-row {
  display: flex; justify-content: center; gap: 3rem;
  margin-top: 2.5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.8rem; font-weight: 200;
  color: var(--cyan); line-height: 1; letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.3rem;
}

/* ── CLIENTS ────────────────────────────────── */
#clients {
  padding: 7rem 0; 
  /* background: var(--bg); */
  background: rgba(12, 12, 12, 0.034);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-header { text-align: center; margin-bottom: 4rem; }

/* Even grid: fixed cell sizes, logos uniformly capped */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* row-gap: 2.5rem; column-gap: 2rem; */
  row-gap: 3.5rem; column-gap: 5rem;
  align-items: center;
  max-width: 960px; margin: 0 auto;
}
.client-cell {
  display: flex; align-items: center; justify-content: center;
  height: 80px;
  padding: 0 1rem;
}

.client-logo {
  width: 130px;        /* every logo forced to exact same width */
  height: 45px;        /* every logo forced to exact same height */
  object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.30;  /* slightly more visible */
  transition: opacity 0.4s, filter 0.4s, transform 0.3s;
}




.client-cell:hover .client-logo {
  opacity: 0.95;
  filter: brightness(0) invert(1) sepia(1) saturate(7) hue-rotate(155deg);
  transform: scale(1.08);
  transform: scale(1.2);
}

.client-cell:hover .client-logo {
  opacity: 0.95;
  filter: brightness(0) invert(1) sepia(1) saturate(7) hue-rotate(155deg);
  transform: scale(1.08);
}

/* ChatGPT Fix */
/* .client-cell {
  width: 150px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo {
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.25;
  transition: .3s ease;
}

.client-cell:hover .client-logo {
  opacity: 0.95;
  filter: brightness(0) invert(1) sepia(1) saturate(7) hue-rotate(155deg);
  transform: scale(1.1);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 2.5rem 2rem;
  justify-content: center;
} */

.logo-small   { transform: scale(1.35); }  /* Tata, Bajaj */
.logo-medium  { transform: scale(1.15); }  /* Honda wing */
.logo-large   { transform: scale(0.85); }  /* Mahindra, CarandBike */
.logo-normal  { transform: scale(1); }

/* ChatGPT Fix end */

/* ── PORTFOLIO HORIZONTAL ───────────────────── */
#portfolio {
  padding: 7rem 0; 
  background: var(--bg-2); 
  background: rgba(12,12,12,0.88);
  /* background: rgba(12, 12, 12, 0.034); */
}

.portfolio-header { text-align: center; margin-bottom: 4rem; }
.portfolio-header .sub-desc {
  font-size: 0.88rem; font-weight: 300; line-height: 1.85;
  color: rgba(230,230,230,0.45); max-width: 560px; margin: 0 auto;
}

.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
}
.portfolio-item {
  background: var(--bg); position: relative;
  overflow: hidden; cursor: pointer; aspect-ratio: 16/9;
}
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
  filter: grayscale(20%) brightness(0.75);
}
.portfolio-item:hover img {
  transform: scale(1.07);
  filter: grayscale(0%) brightness(0.55);
}
.p-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, transparent 55%);
}
.p-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.7);
  width: 44px; height: 44px;
  border: 1px solid rgba(0,229,255,0.5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.portfolio-item:hover .p-play {
  opacity: 1; transform: translate(-50%,-50%) scale(1);
}
.p-title {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.03em;
  color: rgba(230,230,230,0.85); line-height: 1.45;
  transform: translateY(6px); transition: transform 0.3s;
}
.portfolio-item:hover .p-title { transform: translateY(0); }

/* ── VERTICAL PORTFOLIO ─────────────────────── */
#vertical-portfolio {
  padding: 7rem 0; 
  background: var(--bg);
  background: rgba(12, 12, 12, 0);
  border-top: 1px solid var(--border);
}
.vp-header { text-align: center; margin-bottom: 3.5rem; }
.vp-header .sub-desc {
  font-size: 0.88rem; font-weight: 300; line-height: 1.85;
  color: rgba(230,230,230,0.45); max-width: 560px; margin: 0 auto;
}

/* Trend strip */
.trend-strip {
  background: var(--surface);
  border: 1px solid var(--border); border-left: 2px solid var(--cyan);
  padding: 1.75rem 2rem; margin-bottom: 4rem;
  display: flex; gap: 3rem; flex-wrap: wrap;
}
.trend-item { flex: 1; min-width: 180px; }
.trend-num {
  font-size: 2.2rem; font-weight: 200;
  color: var(--cyan); letter-spacing: -0.03em; line-height: 1;
}
.trend-label {
  font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 0.3rem 0 0.5rem;
}
.trend-desc {
  font-size: 0.8rem; font-weight: 300;
  color: rgba(230,230,230,0.45); line-height: 1.75;
}

/* 9:16 grid */
.vp-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--border);
}
.vp-item {
  background: var(--bg-2); position: relative;
  overflow: hidden; cursor: pointer; aspect-ratio: 9/16;
}
.vp-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
  filter: grayscale(25%) brightness(0.72);
}
.vp-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(0.5);
}
.vp-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem 0.9rem;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, transparent 55%);
}
.vp-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.7);
  width: 38px; height: 38px;
  border: 1px solid rgba(0,229,255,0.5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.vp-item:hover .vp-play {
  opacity: 1; transform: translate(-50%,-50%) scale(1);
}
.vp-badge {
  position: absolute; top: 0.7rem; right: 0.7rem;
  background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.28);
  color: var(--cyan); font-size: 0.46rem;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 0.2rem 0.5rem;
}
.vp-title {
  font-size: 0.7rem; font-weight: 400;
  color: rgba(230,230,230,0.85); line-height: 1.4;
  transform: translateY(4px); transition: transform 0.3s;
}
.vp-item:hover .vp-title { transform: translateY(0); }
.vp-note {
  text-align: center; margin-top: 1.2rem;
  font-size: 0.58rem; letter-spacing: 0.15em;
  color: var(--muted); text-transform: uppercase;
}

/* ── CONTACT ────────────────────────────────── */
#contact {
  padding: 7rem 0; background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 2.5rem;
}
.form-label {
  display: block; font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(230,230,230,0.55); margin-bottom: 0.45rem;
}
.form-input {
  width: 100%; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text); padding: 0.72rem 1rem;
  font-family: var(--font); font-size: 0.875rem; font-weight: 300;
  outline: none; transition: border-color 0.3s; margin-bottom: 1.2rem;
}
.form-input:focus { border-color: rgba(0,229,255,0.35); }
.form-input::placeholder { color: var(--muted-2); font-size: 0.82rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-btn {
  width: 100%; padding: 0.88rem;
  background: transparent; border: 1px solid rgba(0,229,255,0.38);
  color: var(--cyan); font-family: var(--font);
  font-size: 0.64rem; letter-spacing: 0.27em; text-transform: uppercase;
  cursor: pointer; transition: color 0.35s;
  position: relative; overflow: hidden;
}
.form-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease); z-index: -1;
}
.form-btn:hover { color: #080808; }
.form-btn:hover::before { transform: scaleX(1); }

/* Right info card */
.info-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.09);
  overflow: hidden; display: flex; flex-direction: column;
}
/* Map — lighter filter than before */
.map-wrap {
  height: 220px; width: 100%;
  filter: grayscale(1) brightness(0.55) contrast(1.1);
  transition: filter 0.4s;
}
.map-wrap:hover { filter: grayscale(0.5) brightness(0.75); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.info-body { padding: 1.8rem; flex: 1; }
.info-location h3 {
  font-size: 1.25rem; font-weight: 200;
  letter-spacing: -0.01em; color: var(--text); margin-bottom: 0.35rem;
}
.info-location p {
  font-size: 0.82rem; color: rgba(230,230,230,0.65); line-height: 1.75;
}
.info-location .sub {
  font-size: 0.72rem; color: var(--muted);
}
.info-divider { height: 1px; background: var(--border); margin: 1.35rem 0; }
.connect-label {
  font-size: 0.58rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem;
}
.social-row { display: flex; gap: 0.6rem; align-items: center; }
.social-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: border-color 0.3s, color 0.3s;
}
.social-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* Email display — clearly readable */
.contact-email {
  margin-top: 1.1rem; padding: 0.65rem 1rem;
  background: rgba(0,229,255,0.05);
  border: 1px solid rgba(0,229,255,0.18);
  display: flex; align-items: center; gap: 0.6rem;
}
.contact-email span {
  font-size: 0.78rem; font-weight: 400;
  color: rgba(230,230,230,0.85); letter-spacing: 0.02em;
}
.contact-email svg { color: var(--cyan); flex-shrink: 0; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy {
  font-size: 0.62rem; letter-spacing: 0.1em; color: var(--muted);
  line-height: 1.9;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); transition: color 0.3s;
}
.footer-links a:hover { color: var(--cyan); }

/* ── VIDEO MODAL (in-page overlay) ─────────── */
/* Modal backdrop — blurs the page content behind it */
#videoModal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
#videoModal.open { opacity: 1; pointer-events: all; }

/* Backdrop blur layer */
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Video box */
.modal-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 900px;
  background: var(--bg-3);
  border: 1px solid rgba(0,229,255,0.15);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.38s var(--ease);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 40px rgba(0,229,255,0.06);
}
#videoModal.open .modal-box { transform: scale(1) translateY(0); }

/* Vertical modal variant */
/* .modal-box.vertical {
  max-width: 460px;
} */

.modal-box.vertical {
  max-width: 460px;
  max-height: 92vh;        /* ADD THIS */
  overflow: hidden;        /* ADD THIS */
}

/* Iframe container — maintains aspect ratio */
.modal-iframe-wrap {
    position: relative; 
    width: 100%; 
    overflow: hidden; 
}
.modal-iframe-wrap.h169 { aspect-ratio: 16/9; }
/* .modal-iframe-wrap.v916 { aspect-ratio: 9/16; } */


.modal-iframe-wrap.v916 {
  aspect-ratio: 9/16;
  max-height: 80vh;        /* ADD THIS — caps height to viewport */
  width: auto;             /* ADD THIS — width adjusts automatically */
  margin: 0 auto;          /* keeps it centred */
}

.modal-iframe-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* Bottom bar inside modal */
.modal-bar {
  padding: 1.25rem 1.5rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--border);
}
.modal-title {
  font-size: 1.05rem; font-weight: 300;
  letter-spacing: -0.01em; color: var(--text); line-height: 1.35;
}
.modal-close-btn {
  flex-shrink: 0; background: none;
  border: 1px solid var(--border);
  color: var(--muted); padding: 0.4rem 0.9rem;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: border-color 0.3s, color 0.3s; white-space: nowrap;
}
.modal-close-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; } 50% { opacity: 1; }
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 960px) {
  .nav-links, .nav-links-list { display: none; }
  .nav-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .profile-wrap { margin: 0 auto; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .vp-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .vp-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .trend-strip { flex-direction: column; gap: 1.5rem; }
  .stats-row { gap: 1.5rem; }
  .modal-box { max-width: 100%; }
}

/* .section-inner,
.section-inner-wide,
.about-inner,
.clients-inner,
.portfolio-inner,
.vp-inner,
.contact-inner {
  position: relative; z-index: 3;
} */
