/* ==========================================================================
   MANISH CHAUHAN PORTFOLIO — style.css (v9.0)
   Jersey 10 Pixel Typography, Tasteful Tool Badges & Sticky Notepad Contact Canvas
   ========================================================================== */

/* --- DESIGN TOKENS --- */
:root {
  --bg: #FFFFFF;
  --bg-subtle: #FAFAF8;
  --dark: #121316;
  --muted: #525866;
  --grid-line: rgba(0, 0, 0, 0.05);
  --border: rgba(0, 0, 0, 0.09);

  /* Project Folder Colors */
  --folder-blue: #0284C7;
  --folder-black: #4338CA; /* Rich Indigo/Violet */
  --folder-yellow: #D97706;
  --folder-pink: #BE123C;

  /* Accent Colors */
  --cyan: #38BDF8;
  --yellow: #FACC15;
  --pink: #F43F5E;
  --green: #22C55E;
  --orange: #FB923C;
  --purple: #A855F7;

  /* Typography */
  --ff-title: 'Alfa Slab One', serif;
  --ff-display: 'Unbounded', 'Plus Jakarta Sans', sans-serif;
  --ff-pixel: 'Alfa Slab One', 'Jersey 10', monospace;

  --ff-body: 'Plus Jakarta Sans', sans-serif;
  --ff-sans: 'Plus Jakarta Sans', sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;
  --ff-hand: 'Caveat', cursive;


  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.site-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ==========================================================================
   LIGHT GRID BACKGROUND
   ========================================================================== */
.canvas-grid {
  position: absolute;
  inset: 0;
  background-size: 38px 38px;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   SCROLL-DRIVEN SKETCH PATH BACKGROUND
   ========================================================================== */
.scroll-sketch-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1; /* Above .canvas-grid (z-index: 0), strictly below all page elements (z-index: 5+) */
  overflow: visible;
}

.scroll-sketch-path {
  fill: none;
  stroke: rgba(17, 24, 39, 0.45);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6px 2px;
  opacity: 0.3; /* Reduced to 30% opacity */
}





/* ==========================================================================
   "YOU" MULTIPLAYER CURSOR

   ========================================================================== */
.you-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.3s ease;
  will-change: transform;
}

.you-dot {
  width: 15px;
  height: 15px;
  background: #000;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.you-pill {
  background: #000;
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

@media (pointer: coarse) {
  .you-cursor { display: none !important; }
}

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  background: #111215;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.loader-badge {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  padding: 0.35rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
}

.loader-text {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.03em;
}

.loader-text span {
  color: var(--pink);
}

.loader-bar-wrap {
  width: 220px;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  overflow: hidden;
}

.loader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--yellow), var(--pink));
  border-radius: 99px;
  transition: width 0.35s var(--ease);
}

.loader-stat {
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   VIDEO MODAL
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 110000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 22, 0.85);
  backdrop-filter: blur(14px);
}

.modal-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  background: #18191E;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s var(--ease);
}

.video-modal.active .modal-window {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.modal-close:hover {
  background: var(--pink);
  transform: scale(1.1);
}

.modal-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.modal-player-wrap.vertical-aspect {
  max-width: 420px;
  max-height: 72vh;
  margin: 0 auto;
  aspect-ratio: 9/16;
}


.modal-player-wrap iframe {
  width: 100%;
  height: 100%;
}

.modal-ig-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #405DE6, #C13584, #E1306C);
  padding: 2rem;
  text-align: center;
}

.ig-modal-box {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 2.2rem;
  border-radius: 18px;
  color: #fff;
  max-width: 400px;
}

.ig-big-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 0.8rem;
}

.ig-modal-box h3 {
  font-family: var(--ff-sans);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}


.ig-modal-box p {
  font-size: 0.88rem;
  opacity: 0.85;
  margin-bottom: 1.3rem;
}

.btn-ig {
  background: #fff;
  color: #000;
  font-weight: 800;
  padding: 0.6rem 1.5rem;
  border-radius: 99px;
  display: inline-block;
}

.modal-info {
  padding: 1.2rem 1.6rem;
  background: #18191E;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.modal-tag {
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
}

.modal-title {
  font-family: var(--ff-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.45;
  letter-spacing: -0.01em;
}


.modal-ext-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.2rem;
  border-radius: 99px;
  background: var(--cyan);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s;
}

.modal-ext-btn:hover {
  background: var(--yellow);
  transform: translateY(-2px);
}

/* ==========================================================================
   TOP CANVAS RULER & NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-ruler {
  display: block;
  width: 100%;
  height: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  cursor: crosshair;
}

/* Fixed bottom ruler */
.ruler-bottom {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.07);
  z-index: 999;
  cursor: crosshair;
}

.nav-wrap {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 2.5rem;
  position: relative;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring);
}

.nav-logo-img {
  height: 44px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  transition: transform 0.22s var(--ease-spring);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}



.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
}


.nav-link {
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s, transform 0.2s var(--ease-spring);
}

.nav-link:hover {
  color: var(--dark);
}

.nav-sym {
  opacity: 0.7;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-contact-chips {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-contact-bubble {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  background: #ffffff;
  color: var(--dark);
  border: 2px solid var(--dark);
  box-shadow: 2.5px 2.5px 0 var(--dark);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-contact-bubble svg {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: var(--dark);
  stroke-width: 2.2;
  pointer-events: none;
  transition: transform 0.2s var(--ease-spring);
}

.nav-contact-bubble.bubble-em:hover {
  background: var(--cyan);
  color: var(--dark);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--dark);
}

.nav-contact-bubble.bubble-ph:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--dark);
}

