/* ============================================================
   SHAHNAWAZ — DIGITAL SPACE
   style.css  |  soft, atmospheric, imperfect, asymmetrical
   ============================================================ */

/* ── Fonts & Custom Properties ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300;1,400&family=Inter:wght@100;200;300;400;500&display=swap');

:root {
  /* Colors */
  --c-bg:       #030304;
  --c-surface:  rgba(255,255,255,0.015);
  --c-border:   rgba(255,255,255,0.04);
  --c-text:     #e4e4e7;
  --c-muted:    rgba(255,255,255,0.6); /* Improved readability contrast */
  --c-faint:    rgba(255,255,255,0.08);

  /* Ambient orbs (Breathing) */
  --c-purple:   rgba(124,58,237,0.18);
  --c-blue:     rgba(37,99,235,0.13);

  /* Typography scale */
  --fs-hero:    clamp(48px, 8.5vw, 92px); /* Slightly refined scale */
  --fs-h2:      clamp(34px, 5.2vw, 54px);
  --fs-footer:  22px;
  --fs-lg:      clamp(16px, 1.8vw, 18px);
  --fs-base:    15px;
  --fs-sm:      13px;
  --fs-xs:      11px;

  /* Font families */
  --ff-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  /* Spacing (Refined for better layout density on mobile/desktop) */
  --section-pad: clamp(80px, 9vw, 140px);
  --container:   1000px;
  --gap:         clamp(32px, 5vw, 64px);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--ff-body);
  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
  min-height: 100vh;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; }


/* ============================================================
   AMBIENT BACKGROUND SYSTEM (Breathing & Drifting)
   ============================================================ */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  will-change: transform;
}

.ambient__orb--purple {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--c-purple) 0%, transparent 70%);
  top: -150px;
  left: -150px;
  animation: orbDrift 28s ease-in-out infinite alternate, orbBreath 8s ease-in-out infinite alternate;
}

.ambient__orb--blue {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--c-blue) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  animation: orbDrift 24s ease-in-out infinite alternate-reverse, orbBreath 10s ease-in-out infinite alternate;
  animation-delay: -5s;
}

.ambient__noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes orbBreath {
  0% { filter: blur(140px); opacity: 0.8; }
  100% { filter: blur(160px); opacity: 1; }
}


/* ============================================================
   CURSOR GLOW (Extremely Soft, Whisper of Light)
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.022) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease;
  will-change: transform;
}

@media (hover: none) {
  .cursor-glow { display: none; }
}


/* ============================================================
   VIEWPORT WATERMARKS (Asymmetrical, low-opacity, cinematic)
   ============================================================ */
.viewport-watermarks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  display: block;
}

.watermark {
  position: absolute;
  font-family: var(--ff-body);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.08);
  white-space: nowrap;
  animation: watermarkFloat 12s ease-in-out infinite alternate;
}

.watermark--tl {
  top: 90px;
  left: 40px;
}

.watermark--tr {
  top: 90px;
  right: 40px;
  animation-delay: -3s;
}

.watermark--bl {
  bottom: 40px;
  left: 40px;
  animation-delay: -6s;
}

.watermark--br {
  bottom: 40px;
  right: 40px;
  animation-delay: -9s;
}

@keyframes watermarkFloat {
  0% { transform: translateY(0); opacity: 0.04; }
  100% { transform: translateY(-8px); opacity: 0.1; }
}

@media (max-width: 900px) {
  .viewport-watermarks { display: none; }
}


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  transition: all 0.5s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(3,3,4,0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 48px;
  border-bottom: 1px solid var(--c-border);
}

.nav__wordmark {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.3px;
  color: rgba(255,255,255,0.85);
}

.nav__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  letter-spacing: 0.5px;
}

.nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.5);
  animation: pulse 4s ease-in-out infinite;
}


/* ============================================================
   TOAST SYSTEM (Immersive glassmorphic toast with custom slide transition)
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  top: 30px;
  transform: translateX(-50%) translateY(-100px);
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(15,15,20,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 30px rgba(124,58,237,0.05);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  z-index: 200;
  transition: transform 0.7s var(--ease-out-expo), opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}


/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 48px);
}

.section-label {
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-muted);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  z-index: 2;
}

.hero__container {
  display: flex;
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 600px;
  padding-left: clamp(0px, 4vw, 80px);
}

.hero__eyebrow {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out-expo) 0.2s forwards;
}

.hero__name {
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-out-expo) 0.4s forwards;
  user-select: none;
}

.hero__tagline {
  font-family: var(--ff-body);
  font-size: var(--fs-lg);
  font-weight: 200;
  line-height: 1.8;
  color: rgba(255,255,255,0.85); /* Enhanced contrast */
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-out-expo) 0.6s forwards;
}

.hero__phrase {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-out-expo) 0.8s forwards;
}

.hero__scroll-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out-expo) 1.2s forwards;
}

.hero__scroll-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.3), transparent);
  animation: scrollLineRight 2.5s ease-in-out infinite;
  transform-origin: left;
}

