/* ==========================================================================
   KIRAN KODI — BRAND & PRODUCT DESIGNER
   HERO / HOME PAGE
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BRAND FONTS (Season Font Family)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Season Mix';
  src: url('./season-font-family/SeasonMix-TRIAL-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./season-font-family/SeasonMix-TRIAL-RegularItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./season-font-family/SeasonMix-TRIAL-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./season-font-family/SeasonMix-TRIAL-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./season-font-family/SeasonMix-TRIAL-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./season-font-family/SeasonSans-TRIAL-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./season-font-family/SeasonSans-TRIAL-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./season-font-family/SeasonSans-TRIAL-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./season-font-family/SeasonSans-TRIAL-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. GLOBAL TOKENS & RESET
   -------------------------------------------------------------------------- */
:root {
  --font-headline: 'Season Mix', Georgia, serif;
  --font-body: 'Season Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --color-bg: #09090b;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: rgba(255, 255, 255, 0.72);
  --color-text-muted: rgba(255, 255, 255, 0.45);

  --ease-framer: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. CUSTOM CURSOR (Defined in cursor.css)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   4. HERO STAGE (100VH VIEWPORT STAGE)
   -------------------------------------------------------------------------- */
.hero-stage {
  position: relative;
  width: 100%;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  height: 100dvh;
  min-height: -webkit-fill-available;
  overflow: hidden;
  background-color: #070709;
}

/* Common Parallax Layer styles */
.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  pointer-events: none;
}

/* Layer 1: Background — oversized so parallax movement never shows dark edges */
/* Cinematic Subtle Black Intro Veil */
.hero-intro-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #0d0c0f 0%, #070709 100%);
  z-index: 8;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.1s;
  will-change: opacity;
}

.hero-intro-veil.revealed {
  opacity: 0;
  visibility: hidden;
}

/* Layer 1: Background — oversized so parallax movement never shows dark edges */
.layer-bg {
  /* 6% buffer on all sides to absorb the max ±24px translation range */
  top: -6%;
  left: -6%;
  width: 112%;
  height: 112%;
  z-index: 1;
  transform: translate3d(0, 0, 0);
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 60%;
  user-select: none;
  transform-origin: center center;
  transform: scale(1.08);
  opacity: 0;
  transition: transform 1.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.95s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.bg-image.cinematic-settled {
  transform: scale(1);
  opacity: 1;
}

/* Ambient warm lighting & cinematic sunset vignette */
.ambient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 55% 53%, transparent 40%, rgba(0, 0, 0, 0.32) 90%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.32) 0%, transparent 22%, transparent 78%, rgba(0, 0, 0, 0.4) 100%);
}

/* Layer 2: Typography (Brand & Product Designer — BEHIND Kiran) */
.layer-typography {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas-bounds {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  max-height: 912px;
  user-select: none;
}

/* "Brand" italic — vw/vh positions from Hero.png (1440×912 reference) */
.hero-text-brand {
  position: absolute;
  left: 10.6vw;
  top: 27.25vh;
  font-family: var(--font-headline);
  font-weight: 400;
  /* Font scales with viewport width so layout stays proportional */
  font-size: clamp(3rem, 8.8vw, 12rem);
  line-height: 0.95;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.15),
    0 6px 28px rgba(0, 0, 0, 0.6),
    0 18px 52px rgba(0, 0, 0, 0.38);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-text-brand.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* "&" — sits between Brand and Product, slightly above baseline */
.hero-text-amp {
  position: absolute;
  left: 43.4vw;
  top: 28.84vh;
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 4rem);
  color: rgba(255, 255, 255, 0.95);
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.65),
    0 8px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-text-amp.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* "Designer" label — floats just above Product, right side */
.hero-text-designer {
  position: absolute;
  left: 60.89vw;
  top: 40.38vh;
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.25vw, 2rem);
  color: #FFFFFF;
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.7),
    0 8px 22px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-text-designer.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* "Product" upright — vw/vh positions from Hero.png */
.hero-text-product {
  position: absolute;
  left: 40.56vw;
  top: 39.58vh;
  font-family: var(--font-headline);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(3rem, 8.8vw, 12rem);
  line-height: 0.95;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.15),
    0 6px 28px rgba(0, 0, 0, 0.6),
    0 18px 52px rgba(0, 0, 0, 0.38);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-text-product.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Layer 3: Foreground (Cutout of Kiran sitting on ledge) */
.layer-fg {
  z-index: 4;
}