/* Tooltips */
.nav-bubble-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  border: 2px solid var(--dark);
  box-shadow: 3px 3px 0 var(--dark);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 1000;
}

.nav-bubble-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent var(--dark) transparent;
}

/* EM Tooltip (Cyan, matching reference) */
.tooltip-em {
  background: var(--cyan);
  color: var(--dark);
}

/* PH Tooltip */
.tooltip-ph {
  background: var(--yellow);
  color: var(--dark);
}



/* Hover / Focus reveal */
.nav-contact-bubble:hover .nav-bubble-tooltip,
.nav-contact-bubble:focus-visible .nav-bubble-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-hire {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  background: #fff;
  color: var(--dark);
  border: 2px solid var(--dark);
  box-shadow: 2.5px 2.5px 0 var(--dark);
  transition: all 0.2s var(--ease-spring);
}

.nav-hire:hover {
  background: var(--dark);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--dark);
}


/* ==========================================================================
   FIGMA-STYLE SPEECH BUBBLE TOOL & AVATAR PINS (WITH HOVER NAME REVEAL)
   ========================================================================== */
.tool-floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  border-radius: 28px 28px 28px 6px;
  padding: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  z-index: 10;
  cursor: pointer;
  transition: max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              padding 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s ease, 
              border-color 0.35s ease;
  will-change: transform, max-width;
  overflow: hidden;
  max-width: 44px;
  height: 44px;
  white-space: nowrap;
  box-sizing: border-box;
}

.tool-floating-chip:hover {
  max-width: 260px;
  padding: 4px 16px 4px 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.2);
  z-index: 30;
}

.tool-badge-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-floating-chip:hover .tool-badge-icon {
  transform: scale(1.06);
}

