/* ==========================================================================
   Portfolio Redesign - Abhilasha Kanthe
   VERSION 4 (v4) — Restored v2 Proportional Layout + Interactive Tech Grid
   and Default Menu Highlight
   ========================================================================== */

:root {
  /* Color Palette */
  --c-bg: #101828;
  --c-bg-end: #030712;
  --c-surface: #1e2939;
  --c-surface-hover: #243144;
  --c-white: #ffffff;
  --c-body: #d1d5dc;
  --c-muted: #6a7282;
  --c-dim: #999999;
  --c-slate: #4a5565;
  --c-blue: #0088ff;
  --c-border: rgba(255, 255, 255, 0.1);
  --c-border-subtle: rgba(255, 255, 255, 0.07);
  --c-divider: rgba(255, 255, 255, 0.15);
  
  /* Interactive Grid Spotlights */
  --mouse-x: 50%;
  --mouse-y: 42%;
  
  /* Typography */
  --ff-inter: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ff-outfit: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 19.16px;
  --r-full: 9999px;
  
  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.25s var(--ease-smooth);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-end) 100%);
  background-color: var(--c-bg);
  color: var(--c-white);
  font-family: var(--ff-inter);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
/* ==========================================================================
   Header & Interactive Navigation — Dynamic Floating Capsule on Scroll
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 6px clamp(16px, 3vw, 40px);
  background: rgba(16, 24, 40, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dynamic Scroll Progress Bar along header top */
.header__progress-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
  overflow: hidden;
  z-index: 1002;
}

.header__progress-bar {
  height: 100%;
  width: var(--scroll-progress, 0%);
  background: linear-gradient(90deg, #00d4ff, #6366f1, #c084fc);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 16px rgba(99, 102, 241, 0.4);
  transition: width 0.08s linear;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1560px;
  margin: 0 auto;
  padding: 4px clamp(14px, 2vw, 24px);
  width: 100%;
  min-height: 42px;
  border-radius: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled: Compact Floating Capsule Island */
.header.scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  background: transparent;
  border-bottom-color: transparent;
}

.header.scrolled .header__bar {
  max-width: 1040px;
  padding: 4px clamp(14px, 1.8vw, 22px);
  min-height: 40px;
  border-radius: var(--r-full);
  background: rgba(13, 20, 34, 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    0 12px 30px -8px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(0, 212, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(16px, 1.35vw, 19px);
  letter-spacing: 0.4px;
  white-space: nowrap;
  color: var(--c-white);
  transition: transform 0.2s var(--ease-smooth), opacity 0.2s ease;
}

.header__brand:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.header__status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
}

.header__status-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pulseStatus 2.2s ease-in-out infinite;
}

@keyframes pulseStatus {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 5px #10b981;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.75;
    box-shadow: 0 0 10px #10b981;
  }
}

.nav {
  display: flex;
  align-items: center;
}

.nav__toggle {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1001;
  border-radius: var(--r-sm);
  transition: background-color 0.2s ease;
}

.nav__toggle:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.nav__bar {
  width: 22px;
  height: 2px;
  background-color: var(--c-white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__list {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 24px);
  font-family: var(--ff-outfit);
  font-weight: 300;
  font-size: clamp(14px, 1.05vw, 16px);
  white-space: nowrap;
  padding: 2px;
  border-radius: var(--r-full);
}

/* Sliding Glider Pill — Appears ONLY on Hover, NEVER on Home default */
.nav__glider {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-full);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.14);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease;
}

.nav__link {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  padding: 4px 10px;
  border-radius: var(--r-full);
  transition: color 0.2s ease, transform 0.18s ease;
  display: inline-block;
}

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

.nav__link.active {
  color: var(--c-white);
  font-weight: 400;
}

/* Restored cyan/blue glowing gradient dash indicator from earlier version */
.nav__link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #6366f1);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.85);
  border-radius: 2px;
  transition: width 0.25s var(--ease-smooth);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 65%;
}

.nav__link--resume {
  font-weight: 500;
  padding: 5px 16px;
  font-size: clamp(13px, 1vw, 14.5px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-full);
  color: var(--c-white);
  transition: all 0.25s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav__link--resume::after {
  display: none;
}

.nav__link--resume:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.header__line-wrapper {
  width: 100%;
  overflow: hidden;
  height: 1px;
  transition: opacity 0.3s ease;
}

.header.scrolled .header__line-wrapper {
  opacity: 0;
}

.header__line {
  width: 100%;
  height: 1px;
  opacity: 0.35;
}

/* ==========================================================================
   Hero Section — v5 Exact Figma Layout, Behind-the-Head Typography & 3D Parallax
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: clamp(700px, 50vw, 840px);
  min-height: calc(100vh - 65px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  background: radial-gradient(circle at 50% 36%, rgba(30, 41, 57, 0.6) 0%, rgba(16, 24, 40, 1) 75%);
  --mouse-x: 50%;
  --mouse-y: 40%;
  --parallax-x: 0;
  --parallax-y: 0;
  --scroll-y: 0;
}

/* Bigger 80px High-Tech Grid Background */
.hero__grid-bg {
  position: absolute;
  inset: -40px;
  pointer-events: none;
  z-index: 0;
  background-size: 80px 80px;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.16) 1.5px, transparent 0),
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 35%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 35%, transparent 88%);
  transform: translate3d(calc(var(--parallax-x) * -8px), calc(var(--parallax-y) * -8px), 0);
  will-change: transform;
}

