/* ═══════════════════════════════════════════════════════════════
   main.css — Mukul Kankran Portfolio (Mobile Responsive Update)
═══════════════════════════════════════════════════════════════ */

/* ── GLOBAL RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background-color: #0a0a0a;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #e5e5e5; line-height: 1.6; overflow-x: hidden; cursor: none;
}

/* ── CUSTOM CURSOR ────────────────────────────────────────────── */
.cursor-dot {
  position: fixed; width: 7px; height: 7px;
  background: #ffffff; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
  transition: width .15s ease, height .15s ease, background .2s ease, box-shadow .2s ease;
  will-change: left, top;
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9998; transform: translate(-50%, -50%);
  transition: width .3s cubic-bezier(.34,1.56,.64,1),
              height .3s cubic-bezier(.34,1.56,.64,1), border-color .2s ease;
  will-change: left, top;
}
body.cursor-hover .cursor-dot  { width: 11px; height: 11px; background: #BC002D; box-shadow: 0 0 12px rgba(188,0,45,0.9); }
body.cursor-hover .cursor-ring { width: 50px; height: 50px; border-color: rgba(188,0,45,0.6); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } body { cursor: auto; } }

/* ── HEADER ───────────────────────────────────────────────────── */
body > header {
  position: fixed; top: 0; width: 100%; height: 5rem;
  background: rgba(10,10,10,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06); z-index: 200;
  transform: translateY(-100%); opacity: 0;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .4s ease;
}
body > header.header-visible { transform: translateY(0); opacity: 1; }
.header { max-width: 1400px; margin: 0 auto; padding: 0 3rem; height: 100%; display: flex; justify-content: space-between; align-items: center; }
.name { display: flex; align-items: center; gap: .75rem; cursor: none; }
.name img { height: 2.5rem; transition: transform .3s cubic-bezier(.34,1.56,.64,1); flex-shrink: 0; }
.name img:hover { transform: scale(1.05); }
.nav-name { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: .01em; white-space: nowrap; transition: color .3s ease; }
.name:hover .nav-name { color: #BC002D; }
.menus { display: flex; gap: 3rem; align-items: center; }
.menus span { color: #a0a0a0; font-size: .95rem; font-weight: 500; cursor: none; position: relative; transition: color .3s ease; letter-spacing: .02em; }
.menus span::after { content: ''; position: absolute; bottom: -.5rem; left: 0; width: 0; height: 2px; background: #BC002D; transition: width .3s cubic-bezier(.34,1.56,.64,1); }
.menus span:hover { color: #fff; }
.menus span:hover::after { width: 100%; }

/* ── MAIN WRAPPER ─────────────────────────────────────────────── */
main { max-width: 1400px; margin: 0 auto; position: relative; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh; min-height: 100dvh;
  position: sticky; top: 0; z-index: 1;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  visibility: visible; transition: visibility 0s;
}
.hero-section.hero-covered { visibility: hidden; }

.bounce-dot {
  position: absolute; width: 54px; height: 54px; background: #BC002D; border-radius: 50%;
  pointer-events: none; z-index: 10; opacity: 0;
  box-shadow: 0 0 20px rgba(188,0,45,.5), 0 0 50px rgba(188,0,45,.2);
  transform-origin: center center;
}
#shockwaves { position: absolute; inset: 0; pointer-events: none; z-index: 8; }
.shockwave-ring { position: absolute; width: 8px; height: 8px; border: 2px solid rgba(188,0,45,.7); border-radius: 50%; transform: translate(-50%,-50%) scale(0); pointer-events: none; }
.label-dot { display: inline-block; width: 6px; height: 6px; background: #BC002D; border-radius: 50%; margin-right: 7px; vertical-align: middle; transform: scale(0); transform-origin: center; transition: none; }
.card-dot { position: absolute; width: 7px; height: 7px; background: #BC002D; border-radius: 50%; pointer-events: none; z-index: 5; opacity: 0; transform: translate(-50%,-50%); }
.hero-logo-wrap { position: absolute; width: 160px; height: 160px; z-index: 12; pointer-events: auto; cursor: none; }
.logo-clip-wrap { overflow: hidden; }
.hero-logo-svg { width: 160px; height: 160px; display: block; }
.hindi-logo-img { position: absolute; top: 0; left: 0; width: 160px; height: 160px; object-fit: contain; display: none; }
.hero-text-block {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: 130px; padding-left: 1.5rem; padding-right: 1.5rem; width: 100%;
}
.hero-name { font-family: 'Montserrat', sans-serif; font-size: 6rem; font-weight: 900; color: #fff; letter-spacing: -.02em; opacity: 0; }
.hero-tagline { font-size: 1.15rem; font-weight: 300; color: rgba(255,255,255,.45); letter-spacing: .06em; margin-top: 1.2rem; opacity: 0; }

/* ── ROLES ────────────────────────────────────────────────────── */
.hero-roles-wrap { margin-top: 1.5rem; position: relative; height: 56px; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; opacity: 0; }
.hero-role { position: absolute; top: 0; left: 0; right: 0; height: 56px; line-height: 56px; text-align: center; font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; color: #BC002D; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; opacity: 0; animation: roleFade 15s ease-in-out infinite; animation-delay: calc(var(--i) * 3s); animation-play-state: paused; }
.hero-roles-wrap.roles-running .hero-role { animation-play-state: running; }
@keyframes roleFade {
  0%   { opacity: 0; transform: translateY(6px);  }
  6%   { opacity: 1; transform: translateY(0);     }
  20%  { opacity: 1; transform: translateY(0);     }
  26%  { opacity: 0; transform: translateY(-6px);  }
  100% { opacity: 0; transform: translateY(-6px);  }
}

/* ── SKIP / REPLAY ────────────────────────────────────────────── */
.skip-btn, .replay-btn {
  position: absolute; bottom: 2.5rem; right: 1.5rem;
  background: transparent; z-index: 20;
  font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 500;
  padding: .5rem 1rem; border-radius: 6px; cursor: none;
  letter-spacing: .06em; transition: border-color .2s ease, color .2s ease;
}
.skip-btn { border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.45); }
.skip-btn:hover { border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.8); }
.replay-btn { border: 1px solid rgba(188,0,45,.3); color: rgba(188,0,45,.6); }
.replay-btn:hover { border-color: rgba(188,0,45,.8); color: #BC002D; }

/* ── SCROLL INDICATOR ─────────────────────────────────────────── */
.scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: row; align-items: center; gap: .9rem; z-index: 2; }
.scroll-oval { width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.35); border-radius: 13px; position: relative; overflow: hidden; flex-shrink: 0; }
.scroll-dot { width: 6px; height: 6px; background: #BC002D; border-radius: 50%; position: absolute; left: 50%; transform: translateX(-50%); top: 5px; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { top: 5px; opacity: 1; } 70% { top: 26px; opacity: .2; } 100% { top: 5px; opacity: 1; } }
.scroll-text { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .15em; white-space: nowrap; }

/* ── PARALLAX STACKING ────────────────────────────────────────── */
article.home.show-home { position: relative; z-index: 10; background: #0a0a0a; border-radius: 28px 28px 0 0; margin-top: -40px; box-shadow: 0 -16px 60px rgba(0,0,0,0.8); }
.about-section  { position: relative; z-index: 11; background: #0d0d0d; border-radius: 28px 28px 0 0; margin-top: -40px; box-shadow: 0 -16px 60px rgba(0,0,0,0.85); }
.contact-section { position: relative; z-index: 12; background: #0a0a0a; border-radius: 28px 28px 0 0; margin-top: -40px; box-shadow: 0 -16px 60px rgba(0,0,0,0.9); }
.footer { position: relative; z-index: 13; background: #080808; }
article[class^="project-"]:not(.home) { position: relative; z-index: 20; background: #0a0a0a; }

/* ── SECTION LABELS ───────────────────────────────────────────── */
.section-label { display: inline-block; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: #BC002D; margin-bottom: 1rem; }
.section-title  { font-family: 'Montserrat', sans-serif; font-size: 3rem; font-weight: 700; color: #fff; margin-bottom: 1rem; line-height: 1.2; }

/* ── PORTFOLIO ────────────────────────────────────────────────── */
.home { padding: 8rem 2rem; }
.section-header { text-align: center; margin-bottom: 5rem; }
.portfolio-container { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.project-card--featured { grid-column: 1/-1; padding: 0; overflow: hidden; background: rgba(20,20,20,.6); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; cursor: none; transition: border-color .4s ease, box-shadow .4s ease; }
.project-card--featured:hover { border-color: rgba(188,0,45,.4); box-shadow: 0 0 60px rgba(188,0,45,.08); }
.featured-inner { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 340px; }
.featured-image-col { overflow: hidden; }
.featured-image-col .project-thumbnail { width: 90%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.project-card--featured:hover .featured-image-col .project-thumbnail { transform: scale(1.04); }
.featured-content-col { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.featured-cta { margin-top: 2rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: #BC002D; letter-spacing: .04em; text-transform: uppercase; transition: gap .3s ease; }
.project-card--featured:hover .featured-cta { gap: .9rem; }
.project-card { background: rgba(20,20,20,.6); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 2.5rem; cursor: none; position: relative; overflow: hidden; transition: all .4s cubic-bezier(.34,1.56,.64,1); }
.project-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #BC002D 0%, transparent 100%); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.project-card:hover::before { transform: scaleX(1); }
.project-card:hover { background: rgba(30,30,30,.8); border-color: rgba(188,0,45,.3); transform: translateY(-8px); }
.project-thumbnail { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 1.5rem; display: block; }
.project-number { font-family: 'Montserrat', sans-serif; font-size: 3rem; font-weight: 700; color: #BC002D; line-height: 1; margin-bottom: 1rem; }
.project-title { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: .75rem; line-height: 1.3; }
.project-description { font-size: .95rem; color: #808080; margin-bottom: 1.5rem; line-height: 1.6; }
.project-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tag { font-size: .75rem; font-weight: 600; padding: .4rem .8rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; color: #a0a0a0; text-transform: uppercase; letter-spacing: .05em; }
.project-arrow { position: absolute; bottom: 2rem; right: 2rem; font-size: 1.5rem; color: #BC002D; transform: translateX(-10px); opacity: 0; transition: all .3s ease; }
.project-card:hover .project-arrow { opacity: 1; transform: translateX(0); }

/* ── PROJECT DETAIL ───────────────────────────────────────────── */
article[class^="project-"] { padding: 6rem 2rem; display: none; }
article[class^="project-"] h2 { font-family: 'Montserrat', sans-serif; font-size: 3rem; color: #fff; margin-bottom: 2rem; line-height: 1.2; }
.back-button { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #e5e5e5; padding: .75rem 1.5rem; border-radius: 8px; font-size: .95rem; font-weight: 500; cursor: none; transition: all .3s ease; margin-bottom: 3rem; display: inline-block; }
.back-button:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); transform: translateX(-5px); }
.project-content { background: rgba(20,20,20,.6); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 3rem; min-height: 400px; }

/* ── CASE STUDY ───────────────────────────────────────────────── */
.case-study-header { margin-bottom: 4rem; max-width: 900px; }
.cs-view-project { display: flex; justify-content: center; padding: 4rem 0 2rem; }
.btn-view-project { display: inline-flex; align-items: center; gap: .5rem; padding: 1rem 2.5rem; background: transparent; color: #fff; border: 2px solid #BC002D; border-radius: 8px; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: none; transition: all .3s cubic-bezier(.34,1.56,.64,1); }
.btn-view-project:hover { background: #BC002D; transform: translateY(-2px); box-shadow: 0 6px 30px rgba(188,0,45,.35); }
.btn-view-project .btn-arrow { transition: transform .3s ease; }
.btn-view-project:hover .btn-arrow { transform: translate(3px,-3px); }
.case-study-actions { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.case-study-actions .back-button, .case-study-actions .btn-view-project { padding: .75rem 1.5rem; font-size: .95rem; display: flex; align-items: center; gap: .5rem; white-space: nowrap; margin: 0; }
.case-study-meta { display: flex; gap: 3rem; margin-bottom: 2rem; flex-wrap: wrap; }
.meta-item { display: flex; flex-direction: column; gap: .25rem; }
.meta-label { font-size: .85rem; color: #808080; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.meta-value { font-size: 1rem; color: #e5e5e5; font-weight: 500; }
.case-study-title { font-family: 'Montserrat', sans-serif; font-size: 4rem; font-weight: 900; color: #fff; margin-bottom: 1.5rem; line-height: 1.1; letter-spacing: -.02em; }
.case-study-intro { font-size: 1.35rem; line-height: 1.6; color: #a0a0a0; max-width: 800px; }
.case-study-hero { width: 100%; height: 20rem; overflow: hidden; background: rgba(20,20,20,.6); border: 1px solid rgba(255,255,255,.08); }
.case-study-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-study-content { max-width: 1200px; margin: 0 auto; }
.cs-section { padding: 5rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.cs-section:last-child { border-bottom: none; }
.cs-section-alt { background: linear-gradient(180deg,transparent 0%,rgba(188,0,45,.02) 100%); margin-left: -3rem; margin-right: -3rem; padding-left: 3rem; padding-right: 3rem; border-radius: 16px; }
.cs-section-title { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 700; color: #fff; margin-bottom: 3rem; position: relative; display: inline-block; }
.cs-section-title::after { content: ''; position: absolute; bottom: -.5rem; left: 0; width: 60px; height: 3px; background: #BC002D; }
.cs-subtitle { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; margin-top: 2.5rem; }
.cs-subtitle:first-child { margin-top: 0; }
.cs-text { font-size: 1.05rem; line-height: 1.8; color: #a0a0a0; margin-bottom: 1.5rem; }
.cs-list { list-style: none; padding: 0; margin: 0; }
.cs-list li { font-size: 1.05rem; line-height: 1.8; color: #a0a0a0; margin-bottom: .75rem; padding-left: 1.5rem; position: relative; }
.cs-list li::before { content: '→'; position: absolute; left: 0; color: #BC002D; font-weight: 600; }
.cs-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.cs-col { display: flex; flex-direction: column; }
.cs-image { width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); }
.cs-design-block { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.06); }
.cs-design-block:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.cs-caption { font-size: .9rem; color: #808080; margin-top: 1rem; font-style: italic; text-align: center; }
.cs-next-project { margin-top: 6rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.06); }
.cs-next-title { font-size: .85rem; color: #808080; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 1.5rem; }
.cs-next-card { background: rgba(20,20,20,.6); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 2rem 2.5rem; display: flex; align-items: center; gap: 2rem; cursor: none; transition: all .3s ease; position: relative; overflow: hidden; }
.cs-next-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg,#BC002D 0%,transparent 100%); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.cs-next-card:hover::before { transform: scaleX(1); }
.cs-next-card:hover { background: rgba(30,30,30,.8); border-color: rgba(188,0,45,.3); transform: translateX(10px); }
.cs-next-number { font-family: 'Montserrat', sans-serif; font-size: 3rem; font-weight: 700; color: rgba(188,0,45,.3); line-height: 1; }
.cs-next-name { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0; flex: 1; }
.cs-next-arrow { font-size: 2rem; color: #BC002D; transition: transform .3s ease; }
.cs-next-card:hover .cs-next-arrow { transform: translateX(10px); }

/* ── AVAIL DOT ────────────────────────────────────────────────── */
.avail-dot { width: 7px; height: 7px; background: #3ecf4a; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 6px rgba(62,207,74,.7); animation: pulse-dot 2s ease-in-out infinite; display: inline-block; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 6px rgba(62,207,74,.7); } 50% { box-shadow: 0 0 12px rgba(62,207,74,1); } }

/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.about-section { padding: 8rem 2rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-left { display: flex; flex-direction: column; gap: 0; }
.about-title { font-family: 'Montserrat', sans-serif; font-size: clamp(2.6rem, 4vw, 4rem); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1.75rem; }
.about-bio { font-size: 1.05rem; color: #808080; line-height: 1.8; margin-bottom: 1.25rem; }

/* Avatar scene */
.about-scene { position: relative; width: 100%; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.about-scene::before { content: ''; position: absolute; width: 340px; height: 340px; background: radial-gradient(circle, rgba(188,0,45,.11) 0%, transparent 70%); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }

/* Tooltip */
.scene-tooltip { position: absolute; bottom: calc(50% - 80px); left: 50%; transform: translateX(-50%) translateY(8px); display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1.15rem; background: rgba(14,14,14,.92); border: 1px solid rgba(188,0,45,.35); border-radius: 100px; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; z-index: 10; pointer-events: none; opacity: 0; transition: opacity .5s ease, transform .5s ease; box-shadow: 0 4px 24px rgba(0,0,0,.5); }
.scene-tooltip svg { width: 14px; height: 14px; stroke: #BC002D; flex-shrink: 0; }
.scene-tooltip--visible { opacity: 1; transform: translateX(-50%) translateY(0px); }
.scene-tooltip:not(.scene-tooltip--visible) { transition: opacity .8s ease 0s, transform .5s ease; }

/* Availability badge */
.scene-avail { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .42rem 1rem; background: rgba(10,10,10,.88); border: 1px solid rgba(62,207,74,.3); border-radius: 100px; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.65); white-space: nowrap; z-index: 6; pointer-events: none; }

/* Avatar float */
.scene-avatar { position: relative; z-index: 3; display: block; cursor: none; text-decoration: none; animation: sceneFloat 5s ease-in-out infinite; }
@keyframes sceneFloat { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-14px); } }
.scene-avatar-img { width: 300px; height: auto; display: block; filter: drop-shadow(0 20px 60px rgba(0,0,0,.6)); }

/* Download hint */
.scene-avatar-hint { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 2rem; background: linear-gradient(to top, rgba(10,10,10,.75) 0%, transparent 55%); opacity: 0; transition: opacity .35s ease; pointer-events: none; border-radius: 12px; }
.scene-avatar:hover .scene-avatar-hint { opacity: 1; }
.scene-avatar-hint svg { width: 22px; height: 22px; stroke: #fff; margin-bottom: .3rem; }
.scene-avatar-hint span { font-size: .72rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .1em; }

/* Float icons */
.float-icon { position: absolute; width: 52px; height: 52px; background: rgba(16,16,16,.92); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; cursor: default; z-index: 5; transition: border-color .25s, box-shadow .25s, transform .25s; }
.float-icon img { width: 30px; height: 30px; object-fit: contain; pointer-events: none; display: block; }
.float-icon:hover { border-color: rgba(188,0,45,.55); box-shadow: 0 0 20px rgba(188,0,45,.22); transform: scale(1.15) !important; }
.float-icon::after { content: attr(data-label); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: rgba(8,8,8,.95); border: 1px solid rgba(255,255,255,.1); color: #e5e5e5; font-size: .7rem; font-weight: 600; white-space: nowrap; padding: .28rem .6rem; border-radius: 6px; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.float-icon:hover::after { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact-section { padding: 8rem 2rem; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6rem; align-items: start; max-width: 1200px; margin: 0 auto; }
.contact-left .section-title { margin-bottom: 1.5rem; }
.contact-email-cta { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; font-family: 'Montserrat', sans-serif; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 800; color: #fff; text-decoration: none; cursor: none; margin-bottom: 1.5rem; letter-spacing: -.01em; transition: color .25s ease; border-bottom: 2px solid rgba(255,255,255,.1); padding-bottom: .5rem; line-height: 1.3; word-break: break-all; }
.contact-email-cta:hover { color: #BC002D; border-bottom-color: rgba(188,0,45,.5); }
.contact-email-arrow { font-size: 1rem; opacity: .5; transition: opacity .25s, transform .25s; }
.contact-email-cta:hover .contact-email-arrow { opacity: 1; transform: translate(3px, -3px); }
.contact-blurb { font-size: .95rem; color: #606060; line-height: 1.75; margin-bottom: 2rem; }
.contact-pills { display: flex; gap: .65rem; flex-wrap: wrap; }
.contact-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 100px; color: #a0a0a0; font-size: .85rem; font-weight: 500; text-decoration: none; cursor: none; transition: border-color .25s, color .25s, background .25s; }
.contact-pill svg { width: 14px; height: 14px; flex-shrink: 0; }
.contact-pill:hover { border-color: rgba(188,0,45,.45); color: #fff; background: rgba(188,0,45,.07); }
.contact-right { display: flex; flex-direction: column; }
.input-group { margin-bottom: 1.4rem; }
.input-group label { display: block; font-size: .82rem; font-weight: 600; color: #505050; margin-bottom: .5rem; letter-spacing: .05em; text-transform: uppercase; }
.input-group input, .input-group textarea { width: 100%; padding: .95rem 1.1rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); border-radius: 8px; color: #e5e5e5; font-family: 'Inter', sans-serif; font-size: .95rem; transition: border-color .25s ease, background .25s ease; cursor: none; -webkit-appearance: none; appearance: none; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: #BC002D; background: rgba(188,0,45,.04); }
.input-group textarea { resize: vertical; min-height: 140px; }
.btn-submit { width: 100%; padding: 1rem 2rem; background: #BC002D; color: #fff; border: none; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 600; cursor: none; display: flex; align-items: center; justify-content: center; gap: .5rem; transition: all .3s cubic-bezier(.34,1.56,.64,1); box-shadow: 0 4px 20px rgba(188,0,45,.25); -webkit-appearance: none; appearance: none; }
.btn-submit:hover { background: #a00027; transform: translateY(-2px); box-shadow: 0 6px 30px rgba(188,0,45,.4); }
.btn-arrow { font-size: 1.1rem; transition: transform .3s ease; }
.btn-submit:hover .btn-arrow { transform: translateX(5px); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer { padding: 5rem 2rem 3rem; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-cta-block { text-align: center; margin-bottom: 4rem; }
.footer-cta-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: #404040; margin-bottom: 1.2rem; }
.footer-cta-email { display: block; font-family: 'Montserrat', sans-serif; font-size: clamp(1.6rem, 5vw, 4rem); font-weight: 900; color: #fff; text-decoration: none; letter-spacing: -.02em; line-height: 1.1; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.55) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; transition: opacity .3s ease; cursor: none; word-break: break-all; }
.footer-cta-email:hover { opacity: .72; }
.footer-rule { height: 1px; background: rgba(255,255,255,.06); margin-bottom: 2rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-mark { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 900; color: #BC002D; letter-spacing: .02em; }
.footer-copy { font-size: .85rem; color: #404040; }
.footer-social { display: flex; gap: .5rem; }
.footer-social-link { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #606060; cursor: none; text-decoration: none; transition: border-color .25s, color .25s, background .25s; }
.footer-social-link svg { width: 16px; height: 16px; }
.footer-social-link:hover { border-color: rgba(188,0,45,.4); color: #fff; background: rgba(188,0,45,.08); }

/* ── UTILITIES ────────────────────────────────────────────────── */
.hideAll   { display: none !important; }
.show-home { display: block; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1200px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .header { padding: 0 2rem; }
  .section-title { font-size: 2.5rem; }
  .about-grid { gap: 2.5rem; }
  .contact-inner { gap: 4rem; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET PORTRAIT (≤968px)
   Key fix: stack about section, center text, keep icons around avatar
════════════════════════════════════════════════════════════════ */
@media (max-width: 968px) {
  .hero-name { font-size: 3.5rem; }
  .hero-text-block { padding-top: 110px; }

  .portfolio-container { grid-template-columns: 1fr; }
  .featured-inner { grid-template-columns: 1fr; min-height: auto; }
  .featured-image-col .project-thumbnail { height: 240px; }
  .featured-content-col { padding: 2rem; }

  /* About: text on top, scene below */
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-left { text-align: center; align-items: center; }
  .about-scene { min-height: 440px; overflow: visible; }
  .scene-avatar-img { width: 240px; }

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

  .case-study-title { font-size: 3rem; }
  .case-study-hero { height: 14rem; }
  .cs-two-col { grid-template-columns: 1fr; gap: 2rem; }
  .cs-section-alt { margin-left: -2rem; margin-right: -2rem; padding-left: 2rem; padding-right: 2rem; }

  article.home.show-home, .about-section, .contact-section { border-radius: 22px 22px 0 0; margin-top: -30px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header */
  body > header { height: 4.5rem; }
  .header { padding: 0 1.25rem; }
  .menus { gap: 1.5rem; }
  .menus span { font-size: .85rem; }
  .nav-name { display: none; }
  .name img { height: 2rem; }

  /* Hero */
  .hero-name { font-size: 2.6rem; }
  .hero-text-block { padding-top: 105px; }
  .hero-tagline { font-size: .95rem; letter-spacing: .04em; }
  .hero-role { font-size: 1rem; }
  .hero-logo-svg, .hero-logo-wrap, .hindi-logo-img { width: 120px; height: 120px; }
  .bounce-dot { width: 36px; height: 36px; }
  .skip-btn, .replay-btn { bottom: 1.5rem; right: 1rem; font-size: .72rem; padding: .4rem .85rem; }
  .scroll-indicator { bottom: 1.5rem; gap: .6rem; }
  .scroll-text { display: none; }

  /* Sections */
  .section-title { font-size: 2rem; }
  .home { padding: 5rem 1.5rem 4rem; }
  .about-section { padding: 5rem 1.5rem 4rem; }
  .contact-section { padding: 5rem 1.5rem 4rem; }
  .footer { padding: 4rem 1.5rem 2.5rem; }
  article[class^="project-"] { padding: 4rem 1.5rem; }

  /* Portfolio */
  .project-card { padding: 1.75rem; }
  .project-number { font-size: 2.25rem; }
  .project-title { font-size: 1.25rem; }
  .project-thumbnail { height: 180px; }
  .section-header { margin-bottom: 3rem; }

  /* About scene */
  .about-scene { min-height: 400px; overflow: visible; }
  .scene-avatar-img { width: 200px; }
  .float-icon { width: 42px; height: 42px; border-radius: 10px; }
  .float-icon img { width: 24px; height: 24px; }
  .scene-avail { font-size: .72rem; padding: .35rem .8rem; }

  /* Contact */
  .contact-email-cta { font-size: clamp(1rem, 4.5vw, 1.4rem); }
  .contact-pills { gap: .5rem; }
  .contact-pill { padding: .45rem .9rem; font-size: .8rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-cta-block { margin-bottom: 3rem; }

  /* Case study */
  .case-study-actions { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .case-study-title { font-size: 2.25rem; }
  .case-study-hero { height: 12rem; }
  .case-study-intro { font-size: 1.1rem; }
  .case-study-meta { gap: 1.5rem; }
  .cs-section-alt { margin-left: -1.5rem; margin-right: -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; }
  .cs-next-card { padding: 1.5rem; gap: 1.25rem; }
  .cs-next-number { font-size: 2rem; }
  .cs-next-name { font-size: 1.25rem; }

  article.home.show-home, .about-section, .contact-section { border-radius: 18px 18px 0 0; margin-top: -20px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Hero */
  .hero-name { font-size: 1.95rem; letter-spacing: -.01em; }
  .hero-text-block { padding-top: 88px; }
  .hero-tagline { font-size: .85rem; }
  .hero-role { font-size: .82rem; letter-spacing: .03em; }
  .bounce-dot { width: 28px; height: 28px; }
  .hero-logo-svg, .hero-logo-wrap, .hindi-logo-img { width: 100px; height: 100px; }
  .hero-roles-wrap { height: 46px; }
  .hero-role { height: 46px; line-height: 46px; }

  /* Sections */
  .section-title { font-size: 1.75rem; }
  .home, .about-section, .contact-section { padding: 4rem 1rem 3.5rem; }
  .footer { padding: 3.5rem 1rem 2rem; }
  article[class^="project-"] { padding: 3.5rem 1rem; }

  /* Portfolio */
  .project-card { padding: 1.5rem; }
  .project-number { font-size: 1.9rem; }
  .project-title { font-size: 1.15rem; }
  .project-description { font-size: .88rem; }
  .tag { font-size: .68rem; padding: .3rem .65rem; }
  .project-thumbnail { height: 160px; }

  /* About */
  .about-title { font-size: 2.1rem; }
  .about-bio { font-size: .95rem; }
  .about-scene { min-height: 360px; overflow: visible; }
  .scene-avatar-img { width: 170px; }
  .float-icon { width: 36px; height: 36px; border-radius: 8px; }
  .float-icon img { width: 20px; height: 20px; }
  .float-icon::after { display: none; } /* no hover tooltips on touch */
  .scene-tooltip { font-size: .75rem; padding: .5rem .9rem; max-width: 90vw; white-space: normal; text-align: center; }

  /* Contact */
  .contact-email-cta { font-size: clamp(.9rem, 3.8vw, 1.2rem); }
  .input-group input, .input-group textarea { font-size: .9rem; padding: .8rem .9rem; }
  .btn-submit { font-size: .9rem; padding: .9rem 1.5rem; }

  /* Case study */
  .case-study-title { font-size: 1.75rem; }
  .case-study-hero { height: 10rem; }
  .cs-section-title { font-size: 1.5rem; }
  .cs-text { font-size: .95rem; }
  .cs-section-alt { margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; }
  .cs-subtitle { font-size: 1.25rem; }

  /* Footer */
  .footer-cta-email { font-size: clamp(1.3rem, 7vw, 2rem); }
  .footer-copy { font-size: .78rem; }

  article.home.show-home, .about-section, .contact-section { border-radius: 14px 14px 0 0; margin-top: -15px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — VERY SMALL (≤360px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .hero-name { font-size: 1.6rem; }
  .menus { gap: .9rem; }
  .menus span { font-size: .78rem; }
  .scene-avatar-img { width: 140px; }
  .about-scene { min-height: 300px; }
  .float-icon { width: 30px; height: 30px; border-radius: 6px; }
  .float-icon img { width: 17px; height: 17px; }
  .contact-email-cta { font-size: .85rem; }
}