.tool-badge-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tool-chip-label {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0F172A;
  margin-left: 0.55rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.tool-floating-chip:hover .tool-chip-label {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.05s;
}


/* AVATAR SPEECH BUBBLE & YOU CURSOR (MATCHING REFERENCE) */
.avatar-speech-bubble-wrapper {
  position: absolute;
  left: 6%;
  top: 15%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.avatar-speech-bubble {
  display: inline-flex;
  align-items: center;
  background: #BAE6FD;
  border-radius: 28px 28px 28px 4px;
  padding: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: max-width 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              padding 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.45s ease,
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: max-width;
  overflow: hidden;
  max-width: 44px;
  white-space: nowrap;
}

.avatar-speech-bubble:hover {
  max-width: 280px;
  padding: 5px 18px 5px 5px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.bubble-avatar-img-wrap {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-speech-bubble:hover .bubble-avatar-img-wrap {
  transform: scale(1.05);
}

.bubble-avatar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bubble-caption-text {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F172A;
  margin-left: 0.65rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  line-height: 1;
}

.avatar-speech-bubble:hover .bubble-caption-text {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.06s;
}


.figma-you-cursor {
  display: flex;
  align-items: center;
  margin-top: 6px;
  margin-left: 14px;
  pointer-events: none;
}

.you-dot {
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  margin-right: 4px;
}

.you-pill {
  background: #000;
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 8px;
}

/* Tool Chip Colors & Locations (Prioritized 1 to 6 - Distributed Across Whole Website, Zero Repetitions) */
/* 1. After Effects (Ae) - Hero Section (Top Left) */
.chip-ae {
  background: #E0E7FF;
  left: 6.5%;
  top: 18%;
}

/* 2. Premiere Pro (Pr) - Hero Section (Top Right) */
.chip-pr {
  background: #FCE7F3;
  right: 6.5%;
  top: 22%;
}

/* 3. Blender 3D - About Section (Left Side) */
.chip-blender {
  background: #FED7AA;
  left: 5%;
  top: 28%;
}

/* 4. Higgsfield AI - Works Section (Top Right) */
.chip-higgs {
  background: #F3E8FF;
  right: 5%;
  top: 6%;
}

/* 5. DaVinci Resolve - Works Section (Mid/Lower Left) */
.chip-davinci {
  background: #EDE9FE;
  left: 5%;
  top: 52%;
}

/* 6. Photoshop - Let's Talk Section (Right Side) */
.chip-ps {
  background: #E0F2FE;
  right: 6%;
  top: 25%;
}

/* Contact Page Floating Chips (#1 Ae & #2 Pr) */
.cp-chip-ae {
  background: #E0E7FF;
  left: 6%;
  top: 35%;
}

.cp-chip-pr {
  background: #FCE7F3;
  right: 6%;
  bottom: 28%;
}







/* Floating Pointer Pills */
.canvas-pointer-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.45rem 1.05rem;
  border-radius: 99px;
  border: 2px solid var(--dark);
  box-shadow: 3.5px 3.5px 0 var(--dark);
  z-index: 6;
  letter-spacing: 0.06em;
  animation: floatSlow2 5s ease-in-out infinite alternate;
  will-change: transform;
}

.pointer-role {
  left: 14%;
  bottom: 28%;
  background: var(--yellow);
  color: var(--dark);
}

.pointer-city {
  right: 14%;
  bottom: 32%;
  background: var(--pink);
  color: #fff;
  animation-duration: 4.2s;
}

.pointer-views {
  left: 17%;
  top: 32%;
  background: var(--green);
  color: var(--dark);
  animation-duration: 4.8s;
}

@keyframes floatSlow2 {
  0% { transform: translateY(0px) rotate(2deg); }
  100% { transform: translateY(10px) rotate(-3deg); }
}

.pointer-arrow {
  font-size: 0.75rem;
  opacity: 0.75;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 94vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2.5rem 4rem;
  background: #FFFFFF;
}

.hero-live-clock {
  position: absolute;
  top: 5.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-align: center;
  white-space: nowrap;
  z-index: 5;
}

.hero-center-box {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.handwritten-label {
  font-family: var(--ff-hand);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 auto 0.7rem auto;
  position: relative;
  display: inline-block;
  text-align: center;
}


.handwritten-label::after {
  content: '';
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--dark);
  margin-top: 0.1rem;
  border-radius: 2px;
}

/* Tape tags */
.tape-tag {
  position: absolute;
  z-index: 12;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.tape-left {
  top: 1.2rem;
  left: -3rem;
  background: #A7F3D0;
  color: #064E3B;
  transform: rotate(-10deg);
}

.tape-right {
  top: -1.2rem;
  right: -1.5rem;
  background: #FED7AA;
  color: #7C2D12;
  transform: rotate(8deg);
}

/* Figma Bounding Box */
.figma-bounding-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--cyan);
  background: transparent;
  padding: 1.4rem 3.5rem;
  margin: 0 auto 1.6rem auto;
  cursor: crosshair;
  user-select: none;
  transition: transform 0.25s var(--ease);
}

.handle {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #fff;
  border: 2px solid var(--cyan);
  z-index: 10;
}

.handle-tl { top: -5px; left: -5px; }
.handle-tr { top: -5px; right: -5px; }
.handle-bl { bottom: -5px; left: -5px; }
.handle-br { bottom: -5px; right: -5px; }

/* True Inversion Selection Box (Inverts all pixels, text, images, and background) */
.marquee-invert-box {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 14px;
  backdrop-filter: invert(1);
  -webkit-backdrop-filter: invert(1);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
  will-change: left, top, opacity, transform;
}

.hero-center-box.is-inverting .marquee-invert-box,
.figma-bounding-box.is-inverting .marquee-invert-box {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* 4 corner handles on the selection box */
.sel-handle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #000000;
  border: 1.8px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  z-index: 60;
}

.sel-handle-tl { top: -4px; left: -4px; }
.sel-handle-tr { top: -4px; right: -4px; }
.sel-handle-bl { bottom: -4px; left: -4px; }
.sel-handle-br { bottom: -4px; right: -4px; }










/* Legacy class kept for JS compatibility — no longer used visually */
.hero-pixel-name {
  display: none;
}

/* === HERO NAME — ALFA SLAB ONE === */
.hero-alfa-name {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(4.2rem, 13vw, 10rem);
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.03em;
  margin-right: -0.03em; /* Optical centering compensation */
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  cursor: default;
  margin: 0;
  padding: 0;
  display: block;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.06);
}


.pixel-word {
  display: inline-flex;
  white-space: nowrap;
}

.pixel-char {
  display: inline-block;
  transition: transform 0.2s var(--ease-spring), color 0.15s;
  will-change: transform;
}

.pixel-char:hover {
  transform: translateY(-8px) scale(1.12);
  color: var(--cyan);
}

.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--dark);
  margin-bottom: 1.8rem;
}

.avail-blue-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  display: inline-block;
  animation: availDotBlink 1.4s ease-in-out infinite;
}

@keyframes availDotBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px var(--cyan), 0 0 18px rgba(6, 182, 212, 0.6);
  }
  50% {
    opacity: 0.2;
    transform: scale(0.75);
    box-shadow: 0 0 2px var(--cyan);
  }
}


.hero-subtext {
  font-family: var(--ff-body);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.inline-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.1em;
  font-size: 1.25em;
  line-height: 1;
  margin: 0 0.18rem;
}

.glyph-swirl {
  color: #10B981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.glyph-sparkle {
  color: #F43F5E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  animation: flower-spin-loop 7s linear infinite;
  transform-origin: center center;
  will-change: transform;
}

@keyframes flower-spin-loop {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* Hero Social Proof Metrics (52M+ Views & 1M+ Likes) */
.hero-metrics-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 auto 0 auto;
  flex-wrap: wrap;
}

.hero-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1.15rem;
  border-radius: 99px;
  border: 2px solid var(--dark);
  box-shadow: 2.5px 2.5px 0 var(--dark);
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  user-select: none;
  cursor: default;
  transition: transform 0.22s var(--ease-spring), box-shadow 0.22s;
  will-change: transform;
}

.hero-metric-badge:hover {
  transform: translateY(-2.5px) scale(1.03);
  box-shadow: 4px 4px 0 var(--dark);
}

.hero-metric-badge.badge-views {
  background: var(--green);
  color: var(--dark);
}

.hero-metric-badge.badge-likes {
  background: var(--pink);
  color: #ffffff;
}

.hero-metric-badge .hm-icon {
  font-size: 0.9rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.hero-metric-badge .hm-text {
  font-weight: 900;
  white-space: nowrap;
}

.hero-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(4.5rem, 9vh, 7rem);
  margin-bottom: 0;
}