/* Multi-Spectrum Interactive Hover Spotlight */
.hero__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(
      600px circle at var(--mouse-x, 50%) var(--mouse-y, 40%),
      rgba(0, 212, 255, 0.16) 0%,
      rgba(99, 102, 241, 0.10) 35%,
      rgba(16, 24, 40, 0) 70%
    );
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

/* Unique Illuminated Grid Flare Revealed Under Cursor */
.hero__grid-glow {
  position: absolute;
  inset: -40px;
  pointer-events: none;
  z-index: 1;
  background-size: 80px 80px;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(0, 229, 255, 0.75) 2px, transparent 0),
    linear-gradient(to right, rgba(0, 212, 255, 0.28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.28) 1px, transparent 1px);
  mask-image: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 40%), black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 40%), black 0%, transparent 80%);
  opacity: 0.95;
  transform: translate3d(calc(var(--parallax-x) * -8px), calc(var(--parallax-y) * -8px), 0);
  will-change: transform, mask-image, -webkit-mask-image;
}

.hero__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  perspective: 1200px;
}

/* Stage handles ultra-wide to laptops (>= 1025px) */
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 1728px;
  height: 100%;
  margin: 0 auto;
  transform-style: preserve-3d;
}

.hero__stage > * {
  position: absolute;
}

/* Title Layer — Strictly BEHIND Abhilasha (z-index: 2) */
.hero__title-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  transform: translate3d(
    calc(var(--parallax-x) * -12px), 
    calc(var(--parallax-y) * -12px + var(--scroll-y) * -0.12px), 
    0
  );
  will-change: transform;
}

.hero__title {
  position: absolute;
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(56px, 6.2vw, 108px);
  line-height: 1;
  letter-spacing: -2.5px;
  color: var(--c-white);
  white-space: nowrap;
  user-select: none;
}

.hero__title--left {
  /* Tightly frames Abhilasha's portrait cutout so 50% of 'm' is tucked behind her hair */
  right: calc(50% + clamp(8px, 0.8vw, 14px));
  left: auto;
  top: clamp(60px, 7.8vw, 105px);
  width: auto;
  text-align: right;
}

.hero__title--right {
  /* Tightly frames Abhilasha's portrait cutout so 50% of 'A' is tucked behind her hair */
  left: calc(50% + clamp(76px, 6.4vw, 114px));
  right: auto;
  top: clamp(120px, 13vw, 190px);
  width: auto;
  text-align: left;
}

/* Vignette Overlay for Bottom Blend */
.hero__overlay {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0) 42.6%, rgba(16, 24, 40, 0) 58%, #1e2939 101.2%);
  pointer-events: none;
  z-index: 4;
}

/* Portrait Photo — Strictly Pivoted to the Center (z-index: 3) */
.hero__photo-wrap {
  position: absolute;
  left: 50%;
  top: clamp(45px, 5.8vw, 85px);
  width: clamp(350px, 28vw, 490px);
  height: auto;
  aspect-ratio: 559 / 730;
  z-index: 3;
  transform-origin: center center;
  transform: translate3d(
    calc(-50% + var(--parallax-x) * 14px), 
    calc(var(--parallax-y) * 14px + var(--scroll-y) * 0.04px), 
    0
  );
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.65));
  will-change: transform;
  pointer-events: none;
}

.hero__photo-wrap img,
.hero__photo {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: none !important;
  filter: none !important;
}

/* Foreground Floating Layers (z-index: 5) */
.hero__layer-fg {
  will-change: transform;
}

.hero__arrow--left {
  right: calc(50% + clamp(150px, 13vw, 240px));
  left: auto;
  top: clamp(260px, 28vw, 360px);
  width: clamp(110px, 10vw, 170px);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transform: translate3d(calc(var(--parallax-x) * 22px), calc(var(--parallax-y) * 22px), 0);
}

.hero__arrow--left img {
  width: 100%;
  height: auto;
  transform: rotate(27.14deg);
}