.hero__scroll-hint span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

@keyframes scrollLineRight {
  0%, 100% { transform: scaleX(1); opacity: 0.8; }
  50% { transform: scaleX(0.5); opacity: 0.3; }
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--gap);
  align-items: center;
}

.about__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin-bottom: 24px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.5);
  animation: pulse 4s ease-in-out infinite;
  flex-shrink: 0;
}

.about__heading {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.about__heading-primary {
  display: block;
  font-weight: 500;
  color: #ffffff;
}

.about__heading-secondary {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.52em;
  font-weight: 200;
  font-style: italic;
  color: var(--c-muted);
  margin-top: 14px;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.about__body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.85); /* LEGIBLE CONTRAST */
  max-width: 440px;
  margin-bottom: 36px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.55);
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
}

.pill:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  transform: translateY(-2px);
}

.about__footer-caption {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.22);
  margin-top: 36px;
}

/* Right Side Card (Silhouette, Breathing particle flow) */
.about__card {
  position: relative;
}

.card__inner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(3,3,4,0.55);
  border: 1px solid var(--c-border);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s ease, border-color 0.4s ease;
  cursor: pointer;
  height: 480px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.card__inner:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.75), 
    0 0 50px rgba(124,58,237,0.08), 
    0 0 100px rgba(37,99,235,0.05);
  border-color: rgba(255,255,255,0.15);
}

.card__backlight {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  will-change: transform;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.6s ease;
  animation: cardBreath 8s ease-in-out infinite alternate;
}

.card__backlight.color-1 {
  background: radial-gradient(circle, rgba(124,58,237,0.6), transparent 70%);
  top: -20px;
  left: -20px;
}

.card__backlight.color-2 {
  background: radial-gradient(circle, rgba(37,99,235,0.5), transparent 70%);
  bottom: -20px;
  right: -20px;
  animation-delay: -4s;
}

.card__inner:hover .card__backlight {
  opacity: 0.3;
}

@keyframes cardBreath {
  0% { transform: scale(1); filter: blur(80px); }
  100% { transform: scale(1.15); filter: blur(95px); }
}

.card__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth), opacity 0.8s ease, filter 0.8s ease;
  opacity: 0.48; /* Soft mysterious opacity */
  filter: grayscale(30%) brightness(75%) contrast(105%) blur(1px); /* Moody dark look */
}

.card__inner:hover .card__image {
  transform: scale(1.04); /* Gentle zoom parallax */
  opacity: 0.72; /* Clearer / zoom reveal on hover */
  filter: grayscale(0%) brightness(90%) contrast(110%) blur(0px);
}

.card__fallback {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(3,3,4,0.3);
  backdrop-filter: blur(12px);
}

.card__fallback-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
  position: relative;
}

.card__fallback-circle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.03);
}

.card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,3,4,0.95) 0%, rgba(3,3,4,0.2) 50%, rgba(3,3,4,0.5) 100%);
  z-index: 3;
}

.card__dust {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.dust-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(0.5px);
}

.particle-1 {
  top: 30%;
  left: 20%;
  animation: dustDrift 14s linear infinite;
}

.particle-2 {
  top: 70%;
  left: 80%;
  animation: dustDrift 18s linear infinite;
  animation-delay: -4s;
}

.particle-3 {
  top: 45%;
  left: 50%;
  animation: dustDrift 16s linear infinite;
  animation-delay: -8s;
}

@keyframes dustDrift {
  0% { transform: translateY(40px) translateX(0) scale(0.8); opacity: 0; }
  50% { opacity: 0.25; }
  100% { transform: translateY(-80px) translateX(30px) scale(1.2); opacity: 0; }
}

.card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 5;
}

.card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3,3,4,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px 18px;
}

.card__name {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
}

.card__hint {
  font-family: var(--ff-body);
  font-size: 11px;
  color: var(--c-muted);
}

.card__floater {
  position: absolute;
  transform: translate(-50%, -100%);
  font-family: var(--ff-body);
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  background: rgba(3,3,4,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.card__floater.show {
  opacity: 1;
  transform: translate(-50%, -140%);
}


/* ============================================================
   QUOTE SECTION
   ============================================================ */
.quote-section {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) 0;
  text-align: center;
}

.quote__wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding: 60px 24px;
}

.quote__glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 140px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.04), rgba(37,99,235,0.02), transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.quote__divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  margin: 0 auto 36px;
  z-index: 2;
  position: relative;
}

.quote__divider--bottom {
  margin: 36px auto 0;
}

.quote__text {
  font-family: var(--ff-display);
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 300;
  line-height: 1.7; /* Expanded height for beautiful pacing */
  letter-spacing: -0.015em;
  color: #ffffff; /* Legible white */
  margin-bottom: 24px;
  z-index: 2;
  position: relative;
}

.quote__continuation {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 300;
  color: var(--c-muted);
  letter-spacing: 0.1px;
  z-index: 2;
  position: relative;
}