.ref-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--dark);
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}

.ref-cta-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--dark);
}

.ref-cta-icon-box {
  background: var(--cyan);
  color: var(--dark);
  padding: 0.85rem 1.1rem;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-cta-text {
  font-family: var(--ff-mono);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.85rem 1.5rem;
}


/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 6.5rem 0 4.5rem;
  background: var(--bg);
  position: relative;
}

.handwritten-annotation {
  font-family: var(--ff-hand);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 2;
}

.handwritten-annotation::after {
  content: '';
  display: block;
  width: 75px;
  height: 2.5px;
  background: var(--dark);
  margin: 0.25rem auto 0;
  border-radius: 2px;
}

.about-grid-wrapper {
  display: grid;
  grid-template-columns: 210px 1fr 210px;
  gap: 5.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


.polaroid-card {
  background: #fff;
  padding: 12px 12px 38px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  position: relative;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
}

.polaroid-card:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.polaroid-tilt-l {
  transform: rotate(-7deg) !important;
}

.polaroid-tilt-r {
  transform: rotate(7deg) !important;
}

.polaroid-tilt-l:hover {
  transform: rotate(-3deg) scale(1.04) !important;
}

.polaroid-tilt-r:hover {
  transform: rotate(3deg) scale(1.04) !important;
}

.polaroid-photo-frame {
  width: 100%;
  height: 205px;
  background: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  overflow: hidden;
}


.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polaroid-hand-caption {
  font-family: var(--ff-hand);
  font-size: 1.25rem;
  color: var(--dark);
  text-align: center;
  padding-top: 0.5rem;
  font-weight: 700;
}

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

/* Small Figma selection tag for "what's up" only */
.about-tag-bounding-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.8px solid var(--dark);
  background: #fff;
  padding: 0.35rem 1.1rem;
  margin-bottom: 2rem;
  cursor: default;
}

.tag-inner-text {
  font-family: var(--ff-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.about-headline {
  font-size: clamp(1.6rem, 2.7vw, 2.25rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--dark);
  max-width: 780px;
  margin-bottom: 2.2rem;
}

.about-headline strong {
  font-weight: 800;
  color: #000;
}

/* Avatar photo badge in text */
.inline-author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid var(--dark);
  box-shadow: 2px 2px 0 var(--dark);
  vertical-align: middle;
  margin: 0 0.35rem;
}

.inline-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vibrant flat vector glyphs in About bio (matching tagline glyph style) */
.bio-spin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.18em;
  margin: 0 0.3rem;
  line-height: 1;
  width: 24px;
  height: 24px;
  animation: continuousSpin 6s linear infinite;
  transform-origin: center center;
  will-change: transform;
}

.bio-spin-icon.icon-reverse {
  animation: continuousSpinRev 7s linear infinite;
}

.bio-spin-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: none;
}

@keyframes continuousSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes continuousSpinRev {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}



/* 2x2 Skill Grid matching Reference */
.skill-2x2-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}

.skill-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.skill-pill-box {
  display: inline-flex;
  align-items: stretch;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #000;
  box-shadow: 3.5px 3.5px 0 #000;
  font-family: var(--ff-mono);
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}

.skill-pill-box:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5.5px 5.5px 0 #000;
}

.sp-text {
  padding: 0.55rem 1.05rem;
  color: #000;
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
}

.sp-icon-wrap {
  padding: 0.55rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 2px solid #000;
}

.sp-icon {
  font-size: 1.1rem;
  display: inline-block;
}