.hero__arrow--right {
  left: calc(50% + clamp(140px, 12vw, 230px));
  right: auto;
  top: clamp(270px, 29vw, 360px);
  width: clamp(100px, 9vw, 150px);
  height: auto;
  z-index: 5;
  transform: translate3d(calc(var(--parallax-x) * 22px), calc(var(--parallax-y) * 22px), 0);
}

/* Annotations */
.hero__text {
  font-family: var(--ff-inter);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.35;
  letter-spacing: -0.15px;
  color: var(--c-white);
  z-index: 5;
}

.hero__text strong {
  font-weight: 700;
}

.hero__text--left {
  right: calc(50% + clamp(260px, 23vw, 420px));
  left: auto;
  top: clamp(310px, 32vw, 410px);
  width: clamp(210px, 16vw, 280px);
  text-align: right;
  transform: translate3d(calc(var(--parallax-x) * 20px), calc(var(--parallax-y) * 20px), 0);
}

.hero__text--right {
  left: calc(50% + clamp(240px, 21vw, 380px));
  right: auto;
  top: clamp(250px, 27vw, 340px);
  width: clamp(260px, 23vw, 400px);
  text-align: left;
  transform: translate3d(calc(var(--parallax-x) * 20px), calc(var(--parallax-y) * 20px), 0);
}

.hero__role {
  margin-bottom: 6px;
}

/* Bottom Floating Quote Pill — Auto Layout Single Line, Restored Height from Earlier Version (z-index: 6) */
.hero__quote {
  left: 50%;
  bottom: clamp(14px, 2vw, 28px);
  top: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: 10px clamp(16px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  z-index: 6;
  width: max-content;
  max-width: 95vw;
  white-space: nowrap;
  transform: translate3d(calc(-50% + var(--parallax-x) * 16px), calc(var(--parallax-y) * 16px), 0);
}

.hero__quote-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(14px, 1.8vw, 22px);
  white-space: nowrap;
}

.hero__avatar {
  width: clamp(64px, 5.2vw, 84px);
  height: clamp(64px, 5.2vw, 84px);
  border-radius: var(--r-full);
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.hero__quote-text {
  white-space: nowrap;
  max-width: none;
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: clamp(13.5px, 1.05vw, 17px);
  line-height: 1.35;
  color: var(--c-body);
}

.hero__quote-text strong {
  color: var(--c-white);
  font-weight: 600;
}

.hero__hello {
  display: flex;
  align-items: center;
  gap: 12px;
  height: clamp(34px, 2.5vw, 42px);
  padding-left: clamp(12px, 1.5vw, 18px);
  border-left: 1px solid var(--c-border);
  white-space: nowrap;
}

.hero__hello-label {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: clamp(11px, 0.8vw, 12px);
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
}

.hero__hello-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(34px, 2.5vw, 42px);
  height: clamp(34px, 2.5vw, 42px);
  border-radius: var(--r-full);
  background-color: var(--c-white);
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s ease;
  flex-shrink: 0;
}

.hero__hello-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
}

.hero__hello-btn img {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Shared Section Components
   ========================================================================= */
.section {
  background-color: var(--c-bg);
  position: relative;
  width: 100%;
}

.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.heading__row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 48px);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap; /* Kept strictly in ONE line by default */
  max-width: 100%;
  width: auto;
}

@supports (font-size: 1cqi) {
  .heading__row {
    font-size: clamp(22px, 5.5cqi, 48px);
  }
}

.heading__row--dim {
  color: var(--c-dim);
}

.chip {
  position: relative;
  width: 225px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 225px;
  height: 57px;
  border-radius: var(--r-sm);
  background: #212325;
  filter: blur(27.5px);
  z-index: 0;
}

.chip__body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  background-color: var(--c-surface);
  border: 1px solid #323232;
  border-radius: var(--r-sm);
  font-family: var(--ff-outfit);
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  color: var(--c-white);
}

.chip__body img {
  width: 9px;
  height: 9px;
  transform: scaleY(-1) rotate(180deg);
}

/* ==========================================================================
   Featured Projects — Inspired by Pratibha Joshi Portfolio
   Dynamic 2-Column Zig-Zag Stagger, Interactive 3D Tilt, Sheen & Glow
   ========================================================================== */
.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(50px, 6vw, 90px);
  padding: clamp(70px, 8vw, 110px) clamp(20px, 4vw, 56px);
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
}

.projects__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.5vw, 33px);
  width: 100%;
  max-width: min(920px, 94vw);
  container-type: inline-size;
  container-name: projects-heading;
}

/* 2-Column Responsive Grid with 3D Depth Perspective */
.projects__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: clamp(48px, 6vw, 88px);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  perspective: 1400px;
}

/* Staggered Zig-Zag Offset on Desktop (>= 901px) */
@media (min-width: 901px) {
  .card:nth-child(even) {
    margin-top: clamp(60px, 7vw, 120px);
  }

  /* 5th project card sits elegantly in column 1 */
  .card:nth-child(5) {
    grid-column: 1;
  }
}