.fg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  user-select: none;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 1.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.95s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.fg-image.cinematic-settled {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   5. TOP NAVIGATION (Layer 10) — starts hidden for JS reveal
   -------------------------------------------------------------------------- */
.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-nav.revealed {
  opacity: 1;
  transform: translateY(0);
}

.nav-brand {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  transition: opacity 0.3s ease;
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-item {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s var(--ease-framer);
}

.nav-item:hover {
  color: #FFFFFF;
}

/* Option 1: Glassmorphic Frosted Pill Button with Up-Right Diagonal Arrow */
.nav-branding-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  letter-spacing: -0.01em;
  background: rgba(18, 14, 26, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 9999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, border-color, background;
  cursor: pointer;
  user-select: none;
}

.nav-branding-btn .nav-btn-text {
  display: inline-block;
  line-height: 1;
}

.nav-branding-btn .nav-btn-arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke: currentColor;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-branding-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.65);
  color: #FFFFFF;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35), 0 0 16px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav-branding-btn:hover .nav-btn-arrow {
  transform: translate(2px, -2px);
}

.nav-branding-btn:active {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (hover: none) {
  .nav-branding-btn:hover {
    background: rgba(18, 14, 26, 0.42);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  }
  .nav-branding-btn:hover .nav-btn-arrow {
    transform: none;
  }
  .nav-branding-btn:active {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.85);
  }
}


/* --------------------------------------------------------------------------
   6. BOTTOM TEXT OVERLAYS (Layer 10)
   -------------------------------------------------------------------------- */
.hero-bottom-ui {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 56px calc(72px + env(safe-area-inset-bottom, 0px)) 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 10;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-bottom-ui.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-bottom-left {
  flex: 1;
}

.hero-bottom-left p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.96rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-bottom-right {
  flex: 1;
  text-align: right;
}

.hero-bottom-right p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.96rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   6B. ROOFTOP LEDGE SOCIAL DOCK (Behance, LinkedIn, Resume)
   -------------------------------------------------------------------------- */
.hero-social-dock-wrapper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
  z-index: 10;
}

.hero-social-dock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  background: rgba(18, 14, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: dockAmbientGlow 4.5s ease-in-out infinite alternate;
  pointer-events: auto;
  user-select: none;
}

@keyframes dockAmbientGlow {
  0% {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28), 0 0 16px rgba(255, 140, 50, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 140, 50, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
}

.social-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  letter-spacing: -0.01em;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.social-pill-item .social-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: currentColor;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.social-pill-item .social-label {
  display: inline-block;
  line-height: 1;
}

.social-pill-item .social-arrow {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  opacity: 0.45;
  stroke: currentColor;
  transform: translate(0, 0);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover & Interactive States */
.social-pill-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.social-pill-item:hover .social-icon {
  transform: translateY(-1.5px) scale(1.12);
}

.social-pill-item[data-social="behance"]:hover .social-icon {
  color: #1769FF;
}

.social-pill-item[data-social="instagram"]:hover .social-icon {
  color: #E1306C;
}

.social-pill-item[data-social="linkedin"]:hover .social-icon {
  color: #0A66C2;
}

.social-pill-item[data-social="resume"]:hover .social-icon {
  color: #FF9B42;
}

.social-pill-item:hover .social-arrow {
  opacity: 1;
  transform: translate(1.5px, -1.5px);
}

.social-pill-item:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.2);
}

@media (hover: none) {
  .social-pill-item:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.82);
  }
  .social-pill-item:hover .social-icon {
    transform: none;
    color: currentColor;
  }
  .social-pill-item:hover .social-arrow {
    opacity: 0.45;
    transform: none;
  }
  .social-pill-item:active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
  }
}