/* Vibrant, high-contrast colors matching reference */
.sp-yellow { background: #EAB308; }
.sp-yellow .sp-icon-wrap { background: #CA8A04; }

.sp-green { background: #10B981; }
.sp-green .sp-icon-wrap { background: #059669; }

.sp-pink { background: #E11D48; }
.sp-pink .sp-text { color: #fff; }
.sp-pink .sp-icon-wrap { background: #BE123C; }

.sp-cyan { background: #0EA5E9; }
.sp-cyan .sp-icon-wrap { background: #0284C7; }


/* ==========================================================================
   FEATURED WORKS (FOLDER TABBED ARCHITECTURE)
   ========================================================================== */
.works-section {
  padding: 6rem 0 4.5rem;
  background: var(--bg);
  position: relative;
}

.works-header-center {
  text-align: left;
  margin-bottom: 4.5rem;
  position: relative;
  z-index: 2;
}

.pixel-heading-main {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(3.5rem, 9.5vw, 7.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 2rem;
  cursor: default;
  text-align: left;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.06);
}

.sticky-quote-note {
  display: inline-block;
  background: #FEF08A;
  border: 1.5px solid var(--dark);
  padding: 1.1rem 2.2rem;
  font-family: var(--ff-hand), 'Caveat', cursive;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
  transform: rotate(-1.5deg);
  box-shadow: 4px 4px 0 var(--dark);
  max-width: 540px;
}

/* FOLDER CARD CONTAINER */
.folder-card {
  position: relative;
  z-index: 5;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 5rem;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  border: 2px solid rgba(0, 0, 0, 0.12);
  transition: transform 0.25s var(--ease);
}


.folder-blue { background: var(--folder-blue); }
.folder-black { background: var(--folder-black); }
.folder-yellow { background: var(--folder-yellow); }
.folder-pink { background: var(--folder-pink); }

/* FOLDER TAB SHAPE */
.folder-tab-bar {
  display: flex;
  background: rgba(0, 0, 0, 0.18);
  padding: 0.9rem 1.8rem 0;
}

.folder-tab-shape {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.6rem;
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, 0.2);
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  transition: transform 0.2s var(--ease-spring);
}

.tab-icon {
  font-size: 1rem;
}

/* FOLDER BODY */
.folder-body {
  padding: 2.6rem 2.6rem 2.4rem;
}

.folder-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 1.6rem;
}

.folder-meta-left {
  max-width: 680px;
}

.folder-date {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.85;
  display: block;
  margin-bottom: 0.4rem;
}

.folder-title {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.03em;
  word-spacing: 0.1em;
  margin-bottom: 0.45rem;
}

.folder-desc {
  font-size: 1rem;
  opacity: 0.92;
  line-height: 1.55;
}

.folder-controls {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.folder-count {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.15rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  height: 44px;
  box-sizing: border-box;
  color: #fff;
  white-space: nowrap;
}

.folder-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--dark);
  border: 2px solid var(--dark);
  box-shadow: 3px 3px 0 var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s, background-color 0.2s, color 0.2s;
  will-change: transform;
  flex-shrink: 0;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: var(--dark);
  stroke-width: 2.5;
  pointer-events: none;
  transition: transform 0.2s var(--ease-spring);
}

.carousel-btn.prev-btn:hover svg {
  transform: translateX(-2px);
}

.carousel-btn.next-btn:hover svg {
  transform: translateX(2px);
}

.carousel-btn:hover {
  background: var(--yellow);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--dark);
}

.carousel-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1.5px 1.5px 0 var(--dark);
}


/* CAROUSEL TRACK & CARDS */
.carousel-container {
  width: 100%;
  container-type: inline-size;
  container-name: carouselTrack;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 16px 1.4rem 6px;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar { display: none; }
.carousel-container.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }

.carousel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

.vertical-track {
  gap: 0.9rem;
}

/* BENTO CARDS (Exactly 4 Visible at a time inside folder — ZERO CROPPING) */
.bento-card {
  width: calc((100cqw - 24px - (3 * 1.25rem)) / 4);
  min-width: calc((100cqw - 24px - (3 * 1.25rem)) / 4);
  max-width: calc((100cqw - 24px - (3 * 1.25rem)) / 4);
  flex: 0 0 calc((100cqw - 24px - (3 * 1.25rem)) / 4);
  background: #fff;
  color: var(--dark);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
  transition: transform 0.22s var(--ease-spring), box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  cursor: pointer;
  box-sizing: border-box;
}

.bento-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--dark);
}

.bento-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1c1d22;
}

.bento-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.bento-card:hover .bento-thumb-wrap img {
  transform: scale(1.04);
}

.bento-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.bento-card:hover .bento-play-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.bento-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.2s var(--ease-spring);
  pointer-events: none;
}

.bento-card:hover .bento-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--yellow);
}

.views-badge,
.type-pill {
  display: none !important;
}


/* CARD HOVER VIDEO PREVIEW */
.card-hover-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 5;
  pointer-events: none;
  object-fit: cover;
  border-radius: inherit;
  background: #000;
  animation: fadeInPreview 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInPreview {
  from { opacity: 0; transform: scale(1.02); }
  to   { opacity: 1; transform: scale(1); }
}

.is-previewing .bento-play-overlay,
.is-previewing .views-badge,
.is-previewing .type-pill,
.is-previewing .ig-reel-art {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.18s ease;
}


.bento-card-info {
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
}

.bento-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.bento-card-title {
  font-family: var(--ff-sans);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.bento-role-tag {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--muted);
}

.bento-watch-link {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--dark);
}

.bento-card:hover .bento-watch-link {
  color: var(--pink);
}

/* VERTICAL CARDS (Exactly 6 Visible at a time inside folder — ZERO CROPPING) */
.vertical-card {
  width: calc((100cqw - 24px - (5 * 0.9rem)) / 6);
  min-width: calc((100cqw - 24px - (5 * 0.9rem)) / 6);
  max-width: calc((100cqw - 24px - (5 * 0.9rem)) / 6);
  flex: 0 0 calc((100cqw - 24px - (5 * 0.9rem)) / 6);
  background: #fff;
  color: var(--dark);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--dark);
  box-shadow: 3.5px 3.5px 0 var(--dark);
  transition: transform 0.22s var(--ease-spring), box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  cursor: pointer;
  box-sizing: border-box;
}

.vertical-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--dark);
}

/* CONTAINER QUERY RESPONSIVE RULES */
@container carouselTrack (max-width: 1150px) {
  .bento-card {
    width: calc((100cqw - 24px - (2 * 1.25rem)) / 3);
    min-width: calc((100cqw - 24px - (2 * 1.25rem)) / 3);
    max-width: calc((100cqw - 24px - (2 * 1.25rem)) / 3);
    flex: 0 0 calc((100cqw - 24px - (2 * 1.25rem)) / 3);
  }
  .vertical-card {
    width: calc((100cqw - 24px - (3 * 0.9rem)) / 4);
    min-width: calc((100cqw - 24px - (3 * 0.9rem)) / 4);
    max-width: calc((100cqw - 24px - (3 * 0.9rem)) / 4);
    flex: 0 0 calc((100cqw - 24px - (3 * 0.9rem)) / 4);
  }
}