/* Luxury Interactive Project Card Container */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(16, 24, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
  outline: none;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s ease;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* Fast Staggered Scroll Entrance Reveal */
.projects__list--animated .card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.projects__list--animated .card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Ambient Backlight Glow */
.card__glow {
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover .card__glow,
.card:focus-visible .card__glow {
  opacity: 1;
}

/* Interactive Cursor Specular Shine Sheen */
.card__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  border-radius: 24px;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 35%,
    transparent 70%
  );
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity 0.3s ease;
}

.card:hover .card__shine {
  opacity: 1;
}

/* Theme Variant Accents */
.card--blue {
  background: linear-gradient(155deg, rgba(14, 23, 56, 0.88) 0%, rgba(22, 42, 88, 0.78) 55%, rgba(12, 19, 38, 0.95) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 1px rgba(81, 162, 255, 0.3);
}

.card--blue .card__glow {
  background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(81, 162, 255, 0.32) 0%, transparent 70%);
  border: 1px solid rgba(81, 162, 255, 0.45);
}

.card--blue:hover,
.card--blue:focus-visible {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(52, 99, 170, 0.35);
  border-color: rgba(81, 162, 255, 0.4);
}

.card--orange {
  background: linear-gradient(155deg, rgba(46, 24, 7, 0.88) 0%, rgba(82, 42, 14, 0.78) 55%, rgba(22, 12, 4, 0.95) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 1px rgba(246, 151, 74, 0.3);
}

.card--orange .card__glow {
  background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(246, 151, 74, 0.32) 0%, transparent 70%);
  border: 1px solid rgba(246, 151, 74, 0.45);
}

.card--orange:hover,
.card--orange:focus-visible {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(246, 151, 74, 0.35);
  border-color: rgba(246, 151, 74, 0.4);
}

.card--teal {
  background: linear-gradient(155deg, rgba(5, 30, 26, 0.88) 0%, rgba(12, 60, 56, 0.78) 55%, rgba(4, 18, 16, 0.95) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 1px rgba(50, 164, 145, 0.3);
}

.card--teal .card__glow {
  background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(50, 164, 145, 0.32) 0%, transparent 70%);
  border: 1px solid rgba(50, 164, 145, 0.45);
}

.card--teal:hover,
.card--teal:focus-visible {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(50, 164, 145, 0.35);
  border-color: rgba(50, 164, 145, 0.4);
}

/* Card Media Container & Dynamic Zoom */
.card__media {
  position: relative;
  height: clamp(230px, 22vw, 320px);
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 1;
  transform: translateZ(12px);
}

.card__media picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-smooth), filter 0.65s ease;
}

.card:hover .card__img,
.card:focus-visible .card__img {
  transform: scale(1.05);
}

/* Category Industry Tag */
.card__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  height: 28px;
  padding: 6px 12px;
  background: rgba(11, 15, 25, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 3;
  transition: all 0.25s ease;
}

.card:hover .card__tag {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(11, 15, 25, 0.9);
}

.card__tag span {
  font-family: var(--ff-outfit);
  font-weight: 500;
  font-size: 13px;
  color: var(--c-white);
  text-transform: capitalize;
  white-space: nowrap;
}

/* Accessible Full-Card Click Overlay */
.card__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 25;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
  outline: none;
  transform: translateZ(40px);
  cursor: pointer;
}