.quote__caption {
  display: block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.3);
  margin-top: 36px;
  z-index: 2;
  position: relative;
}


/* ============================================================
   SOCIALS
   ============================================================ */
.socials {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) 0;
}

.socials__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(32px, 4vw, 48px);
  flex-wrap: wrap;
  gap: 12px;
}

.socials__caption {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 200;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.5px;
}

.socials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 30px;
  border-radius: 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.6s ease;
  color: white;
}

.social-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.social-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.015) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.social-card:hover .social-card__glow {
  opacity: 1;
}

.social-card:hover {
  transform: translateY(-6px); /* Elevate Y movement */
  border-color: rgba(255,255,255,0.12); /* Subtle lighting contrast */
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.5), 
    0 0 35px rgba(255,255,255,0.015);
}

.social-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.social-card__platform {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-muted);
}

.social-card__arrow {
  font-size: 16px;
  color: rgba(255,255,255,0.15);
  transition: all 0.4s var(--ease-smooth);
}

.social-card:hover .social-card__arrow {
  color: rgba(255,255,255,0.7);
  transform: translate(3px, -3px);
}

.social-card__handle {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  line-height: 1;
}

.social-card__desc {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.42);
  margin-top: auto;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 10vw, 150px) 24px clamp(60px, 7vw, 100px);
  text-align: center;
  border-top: 1px solid var(--c-border);
}

.footer__inner {
  max-width: 600px;
  margin: 0 auto;
}

.footer__name {
  font-family: var(--ff-display);
  font-size: var(--fs-footer);
  font-weight: 500;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer__quote {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.01em;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 32px;
}

.footer__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.5px;
}

.footer__sep {
  opacity: 0.3;
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   HERO ENTRY ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================================
   RESPONSIVE (Heavy Mobile density optimizations)
   ============================================================ */

/* Tablet & Mobile Layout Shifts */
@media (max-width: 900px) {
  :root {
    /* Tighten margins for more layout density on mobile */
    --section-pad: clamp(40px, 5vw, 60px); /* Tighter vertical padding */
    --gap: 20px;
  }

  /* GPU OPTIMIZATIONS: Replace expensive blurs with softer gradients/opacities */
  .ambient__orb {
    filter: blur(40px); /* Dramatically reduced blur */
    animation: none; /* Disable drift/breath to save battery */
    opacity: 0.8;
  }

  .ambient__orb--purple {
    background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 60%);
  }

  .ambient__orb--blue {
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 60%);
  }

  .card__backlight {
    filter: blur(30px);
    animation: none;
    opacity: 0.15;
  }

  .card__dust {
    display: none; /* Disable particle system on mobile */
  }

  /* Simplify glassmorphism */
  .toast, .nav.scrolled, .card__name-row, .card__floater {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(15,15,20, 0.95);
    border-color: rgba(255,255,255,0.12);
  }

  /* Fix reveal lag */
  .reveal {
    transform: translateY(10px); /* Shorter travel distance */
    transition: opacity 0.8s ease, transform 0.8s ease; /* Faster, simpler transition */
  }

  .hero {
    padding: 100px 0 20px;
    min-height: auto;
    height: auto;
  }

  .hero__container {
    padding-top: 40px;
  }

  .hero__content {
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
    padding-left: 0;
    margin: 0;
  }

  .hero__scroll-hint {
    justify-content: flex-start;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__card {
    max-width: 100%;
    margin: 0;
  }

  .card__inner {
    height: 380px;
    border-radius: 18px;
  }

  .socials__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }

  .socials__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about__body {
    max-width: 100%;
  }

  .about__footer-caption {
    margin-top: 16px;
  }
}

/* Small mobile optimizations */
@media (max-width: 600px) {
  :root {
    --fs-hero: clamp(40px, 10vw, 52px);
    --fs-h2: clamp(28px, 7vw, 36px);
  }

  .nav {
    padding: 20px 24px;
  }

  .nav.scrolled {
    padding: 14px 24px;
  }

  .hero {
    padding: 90px 0 10px;
  }

  .hero__tagline {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero__phrase {
    margin-bottom: 40px;
  }

  .about__heading {
    letter-spacing: -0.015em;
    margin-bottom: 16px;
  }

  .about__body {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .card__inner {
    height: 320px;
  }

  .social-card {
    padding: 20px;
    min-height: 120px;
  }

  .social-card__handle {
    font-size: 18px;
  }

  .social-card__desc {
    font-size: 12px;
  }

  .quote__wrap {
    padding: 30px 16px;
  }

  .quote__text {
    font-size: clamp(16px, 5.5vw, 22px);
    margin-bottom: 16px;
  }

  .quote__caption {
    margin-top: 24px;
  }

  .footer {
    padding: 60px 24px 40px;
  }

  .footer__meta {
    flex-direction: column;
    gap: 8px;
  }

  .footer__sep {
    display: none;
  }

  .pills {
    gap: 8px;
  }

  .pill {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* Respecting reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html { scroll-behavior: auto; }
}