/* --------------------------------------------------------------------------
   7. RESPONSIVENESS & SCALING
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-nav {
    padding: 36px 40px;
  }

  .nav-brand {
    font-size: 1.02rem;
  }

  .nav-branding-btn {
    padding: 7.5px 16px;
    font-size: 0.88rem;
    gap: 6.5px;
  }

  .nav-btn-arrow {
    width: 11.5px;
    height: 11.5px;
  }

  .hero-social-dock {
    padding: 4.5px 5px;
    gap: 5px;
    margin: 0 14px;
  }

  .social-pill-item {
    padding: 6.5px 12px;
    font-size: 0.81rem;
    gap: 6px;
  }

  .social-pill-item .social-icon {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 768px) {
  .hero-nav {
    padding: max(22px, env(safe-area-inset-top, 22px)) 20px 22px 20px;
  }

  .nav-brand {
    font-size: 1rem;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-item {
    font-size: 0.85rem;
  }

  .nav-branding-btn {
    padding: 6.5px 14px;
    font-size: 0.82rem;
    gap: 6px;
    border-color: rgba(255, 255, 255, 0.35);
  }

  .nav-btn-arrow {
    width: 11px;
    height: 11px;
  }

  /* Portrait hero typography layout — stacked gracefully in sunset sky */
  .hero-canvas-bounds {
    max-width: 100%;
    height: 100%;
  }

  .hero-text-brand {
    left: 20px;
    top: 14vh;
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .hero-text-amp {
    left: auto;
    right: 24px;
    top: 15.5vh;
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }

  .hero-text-product {
    left: 20px;
    top: 23vh;
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .hero-text-designer {
    left: 22px;
    top: 32vh;
    font-size: clamp(0.9rem, 3.8vw, 1.25rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .hero-bottom-ui {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 22px calc(24px + env(safe-area-inset-bottom, 14px)) 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    z-index: 10;
  }

  .hero-social-dock-wrapper {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto 12px auto;
  }

  .hero-social-dock {
    display: inline-flex;
    padding: 4px 5px;
    gap: 4px;
    max-width: 100%;
  }

  .hero-bottom-left {
    order: 2;
    flex: 1;
  }

  .hero-bottom-right {
    order: 3;
    flex: 1;
  }

  .social-pill-item {
    padding: 6px 10px;
    font-size: 0.76rem;
    gap: 4.5px;
  }

  .social-pill-item .social-icon {
    width: 12.5px;
    height: 12.5px;
  }

  .social-pill-item .social-arrow {
    width: 8px;
    height: 8px;
  }

  .hero-bottom-ui::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 130px;
    background: linear-gradient(to top, rgba(7, 7, 9, 0.8) 0%, rgba(7, 7, 9, 0.3) 65%, transparent 100%);
    pointer-events: none;
    z-index: -1;
  }

  .hero-bottom-left,
  .hero-bottom-right {
    position: relative;
    z-index: 10;
  }

  .hero-bottom-left p,
  .hero-bottom-right p {
    font-size: clamp(0.76rem, 3.3vw, 0.85rem);
    line-height: 1.44;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 3px 12px rgba(0, 0, 0, 0.85);
  }
}

@media (max-width: 520px) {
  .hero-nav {
    padding: max(18px, env(safe-area-inset-top, 18px)) 16px 18px 16px;
  }

  .nav-brand {
    font-size: 0.95rem;
  }

  .nav-menu {
    gap: 12px;
  }

  .nav-item {
    font-size: 0.82rem;
  }

  .nav-branding-btn {
    padding: 5.5px 12px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .nav-btn-arrow {
    width: 10px;
    height: 10px;
  }

  .hero-text-brand {
    left: 16px;
    top: 13.5vh;
    font-size: clamp(2.2rem, 10.5vw, 3.2rem);
  }

  .hero-text-amp {
    right: 18px;
    top: 15vh;
  }

  .hero-text-product {
    left: 16px;
    top: 22.5vh;
    font-size: clamp(2.2rem, 10.5vw, 3.2rem);
  }

  .hero-text-designer {
    left: 18px;
    top: 31.5vh;
  }

  .hero-bottom-ui {
    padding: 0 18px calc(20px + env(safe-area-inset-bottom, 14px)) 18px;
    gap: 10px;
  }

  .hero-social-dock-wrapper {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto 8px auto;
  }

  .hero-social-dock {
    display: inline-flex;
    padding: 3px 4px;
    gap: 2.5px;
    max-width: 100%;
  }

  .social-pill-item {
    padding: 5px 7.5px;
    font-size: 0.71rem;
    gap: 3.5px;
  }

  .social-pill-item .social-icon {
    width: 11.5px;
    height: 11.5px;
  }

  .social-pill-item .social-arrow {
    display: none;
  }

  .hero-bottom-left p,
  .hero-bottom-right p {
    font-size: 0.75rem;
    line-height: 1.38;
  }
}

@media (max-width: 360px) {
  .hero-nav {
    padding: max(14px, env(safe-area-inset-top, 14px)) 12px 14px 12px;
  }

  .nav-brand {
    font-size: 0.9rem;
  }

  .nav-branding-btn {
    padding: 5px 10px;
    font-size: 0.74rem;
    gap: 4.5px;
  }

  .nav-btn-arrow {
    width: 9.5px;
    height: 9.5px;
  }

  .hero-social-dock-wrapper {
    margin: 0 auto 6px auto;
  }

  .hero-social-dock {
    padding: 2px 3px;
    gap: 2px;
  }

  .social-pill-item {
    padding: 4px 5.5px;
    font-size: 0.65rem;
    gap: 2.5px;
  }

  .social-pill-item .social-icon {
    width: 10px;
    height: 10px;
  }
}

/* --------------------------------------------------------------------------
   8. ACCESSIBILITY: PREFERS REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-intro-veil {
    display: none !important;
  }

  .bg-image,
  .fg-image,
  .hero-text-brand,
  .hero-text-product,
  .hero-text-amp,
  .hero-text-designer,
  .hero-nav,
  .hero-bottom-ui,
  .custom-cursor,
  .custom-cursor-follower {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}