.card:focus-within {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

/* Explore Case Study CTA indicator pill */
.card__cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(11, 15, 25, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-full);
  color: var(--c-white);
  font-family: var(--ff-inter);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  z-index: 3;
  opacity: 0.92;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.card:hover .card__cta,
.card:focus-visible .card__cta {
  background: var(--c-white);
  color: #0b0f19;
  border-color: var(--c-white);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.card__cta svg {
  transition: transform 0.25s ease;
}

.card:hover .card__cta svg,
.card:focus-visible .card__cta svg {
  transform: translateX(3px);
}

/* Card Body Content */
.card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  padding: 6px 8px 10px;
  transform: translateZ(8px);
}

.card__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card__title {
  font-family: var(--ff-outfit);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  text-transform: capitalize;
  color: var(--c-white);
  transition: color 0.2s ease;
}

.card:hover .card__title {
  color: #ffffff;
}

.card__year {
  font-family: var(--ff-outfit);
  font-weight: 300;
  font-size: clamp(13px, 1.1vw, 15px);
  color: rgba(255, 255, 255, 0.65);
}

/* Card Metrics Grid */
.card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  flex: 1 1 calc(50% - 6px);
  min-width: 120px;
  max-width: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.card:hover .metric {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.metric__value {
  font-family: var(--ff-outfit);
  font-weight: 600;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--c-white);
  line-height: 1.2;
}

.metric__label {
  padding-top: 2px;
  font-family: var(--ff-outfit);
  font-weight: 400;
  font-size: clamp(11.5px, 0.9vw, 13px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
}

/* ==========================================================================
   My UX Process — Proportional Vector Pipeline
   ========================================================================== */
.process {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 4.5vw, 53px);
  padding: clamp(80px, 9vw, 136px) clamp(20px, 4vw, 48px) clamp(60px, 7vw, 100px);
}

.process__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.process__title {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: 0.37px;
  text-align: center;
}

.process__sub {
  font-family: var(--ff-inter);
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.4;
  letter-spacing: 0.37px;
  text-align: center;
  color: var(--c-body);
}

.process__copy {
  max-width: 1104px;
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 1.65;
  letter-spacing: -0.31px;
  text-align: center;
  color: var(--c-body);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process__scroll {
  width: 100%;
  max-width: 1180px;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 10px 0 20px;
  -webkit-overflow-scrolling: touch;
}

.process__flow {
  position: relative;
  width: 100%;
  max-width: 1152px;
  aspect-ratio: 1152 / 195;
  min-width: 680px;
  flex-shrink: 0;
}

.process__flow > * {
  position: absolute;
}

.flow__line--1 {
  left: 0;
  top: 0;
  width: 20.89%;
  height: 64.5%;
}

.flow__line--2 {
  left: 26.99%;
  top: 27.38%;
  width: 17.78%;
  height: 31.5%;
}

.flow__line--3a {
  left: 51.9%;
  top: 27.9%;
  width: 13.33%;
  height: 31.5%;
}

.flow__line--3b {
  left: 51.9%;
  top: 27.9%;
  width: 13.33%;
  height: 31.5%;
  transform: scaleX(-1);
}

.flow__line--4 {
  left: 70.22%;
  top: 39.36%;
  width: 22.4%;
  height: 8.87%;
}

.flow__dot--1 {
  left: 22.92%;
  top: 39%;
  width: 1.56%;
}

.flow__dot--2 {
  left: 47.14%;
  top: 39%;
  width: 1.48%;
}

.flow__dot--3 {
  left: 66.84%;
  top: 39%;
  width: 1.48%;
}

.flow__dot--4 {
  left: 95.14%;
  top: 39%;
  width: 1.48%;
}

.process__label {
  top: 75.38%;
  width: 12%;
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(11px, 1.2vw, 14px);
  line-height: 1.35;
  letter-spacing: -0.15px;
  text-align: center;
  color: var(--c-white);
}

.process__label span {
  display: block;
  max-width: 70px;
  margin: 0 auto;
}

.process__label--1 { left: 17.7%; }
.process__label--2 { left: 41.9%; }
.process__label--3 { left: 61.6%; }
.process__label--4 { left: 89.9%; }

/* ==========================================================================
   My Stack Section
   ========================================================================== */
.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3vw, 32px);
  padding: clamp(80px, 9vw, 132px) clamp(20px, 4vw, 48px);
}

.stack__sub {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.45;
  text-align: center;
  color: var(--c-body);
  max-width: 650px;
  margin-top: 8px;
}

.stack__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 25px);
  max-width: 1255px;
  width: 100%;
}

.stack__item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 18px);
  min-height: 84px;
  padding: clamp(14px, 1.8vw, 20px) clamp(18px, 2.5vw, 30px);
  background-color: var(--c-surface);
  border: 1px solid var(--c-border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.25s var(--ease-smooth), border-color 0.25s ease, background-color 0.25s ease;
}

.stack__item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  background-color: var(--c-surface-hover);
}

.stack__item img {
  width: clamp(48px, 4.5vw, 60px);
  height: clamp(48px, 4.5vw, 60px);
  flex-shrink: 0;
  object-fit: contain;
}

.stack__name {
  padding: 6px;
  font-family: var(--ff-outfit);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  text-transform: capitalize;
  color: var(--c-white);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
/* ==========================================================================
   Testimonials Section (Compact Spacing & Interactive 3D Spotlight)
   ========================================================================== */
.testimonials {
  min-height: auto;
  padding: clamp(48px, 5.5vw, 72px) clamp(20px, 4vw, 48px) clamp(36px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonials__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 28px);
  max-width: 1258px;
  margin: 0 auto;
  width: 100%;
}

.testimonials__title {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.25;
  letter-spacing: 0.4px;
  color: var(--c-white);
}

.testimonials__sub {
  font-family: var(--ff-inter);
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--c-muted);
  margin-top: 4px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.5vw, 18px);
  perspective: 1200px;
}

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: auto;
  padding: clamp(16px, 1.8vw, 22px);
  background: rgba(16, 24, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease, 
              box-shadow 0.25s ease, 
              background-color 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* Dynamic Interactive Mouse Spotlight */
.quote::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(43, 127, 255, 0.22), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
}