@container carouselTrack (max-width: 800px) {
  .bento-card {
    width: calc((100cqw - 24px - 1.25rem) / 2);
    min-width: calc((100cqw - 24px - 1.25rem) / 2);
    max-width: calc((100cqw - 24px - 1.25rem) / 2);
    flex: 0 0 calc((100cqw - 24px - 1.25rem) / 2);
  }
  .vertical-card {
    width: calc((100cqw - 24px - (2 * 0.9rem)) / 3);
    min-width: calc((100cqw - 24px - (2 * 0.9rem)) / 3);
    max-width: calc((100cqw - 24px - (2 * 0.9rem)) / 3);
    flex: 0 0 calc((100cqw - 24px - (2 * 0.9rem)) / 3);
  }
}

@container carouselTrack (max-width: 520px) {
  .bento-card {
    width: calc(100cqw - 24px);
    min-width: calc(100cqw - 24px);
    max-width: calc(100cqw - 24px);
    flex: 0 0 calc(100cqw - 24px);
  }
  .vertical-card {
    width: calc((100cqw - 24px - 0.9rem) / 2);
    min-width: calc((100cqw - 24px - 0.9rem) / 2);
    max-width: calc((100cqw - 24px - 0.9rem) / 2);
    flex: 0 0 calc((100cqw - 24px - 0.9rem) / 2);
  }
}

.vertical-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #1a1a1f;
}

.vertical-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.vertical-card:hover .vertical-thumb-wrap img {
  transform: scale(1.06);
}

.ig-styled-card {
  background: #ffffff;
  color: var(--dark);
}

.ig-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #000000;
}

.ig-reel-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #000000;
}

.ig-styled-card .vertical-card-title {
  color: var(--dark);
}



.vertical-card-info {
  padding: 0.85rem 0.9rem 0.75rem;
}

.vertical-card-title {
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vertical-card-meta {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}


/* ==========================================================================
   MASCOT & LET'S TALK
   ========================================================================== */
.talk-section {
  padding: 7rem 0 3.5rem;
  background: var(--bg);
  position: relative;
}

.talk-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
  position: relative;
  z-index: 2;
}

.mascot-petal-wrap {
  width: 170px;
  height: 170px;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring);
}

.mascot-petal-body {
  width: 100%;
  height: 100%;
  background: #34D399;
  border: 3.5px solid var(--dark);
  border-radius: 50% 50% 50% 50% / 40% 40% 40% 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 5px 5px 0 var(--dark);
  transition: transform 0.2s var(--ease-spring), background 0.3s;
}

.mascot-petal-wrap:hover .mascot-petal-body {
  transform: scale(1.05);
  background: #10B981;
}

.mascot-eye-row {
  display: flex;
  gap: 1.4rem;
}

.mascot-eye {
  width: 20px;
  height: 30px;
  background: var(--dark);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
  transition: height 0.15s ease;
}

.mascot-pupil {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
}

.talk-text-side {
  max-width: 540px;
}

.talk-pixel-title {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  line-height: 1.05;
  cursor: default;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.06);
}

.talk-sub {
  font-family: var(--ff-hand), 'Caveat', cursive;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}



/* ==========================================================================
   HAZARD STRIPE CONTACT BANNER
   ========================================================================== */
.hazard-contact-wrap {
  padding: 2.5rem 1.5rem;
  background: var(--bg);
  position: relative;
  z-index: 5;
}

.hazard-stripe-banner {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background-image: repeating-linear-gradient(
    -45deg,
    #FBBF24 0px,
    #FBBF24 30px,
    #3B1E00 30px,
    #3B1E00 60px
  );
  background-size: 84.85px 84.85px;
  background-position: 0px 0px;
  border-radius: 18px;
  border: 2.5px solid var(--dark);
  box-shadow: 5px 5px 0 var(--dark);
  padding: 2.5rem 2rem;
  text-decoration: none;
  position: relative;
  z-index: 5;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
  will-change: background-position, transform;
}

.hazard-stripe-banner:hover {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0 var(--dark);
}


.hazard-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hazard-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cyan);
  color: var(--dark);
  border: 2.5px solid var(--dark);
  border-radius: 10px;
  padding: 0.9rem 2.8rem;
  font-family: var(--ff-pixel), var(--ff-mono);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--dark);
  transition: transform 0.12s var(--ease);
  position: relative;
  z-index: 2;
}

.hazard-cta-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--dark);
}

/* Social Links Text Row */
.social-text-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem 1.5rem 1.2rem;
  background: var(--bg);
  position: relative;
  z-index: 5;
}


.social-text-link {
  font-family: var(--ff-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
  position: relative;
}

.social-text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--dark);
  transition: width 0.2s var(--ease);
}

.social-text-link:hover {
  color: var(--dark);
}

.social-text-link:hover::after {
  width: 100%;
}

/* ==========================================================================
   CONTACT PAGE (SEPARATE SECTION — BELOW FOOTER)
   ========================================================================== */
.contact-page-canvas {
  padding: 6rem 0 7rem;
  background: var(--bg);
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 2.5px dashed rgba(0,0,0,0.15);
}