/* Subtle Shimmer Border Accent */
.quote::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(43, 127, 255, 0.8), rgba(96, 165, 250, 0.8), transparent);
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.quote:hover::before,
.quote.quote--active::before {
  opacity: 1;
}

.quote:hover::after,
.quote.quote--active::after {
  opacity: 1;
  transform: translateX(0);
}

.quote:hover,
.quote.quote--active {
  border-color: rgba(43, 127, 255, 0.55);
  background: rgba(16, 24, 40, 0.92);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 
              0 0 24px -2px rgba(43, 127, 255, 0.35);
}

.quote__icon {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.quote:hover .quote__icon {
  transform: translateY(-2px) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(43, 127, 255, 0.6));
}

.quote__text {
  position: relative;
  z-index: 2;
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: clamp(13px, 0.98vw, 14.5px);
  line-height: 1.55;
  letter-spacing: -0.25px;
  color: #CBD5E1;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.quote:hover .quote__text {
  color: #F8FAFC;
}

.quote__author {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  min-height: 36px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.quote__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #2B7FFF 0%, #1D4ED8 100%);
  color: var(--c-white);
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(43, 127, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote:hover .quote__avatar {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(43, 127, 255, 0.6);
}

.quote__meta {
  display: flex;
  flex-direction: column;
}

.quote__name {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.3;
  letter-spacing: -0.15px;
  white-space: nowrap;
  color: var(--c-white);
}

.quote__role {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: 11.5px;
  line-height: 1.3;
  color: #94A3B8;
  white-space: nowrap;
}

/* ==========================================================================
   Brands Section
   ========================================================================== */
.brands {
  padding: clamp(36px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(60px, 6vw, 80px);
}

.brands__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
  max-width: 1217px;
  margin: 0 auto;
  width: 100%;
}

.brands__title {
  font-family: var(--ff-inter);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.4;
  letter-spacing: 0.35px;
  color: var(--c-white);
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 32px) clamp(14px, 1.8vw, 24px);
  width: 100%;
}

.brands__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(68px, 6vw, 79px);
  background-color: var(--c-white);
  border-radius: 7px;
  overflow: hidden;
  padding: 10px clamp(12px, 1.5vw, 20px);
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s ease;
}

.brands__tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.brand__logo {
  max-height: 44px;
  max-width: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand__logo--ibm { max-height: 30px; }
.brand__logo--microsoft { max-height: 34px; }
.brand__logo--neudesic { max-height: 38px; }
.brand__logo--airindia { max-height: 48px; }
.brand__logo--amn { max-height: 42px; }
.brand__logo--slb { max-height: 40px; }
.brand__logo--pepsico { max-height: 40px; }
.brand__logo--adani { max-height: 40px; }
.brand__logo--infosys { max-height: 34px; }
.brand__logo--downer { max-height: 42px; }
.brand__logo--srf { max-height: 38px; }
.brand__logo--fpl { max-height: 40px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--c-bg);
  background: linear-gradient(180deg, var(--c-bg) 64.3%, #373e51 123.7%);
  padding: clamp(60px, 7vw, 96px) clamp(20px, 4vw, 48px);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  min-height: auto;
  padding-bottom: 20px;
}

.footer__eyebrow {
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 20px;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  color: var(--c-muted);
}

.footer__title {
  margin: 16px 0 28px;
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.15;
  letter-spacing: 0.12px;
  max-width: 600px;
  color: var(--c-white);
}

.footer__title span {
  display: block;
  max-width: 480px;
  color: var(--c-slate);
}

.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-surface);
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: 0.4px;
  color: var(--c-white);
}

.footer__mail:hover {
  border-color: var(--c-white);
}

.footer__mail img {
  width: clamp(24px, 2.5vw, 34px);
  height: clamp(24px, 2.5vw, 34px);
  transform: rotate(-45deg);
  transition: transform 0.25s var(--ease-smooth);
}

.footer__mail:hover img {
  transform: rotate(0deg);
}

.footer__top-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: var(--c-white);
  flex-shrink: 0;
}

.footer__top-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--c-white);
  border-radius: var(--r-full);
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s ease;
}

.footer__top-btn:hover .footer__top-icon {
  transform: translateY(-4px);
  background-color: var(--c-white);
}

.footer__top-btn:hover .footer__top-icon img {
  filter: invert(1);
}

.footer__top-icon img {
  width: 24px;
  height: 24px;
  transition: filter 0.25s ease;
}

.footer__mid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 3.5vw, 40px);
  padding: 36px 0;
  border-top: 1px solid var(--c-divider);
}

.footer__brand {
  max-width: 400px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 28px;
  letter-spacing: -0.45px;
  color: var(--c-white);
}