.contact-center-layout {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.contact-main-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.handwritten-note-top {
  font-family: var(--ff-hand);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  position: relative;
  display: inline-block;
}

.handwritten-note-top::after {
  content: '';
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--dark);
  margin-top: 0.15rem;
  box-shadow: 0 4px 0 var(--dark);
  border-radius: 2px;
}

/* Tilted Cyan Bounding Box for CONTACT */
.figma-contact-bounding-box {
  position: relative;
  display: inline-block;
  border: 2.5px solid var(--cyan);
  background: #fff;
  padding: 1.2rem 3.8rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transform: rotate(-2.5deg);
  transition: transform 0.25s var(--ease);
}

.contact-pixel-title {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(3.5rem, 8.5vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--dark);
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.06);
}

/* Yellow Sticky Note Card */
.sticky-notepad-card {
  position: relative;
  background: #FEF08A;
  border: 2px solid var(--dark);
  border-radius: 8px;
  padding: 2rem 2.2rem 1.6rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 6px 6px 0 var(--dark);
  transform: rotate(1deg);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
  text-align: left;
}

.sticky-notepad-card:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 8px 8px 0 var(--dark);
}

.sticky-fold-corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 24px 24px;
  border-color: transparent transparent #EAB308 transparent;
  pointer-events: none;
}

.sticky-notepad-label {
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--dark);
  display: block;
  margin-bottom: 0.8rem;
}

.sticky-notepad-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px dashed rgba(0, 0, 0, 0.35);
  font-family: var(--ff-body);
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.6;
  resize: none;
  outline: none;
  padding-bottom: 0.6rem;
  margin-bottom: 1.4rem;
}

.sticky-notepad-textarea::placeholder {
  color: rgba(0, 0, 0, 0.45);
  font-style: italic;
}

.sticky-notepad-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px dashed rgba(0, 0, 0, 0.35);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--dark);
  outline: none;
  padding: 0.4rem 0;
  margin-bottom: 1rem;
}

.sticky-notepad-input::placeholder {
  color: rgba(0, 0, 0, 0.45);
  font-style: italic;
}

.sticky-btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.sticky-next-btn {
  background: var(--dark);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  border: 1.5px solid var(--dark);
  box-shadow: 2.5px 2.5px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease-spring), background 0.2s;
  letter-spacing: 0.06em;
  margin-left: auto;
}

.sticky-next-btn:hover {
  background: var(--cyan);
  color: var(--dark);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--dark);
}

.sticky-back-btn {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: underline;
  padding: 0.4rem 0.6rem;
}

.sticky-success-box {
  text-align: center;
  padding: 1.5rem 1rem;
}

.sticky-success-box .success-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.sticky-success-box h4 {
  font-family: var(--ff-mono);
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.sticky-success-box p {
  font-size: 0.92rem;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 1.2rem;
}

/* Handwritten Available Arrow */
.handwritten-available-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-hand);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 1.4rem;
}

.hw-arrow {
  font-size: 1.4rem;
}

/* Contact Polaroids */
.contact-polaroid {
  background: #fff;
  padding: 14px 14px 42px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  box-shadow: 6px 12px 30px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  will-change: transform;
}

.contact-polaroid:hover {
  box-shadow: 8px 16px 40px rgba(0, 0, 0, 0.16);
}

.polaroid-left {
  transform: rotate(-9deg);
}

.polaroid-right {
  transform: rotate(9deg);
}

.contact-photo-frame {
  width: 100%;
  height: 180px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.photo-blue {
  background: linear-gradient(135deg, #38BDF8, #0284C7);
}

.photo-green {
  background: linear-gradient(135deg, #4ADE80, #15803D);
}

.photo-emoji {
  font-size: 4rem;
}

.contact-photo-caption {
  font-family: var(--ff-hand);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  padding-top: 0.8rem;
}

/* Bottom Social Dock Pill */
.social-dock-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  background: #fff;
  border: 2px solid var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
  border-radius: 99px;
  padding: 0.75rem 2.2rem;
  width: max-content;
  margin: 0 auto;
  flex-wrap: wrap;
}

.social-dock-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dark);
  transition: transform 0.2s var(--ease-spring), color 0.2s;
}

.social-dock-item:hover {
  color: var(--folder-blue);
  transform: translateY(-2px);
}

.social-dock-icon {
  font-size: 1rem;
}

/* ==========================================================================
   MINIMAL FOOTER
   ========================================================================== */