.footer__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background-color: var(--c-white);
  color: #000;
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
}

.footer__about {
  margin-top: 20px;
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  letter-spacing: -0.31px;
  color: var(--c-muted);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__col-title {
  font-family: var(--ff-inter);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--c-white);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--ff-inter);
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: var(--c-muted);
}

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

.footer__socials {
  display: flex;
  gap: 14px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s ease, border-color 0.25s ease;
}

.footer__social:hover {
  transform: translateY(-3px);
  background-color: var(--c-white);
  border-color: var(--c-white);
}

.footer__social:hover img {
  filter: invert(1);
}

.footer__social img {
  width: 20px;
  height: 20px;
  transition: filter 0.25s ease;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--c-divider);
  font-family: var(--ff-inter);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
  color: var(--c-muted);
}

.footer__legal {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
}

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

/* ==========================================================================
   TABLET & MOBILE BREAKPOINTS (v2 Restored)
   ========================================================================== */

/* Laptop & Tablet Landscape (900px to 1100px) */
@media (max-width: 1100px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brands__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet Portrait & Smaller Screens (768px to 1024px) */
@media (max-width: 1024px) {
  .header__bar {
    padding: 16px 24px;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .nav__list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(16, 24, 40, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: max-height 0.35s var(--ease-smooth), padding 0.35s ease;
    padding: 0 24px;
    border-bottom: 1px solid var(--c-border);
  }
  
  .nav__list.is-open {
    max-height: 380px;
    padding: 16px 24px 28px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  }
  
  .nav__list li,
  .nav__list a {
    display: block;
    width: 100%;
    padding: 12px 0;
  }
  
  .nav__link--resume {
    display: inline-block;
    width: auto !important;
    margin-top: 8px;
  }

  /* Tablet Hero Layout (v5 Responsive Stack) */
  .hero {
    min-height: auto;
    padding: 50px 24px 60px;
    align-items: flex-start;
  }

  .hero__viewport {
    display: block;
    width: 100%;
    perspective: none;
  }

  .hero__stage {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    transform: none !important;
  }

  .hero__stage > * {
    position: static;
    transform: none !important;
  }

  .hero__title-layer {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    order: 1;
    transform: none !important;
    pointer-events: auto;
  }

  .hero__title {
    position: static;
    font-size: clamp(52px, 8.5vw, 84px);
    line-height: 1.05;
    letter-spacing: -2px;
    width: auto !important;
    height: auto !important;
    white-space: normal;
  }

  .hero__title--left {
    order: 1;
  }

  .hero__title--right {
    order: 2;
    margin-top: -8px;
  }

  .hero__photo-wrap,
  .hero__photo {
    order: 2;
    position: static;
    width: min(450px, 75vw);
    height: auto;
    aspect-ratio: 559 / 730;
    margin: 8px auto 16px;
    transform: none !important;
    display: block;
  }

  .hero__overlay {
    display: none;
  }

  .hero__arrow--left,
  .hero__arrow--right {
    display: none;
  }

  .hero__text--right {
    order: 3;
    position: static;
    width: min(540px, 100%) !important;
    font-size: 18px;
    line-height: 1.45;
    transform: none !important;
  }

  .hero__text--left {
    order: 4;
    position: static;
    width: min(440px, 100%) !important;
    font-size: 18px;
    line-height: 1.45;
    color: var(--c-body);
    transform: none !important;
  }

  .hero__quote {
    order: 5;
    position: static;
    transform: none !important;
    width: min(680px, 100%);
    max-width: 100%;
    border-radius: 24px;
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
    margin-top: 12px;
  }

  .hero__quote-main {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .hero__avatar {
    width: 72px;
    height: 72px;
  }

  .hero__quote-text {
    width: auto;
    font-size: 17px;
    line-height: 1.4;
  }

  .hero__hello {
    border-left: 0;
    border-top: 1px solid var(--c-border);
    padding-left: 0;
    padding-top: 14px;
    width: 100%;
    justify-content: center;
  }

  .process__scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer__mid {
    flex-wrap: wrap;
  }

  .footer__brand {
    max-width: 100%;
    width: 100%;
  }

  .footer__col {
    flex: 1 1 200px;
  }
}

/* Tablet & Mobile Breakpoint (<= 900px):
   Seamless Collapse to Single Column ("one below other") */
@media (max-width: 900px) {
  .projects {
    gap: 48px;
    padding: 60px 20px;
  }

  .projects__list {
    grid-template-columns: 1fr;
    max-width: 580px;
    row-gap: 36px;
  }

  .card:nth-child(even) {
    margin-top: 0 !important;
  }

  .card:nth-child(5) {
    grid-column: auto;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .heading__row {
    font-size: clamp(20px, 4.4vw, 28px);
    padding: 6px 10px;
    white-space: nowrap;
  }
  
  .projects {
    gap: 40px;
    padding: 50px 16px;
  }

  .card {
    padding: 12px;
    border-radius: 20px;
  }
  
  .card__media {
    height: 220px;
    border-radius: 16px;
  }
  
  .card__title {
    font-size: 19px;
  }
  
  .card__metrics {
    gap: 8px;
  }
  
  .metric {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 8px 12px;
  }
  
  .metric__value,
  .metric__label {
    white-space: normal;
  }
  
  .process {
    padding: 60px 16px;
  }
  
  .stack {
    padding: 60px 16px;
  }
  
  .stack__grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials {
    padding: 36px 16px;
  }
  
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .brands {
    padding: 30px 16px 50px;
  }
  
  .brands__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .brands__tile {
    height: 64px;
    padding: 8px 12px;
  }
  
  .footer {
    padding: 50px 16px;
  }
  
  .footer__title {
    font-size: 34px;
    line-height: 1.15;
  }
  
  .footer__mail {
    font-size: 18px;
    word-break: break-all;
  }
  
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .footer__legal {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* Extra small mobile screens (<= 480px) */
@media (max-width: 480px) {
  .heading__row {
    font-size: clamp(18px, 5.2vw, 24px);
    white-space: normal;
    word-break: break-word;
  }
}

/* Accessibility: Disable parallax transforms for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__grid-bg,
  .hero__grid-glow,
  .hero__title-layer,
  .hero__arrow--left,
  .hero__arrow--right,
  .hero__text--left,
  .hero__text--right {
    transform: none !important;
    transition: none !important;
  }
  .hero__photo-wrap,
  .hero__quote {
    transform: translateX(-50%) !important;
    transition: none !important;
  }
  .card {
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   High-Tech Fast Company Logo Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  background-color: #030712;
  background-image: 
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(37, 99, 235, 0.16) 0%, transparent 70%),
    radial-gradient(circle 350px at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.28s ease, 
              visibility 0.28s;
  will-change: opacity, transform;
}

.preloader.is-dismissed {
  opacity: 0;
  transform: scale(1.02);
  filter: blur(4px);
  pointer-events: none;
  visibility: hidden;
}

.preloader__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  max-width: 880px;
  width: 100%;
  animation: preloaderContentIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.preloader__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 999px;
  margin-bottom: 24px;
}

.preloader__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3B82F6;
  box-shadow: 0 0 10px #3B82F6;
  animation: preloaderPulse 1.2s infinite ease-in-out;
}

.preloader__badge-text {
  font-family: var(--ff-inter);
  font-size: 13px;
  font-weight: 500;
  color: #93C5FD;
  letter-spacing: -0.1px;
}

.preloader__headline {
  font-family: var(--ff-outfit);
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

.preloader__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.preloader__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 90px;
  padding: 10px 18px;
  background: rgba(16, 24, 40, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  animation: preloaderLogoEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--d, 0s);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.preloader__logo-item:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
}

.preloader__logo-item img {
  height: auto;
  max-height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(1.2) contrast(1.1);
}

.preloader__progress-bar {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

.preloader__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3B82F6, #06B6D4, #60A5FA);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
  border-radius: 999px;
  animation: preloaderFill 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader__hint {
  font-family: var(--ff-inter);
  font-size: 11px;
  color: #64748B;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes preloaderContentIn {
  0% { opacity: 0; transform: scale(0.96) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes preloaderLogoEntrance {
  0% { opacity: 0; transform: translateY(16px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes preloaderFill {
  0% { width: 0%; }
  50% { width: 68%; }
  100% { width: 100%; }
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@media (max-width: 640px) {
  .preloader__logos {
    gap: 10px;
  }
  .preloader__logo-item {
    height: 48px;
    padding: 8px 12px;
    min-width: 70px;
  }
  .preloader__logo-item img {
    max-height: 20px;
    max-width: 70px;
  }
}

/* ==========================================================================
   Floating Back to Top Button (Consistent across all pages)
   ========================================================================== */
.floating-back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16, 24, 40, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(43, 127, 255, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.floating-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-back-to-top:hover,
.floating-back-to-top:focus-visible {
  background: #2B7FFF;
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 15px 30px -5px rgba(43, 127, 255, 0.6), 0 0 25px rgba(43, 127, 255, 0.5);
}

.floating-back-to-top:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.floating-back-to-top__arrow {
  animation: bounceUp 2s infinite ease-in-out;
}

.floating-back-to-top__tooltip {
  position: absolute;
  right: 68px;
  background: rgba(16, 24, 40, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #FFFFFF;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: all 0.2s ease;
}

.floating-back-to-top:hover .floating-back-to-top__tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .floating-back-to-top {
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
  }

  .floating-back-to-top__tooltip {
    display: none;
  }
}