.minimal-footer {
  padding: 2.2rem 0;
  border-top: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid-wrapper {
    grid-template-columns: 1fr;
  }
  .polaroid-tilt-l, .polaroid-tilt-r {
    display: none;
  }
  .talk-layout {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
  .contact-center-layout {
    grid-template-columns: 1fr;
  }
  .contact-polaroid {
    display: none;
  }
  .bento-card {
    width: calc((100cqw - 16px - 1rem) / 2);
    min-width: calc((100cqw - 16px - 1rem) / 2);
    max-width: calc((100cqw - 16px - 1rem) / 2);
    flex: 0 0 calc((100cqw - 16px - 1rem) / 2);
  }
  .vertical-card {
    width: calc((100cqw - 16px - (2 * 0.75rem)) / 3);
    min-width: calc((100cqw - 16px - (2 * 0.75rem)) / 3);
    max-width: calc((100cqw - 16px - (2 * 0.75rem)) / 3);
    flex: 0 0 calc((100cqw - 16px - (2 * 0.75rem)) / 3);
  }
}

@media (max-width: 768px) {
  .site-container {
    padding: 0 1rem;
  }
  
  /* Navbar */
  .navbar .nav-wrap {
    padding: 0.55rem 1rem;
    gap: 0.5rem;
  }
  .nav-menu {
    display: none;
  }
  .nav-logo-img {
    height: 36px;
    max-width: 160px;
  }
  
  /* Rulers on mobile */
  .nav-ruler,
  .ruler-bottom {
    display: none !important;
  }

  /* Floating & Repelling items */
  .tape-tag {
    display: none;
  }
  .speech-bubble-avatar {
    display: none;
  }
  .canvas-pointer-pill {
    display: none;
  }
  .tool-floating-chip {
    display: none;
  }


  /* Hero section responsiveness */
  .hero-section {
    padding: 6.5rem 0 3.5rem;
  }
  .figma-bounding-box {
    padding: 0.6rem 1.2rem;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.2rem;
  }
  .hero-alfa-name {
    font-size: clamp(2.6rem, 13.5vw, 4.5rem);
    letter-spacing: 0.01em;
    margin-right: 0;
  }
  .handwritten-label {
    font-size: 1.55rem;
    margin-bottom: 0.4rem;
  }
  .avail-badge {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    white-space: normal;
    text-align: center;
    justify-content: center;
    margin-bottom: 1.2rem;
  }
  .hero-subtext {
    font-size: clamp(1.1rem, 4.2vw, 1.45rem);
    line-height: 1.4;
    margin-bottom: 1.4rem;
  }

  .hero-metrics-row {
    gap: 0.75rem;
    margin-bottom: 0;
  }
  .hero-metric-badge {
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }
  .hero-cta-wrap {
    margin-top: 2.5rem;
  }



  /* About section responsiveness */

  .about-section {
    padding: 4.5rem 0 3rem;
  }
  .about-headline {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
    line-height: 1.5;
  }
  .skill-2x2-grid {
    gap: 0.5rem;
    width: 100%;
  }
  .skill-row {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
  }
  .skill-pill-box {
    font-size: 0.78rem;
  }
  .skill-pill-title {
    padding: 0.4rem 0.65rem;
  }
  .skill-pill-sub {
    padding: 0.4rem 0.65rem;
  }

  /* Sticky Curated Note */
  .curated-sticky-note {
    font-size: 1.2rem;
    padding: 1.1rem 1.4rem;
    margin: 0 auto 3rem;
    max-width: 100%;
    transform: rotate(-1deg);
  }

  /* Folders and Bento / Vertical Cards */
  .folder-card {
    margin-bottom: 3.5rem;
    border-radius: 16px;
  }
  .folder-body {
    padding: 1.4rem 1rem 1.2rem;
  }
  .folder-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
  }
  .folder-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }
  .folder-desc {
    font-size: 0.85rem;
  }
  .folder-controls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .folder-btn-group {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    box-shadow: 2.5px 2.5px 0 var(--dark);
  }
  .carousel-btn svg {
    width: 16px;
    height: 16px;
  }


  .carousel-container {
    padding: 0.4rem 4px 1rem 2px;
  }
  .bento-card {
    width: 82vw !important;
    min-width: 82vw !important;
    max-width: 320px !important;
    flex: 0 0 82vw !important;
  }
  .vertical-card {
    width: 44vw !important;
    min-width: 44vw !important;
    max-width: 175px !important;
    flex: 0 0 44vw !important;
  }

  /* Talk section & mascot */
  .talk-section {
    padding: 4.5rem 0 2.5rem;
  }
  .mascot-petal-wrap {
    width: 130px;
    height: 130px;
  }
  .talk-pixel-title {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }
  .talk-sub {
    font-size: clamp(1.2rem, 4.5vw, 1.55rem);
  }

  /* Hazard Banner */
  .hazard-contact-wrap {
    padding: 1.5rem 1rem;
  }
  .hazard-stripe-banner {
    padding: 1.8rem 1rem;
    border-radius: 14px;
  }
  .hazard-cta-btn {
    padding: 0.75rem 1.6rem;
    font-size: 0.9rem;
  }

  /* Social text row */
  .social-text-row {
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 1.5rem 1rem;
  }
  .social-text-link {
    font-size: 0.8rem;
  }

  /* Tooltip alignment */
  .nav-bubble-tooltip {
    left: auto;
    right: -10px;
    transform: translateY(4px);
  }
  .nav-bubble-tooltip::before {
    left: auto;
    right: 18px;
    transform: none;
  }
  .nav-contact-bubble:hover .nav-bubble-tooltip,
  .nav-contact-bubble:focus-visible .nav-bubble-tooltip {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .site-container {
    padding: 0 0.85rem;
  }
  .hero-alfa-name {
    font-size: clamp(2.3rem, 12.5vw, 3.2rem);
  }
  .figma-bounding-box {
    padding: 0.5rem 0.85rem;
  }
  .ref-cta-btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.85rem;
  }
  .bento-card {
    width: 86vw !important;
    min-width: 86vw !important;
    flex: 0 0 86vw !important;
  }
  .vertical-card {
    width: 46vw !important;
    min-width: 46vw !important;
    flex: 0 0 46vw !important;
  }
}


