/* ==========================================================================
   WILFRED DSOUZA - RETRO COMIC POP-ART PORTFOLIO HERO
   ========================================================================== */

/* --- Custom Variables & Palette --- */
:root {
  --bg-yellow: #FCB115;
  --comic-magenta: #E60067;
  --comic-magenta-bright: #E60067;
  --comic-blue: #24197B;
  --comic-black: #000000;
  --comic-white: #FFFFFF;
  
  --font-comic: 'Impact', 'Montserrat', 'Anton', sans-serif;
  --font-sans: 'Inter', 'Montserrat', 'Poppins', sans-serif;
  
  --nav-height: 66px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-yellow);
  color: var(--comic-black);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ensure all anchored sections offset for the fixed navbar height */
main[id],
section[id] {
  scroll-margin-top: var(--nav-height);
}

/* ==========================================================================
   TOP NAVIGATION BAR (Solid Jet Black)
   ========================================================================== */
.comic-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--comic-black);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #000;
}

/* Walking Cat inside Navbar */
.nav-cat-track {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--nav-height);
  pointer-events: none;
  overflow: hidden;
  z-index: 1005;
}

.nav-cat-canvas {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 96px;
  height: 58px;
  transform-origin: 50% 100%;
  pointer-events: none;
  filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.5));
}

.comic-nav {
  position: relative;
  z-index: 1010;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mobile Hamburger Button (Hidden on Desktop) */
.nav-hamburger {
  display: none;
}

.nav-links {
  position: relative;
  z-index: 1012;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* HOME Nav Button — unstyled by default, yellow pill only when active */
.nav-btn.nav-home {
  background-color: transparent;
  color: var(--comic-white);
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
  padding: 6px 2px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background-color 0.15s ease, padding 0.15s ease;
  text-transform: uppercase;
}

.nav-btn.nav-home.active {
  background-color: var(--bg-yellow);
  color: var(--comic-black);
  padding: 8px 24px;
}

.nav-btn.nav-home:hover {
  color: var(--bg-yellow);
}

.nav-btn.nav-home.active:hover {
  background-color: #FFC400;
  color: var(--comic-black);
  transform: translateY(-2px);
}

/* Regular Nav Links */
.nav-link {
  color: var(--comic-white);
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s ease, transform 0.15s ease;
  padding: 6px 2px;
}

.nav-link:hover {
  color: var(--bg-yellow);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION LAYOUT
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: var(--nav-height);
  background-color: var(--bg-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Halftone Magenta Dot Overlays (Interlocking staggered comic dots) */
.halftone-pattern {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background-image: 
    radial-gradient(circle, var(--comic-magenta) 2.6px, transparent 2.9px),
    radial-gradient(circle, var(--comic-magenta) 2.6px, transparent 2.9px);
  background-size: 13px 13px;
  background-position: 0 0, 6.5px 6.5px;
  opacity: 0.48;
  transform: rotate(-15deg) scale(1.4);
}

/* Top-Left Halftone Area (Interlocking staggered dots) */
.halftone-pattern.top-left {
  top: -10%;
  left: -10%;
  width: 55vw;
  height: 55vh;
  -webkit-mask-image: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 22%, rgba(0, 0, 0, 0) 50%);
  mask-image: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 22%, rgba(0, 0, 0, 0) 50%);
}

/* Bottom-Middle / Behind Character (Left side of character) */
.halftone-pattern.bottom-character {
  bottom: -15%;
  left: 42%;
  width: 50vw;
  height: 55vh;
  opacity: 0.48;
  -webkit-mask-image: radial-gradient(circle at 50% 60%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 24%, rgba(0, 0, 0, 0) 52%);
  mask-image: radial-gradient(circle at 50% 60%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 24%, rgba(0, 0, 0, 0) 52%);
}

/* Top-Right Halftone Area (Behind top-right stripe speed lines) */
.halftone-pattern.top-right {
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vh;
  opacity: 0.45;
  transform: rotate(15deg) scale(1.4);
  -webkit-mask-image: radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 20%, rgba(0, 0, 0, 0) 48%);
  mask-image: radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 20%, rgba(0, 0, 0, 0) 48%);
}

/* Lightning Area Halftone (Behind lightning bolt, reddish-orange dots) */
.halftone-pattern.lightning-area {
  top: -5%;
  left: 36%;
  width: 48vw;
  height: 52vh;
  background-image: radial-gradient(#FF4500 24%, transparent 25%);
  background-size: 7.5px 7.5px;
  opacity: 0.52;
  transform: rotate(-10deg) scale(1.4);
  -webkit-mask-image: radial-gradient(circle at 45% 25%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 22%, rgba(0, 0, 0, 0) 54%);
  mask-image: radial-gradient(circle at 45% 25%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 22%, rgba(0, 0, 0, 0) 54%);
}

/* Corner Speedlines */
.speed-lines {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  object-fit: contain;
}

.top-right-lines {
  top: var(--nav-height);
  right: 0;
  width: clamp(280px, 32vw, 520px);
  opacity: 1;
}

.bottom-left-lines {
  bottom: 0;
  left: 0;
  width: clamp(260px, 28vw, 460px);
  opacity: 1;
}

/* Hero Container */
.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1680px;
  height: calc(100vh - var(--nav-height));
  margin: 0 auto;
  padding: 0 40px 0 60px;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
}

/* ==========================================================================
   LEFT COLUMN (Speech Bubble, Titles, CTA)
   ========================================================================== */
.hero-left-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 15;
  padding-top: 0;
  margin-top: -65px;
  margin-left: 65px;
}

/* Speech Bubble Wrapper */
.speech-bubble-wrapper {
  position: relative;
  width: 100%;
  max-width: 760px;
}

/* "HEY!" Badge - Overlapping Top-Left Spikes */
.hey-badge-img {
  position: absolute;
  top: 56px;
  left: 115px;
  width: clamp(88px, 8.2vw, 118px);
  height: auto;
  z-index: 30;
  transform: rotate(-8deg);
  filter: drop-shadow(3px 3px 0px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.hey-badge-img:hover {
  transform: rotate(-4deg) scale(1.06);
}

/* Speech Bubble Card */
.speech-bubble-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 688;
  background-image: url('assets/speech-bubble.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  padding: 58px 70px 48px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-6deg);
  filter: drop-shadow(5px 6px 0px rgba(0, 0, 0, 0.12));
}

/* "I'M" Text - Same Font Size as WILFRED DSOUZA */
.bubble-im {
  font-family: 'Impact', 'Montserrat', 'Anton', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(36px, 3.8vw, 54px);
  color: var(--comic-black);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 6px;
  display: block;
  transform: rotate(-3.5deg);
}

/* "WILFRED DSOUZA" Title */
.bubble-name {
  font-family: 'Impact', 'Montserrat', 'Anton', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(54px, 6.2vw, 94px);
  line-height: 1.02;
  color: var(--comic-magenta-bright);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 10px 0;
  transform: rotate(-3.5deg);
  
  /* Crisp, Tight 3D Comic Block Shadow strictly to Bottom-Right */
  -webkit-text-stroke: 1px var(--comic-black);
  text-shadow: 
    1.5px 1.5px 0 var(--comic-black),
    3px 3px 0 var(--comic-black),
    4.5px 4.5px 0 var(--comic-black),
    6px 6px 0 var(--comic-black);
  user-select: none;
}

.name-line {
  display: block;
}

.name-line:first-child {
  margin-bottom: 6px;
}

/* Blue Profession Tag (Parallelogram) */
.profession-tag {
  background-color: #24197B;
  padding: 12px 26px;
  border: 3.5px solid var(--comic-black);
  border-radius: 2px;
  transform: skewX(-10deg);
  box-shadow: 5px 5px 0 var(--comic-black);
  margin-top: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(310px, 28vw, 365px);
  min-height: 70px;
}

.profession-line {
  display: block;
  transform: skewX(10deg);
  color: var(--comic-white);
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(13px, 1.3vw, 18.5px);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.35;
  min-height: 1.35em;
}

/* Hero Body Text / Subtitle (Centered below bubble) */
.hero-body-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(17px, 1.55vw, 20.5px);
  color: var(--comic-black);
  line-height: 1.38;
  margin-top: -8px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 760px;
  text-align: center;
  letter-spacing: -0.2px;
}

/* CTA Buttons Row */
.cta-button-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 760px;
}

.comic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(14px, 1.15vw, 15.5px);
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 8px;
  border: 2.5px solid var(--comic-black);
  box-shadow: 4px 4px 0 var(--comic-black);
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease, background-color 0.2s;
  user-select: none;
}

.btn-arrow {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.download-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

/* Left Button: Solid Magenta (#E60067) */
.btn-magenta {
  background-color: var(--comic-magenta-bright);
  color: var(--comic-white);
}

.btn-magenta:hover {
  background-color: #ff1279;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--comic-black);
}

.btn-magenta:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-magenta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--comic-black);
}

/* Right Button: White */
.btn-white {
  background-color: var(--comic-white);
  color: var(--comic-black);
}

.btn-white:hover {
  background-color: #FAFAFA;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--comic-black);
}

.btn-white:hover .download-icon {
  transform: translateY(3px);
}

.btn-white:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--comic-black);
}

/* Comic Star Graphic (Bottom Left) */
.comic-star-deco {
  position: absolute;
  bottom: 80px;
  left: 8px;
  width: clamp(80px, 8.2vw, 120px);
  height: auto;
  pointer-events: none;
  z-index: 5;
  transform: rotate(-10deg);
  filter: drop-shadow(3px 3px 0px rgba(0, 0, 0, 0.3));
}

/* ==========================================================================
   RIGHT COLUMN (Character Illustration & Halftone Effects)
   ========================================================================== */
.hero-right-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 20;
}

/* Red Dot Halftone Cloud */
.character-red-dots {
  position: absolute;
  right: -80px;
  top: 16%;
  width: clamp(380px, 44vw, 650px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

/* White Lightning Bolt */
.character-lightning {
  position: absolute;
  top: 5%;
  left: -35px;
  width: clamp(100px, 9.8vw, 145px);
  height: auto;
  pointer-events: none;
  z-index: 25;
  transform: rotate(6deg);
  filter: drop-shadow(3px 3px 0px rgba(0, 0, 0, 0.25));
  animation: lightningFloat 3.5s ease-in-out infinite alternate;
}

@keyframes lightningFloat {
  0% {
    transform: translateY(0px) rotate(6deg);
  }
  100% {
    transform: translateY(-8px) rotate(10deg);
  }
}

/* Character Holder (Interactive Hover Switch) */
.character-holder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 10;
  cursor: pointer;
}

.character-illustration {
  width: auto;
  max-width: 120%;
  height: 94%;
  max-height: 860px;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(-6px 8px 16px rgba(0, 0, 0, 0.22));
  pointer-events: auto;
}

.character-illustration.default-img {
  transform: translateX(45px);
  opacity: 1;
}

.character-illustration.hover-img {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-15px);
}

.character-holder:hover .default-img {
  opacity: 0;
}

.character-holder:hover .hover-img {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet & Medium Screens (max-width: 1024px) */
@media (max-width: 1024px) {
  .comic-nav {
    padding: 0 20px;
  }
  
  .nav-links {
    gap: 16px;
  }

  .profession-tag {
    width: max-content;
    max-width: 90%;
    min-width: 290px;
    padding: 10px 20px;
  }

  .profession-line {
    font-size: clamp(11.5px, 1.3vw, 15px);
    white-space: nowrap;
    text-align: center;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  /* Header & Navigation Bar (Fixed Top Bar with Right-Aligned Hamburger) */
  .comic-header {
    height: 60px;
    padding: 0 16px;
  }

  .nav-cat-track,
  .nav-cat-canvas {
    display: none !important;
  }

  .comic-nav {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
  }

  /* Hamburger Button */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: #FCB115;
    border: 2.5px solid #000;
    border-radius: 6px;
    box-shadow: 2.5px 2.5px 0 #000;
    padding: 8px 7px;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .nav-hamburger:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #000;
  }

  .hamburger-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
  }

  .nav-hamburger.open .hamburger-bar:nth-child(1) {
    transform: rotate(45deg) translate(2px, -1px);
  }

  .nav-hamburger.open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(12px);
  }

  .nav-hamburger.open .hamburger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 1px);
  }

  /* Fullscreen Slide-in Sidebar Drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(6, 6, 6, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 60px 24px;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links .nav-link,
  .nav-links .nav-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 10px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.18s ease;
    width: fit-content;
    text-align: center;
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-btn:hover {
    color: #FCB115;
    transform: scale(1.05);
  }

  .nav-links .nav-btn.nav-home.active,
  .nav-links .nav-link.active {
    background-color: #FCB115;
    color: #000000;
    box-shadow: 4px 4px 0 #000;
    border: 2.5px solid #000;
  }

  /* Hero Section Container — Natural Vertical Poster Flow */
  .hero-section {
    height: auto;
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 0;
    overflow: hidden;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 10px 16px 0 16px;
    margin: 0 auto;
    height: auto;
  }

  /* Group 1 & 2 Container */
  .hero-left-content {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Group 1: Speech Bubble Cluster (Proportionally Locked Scaling Group) */
  .speech-bubble-wrapper {
    position: relative;
    width: 92vw;
    max-width: 380px;
    margin: 0 auto 4px auto;
  }

  .hey-badge-img {
    top: 8%;
    left: 15%;
    width: 22%;
    max-width: 82px;
    transform: rotate(-8deg);
  }

  .speech-bubble-card {
    width: 100%;
    aspect-ratio: 1024 / 688;
    padding: 10% 6% 8% 6%;
    filter: drop-shadow(3px 4px 0px rgba(0, 0, 0, 0.12));
  }

  .bubble-im {
    font-size: clamp(18px, 5.2vw, 24px);
    margin-bottom: 2px;
  }

  .bubble-name {
    font-size: clamp(32px, 9.2vw, 44px);
    margin-bottom: 4px;
    line-height: 1.02;
  }

  .name-line:first-child {
    margin-bottom: 2px;
  }

  .profession-tag {
    width: 76%;
    max-width: 245px;
    min-width: 0;
    padding: 5px 8px;
    min-height: 38px;
    margin-top: 4px;
    border-width: 2.5px;
    box-shadow: 3px 3px 0 var(--comic-black);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .profession-line {
    font-size: clamp(8.5px, 2.45vw, 10.8px);
    letter-spacing: 0.2px;
    line-height: 1.25;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    min-height: auto;
  }

  /* Group 2: Tagline & CTA Buttons */
  .hero-body-text {
    font-size: 14.5px;
    line-height: 1.38;
    margin-top: 10px;
    margin-bottom: 16px;
    max-width: 310px;
    text-align: center;
  }

  .cta-button-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 290px;
    margin: 0 auto 20px auto;
  }

  .comic-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 14px;
  }

  .comic-star-deco {
    display: none;
  }

  /* Group 3: Character Illustration Cluster (Anchored at end of hero section) */
  .hero-right-content {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: 330px;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
  }

  .character-red-dots {
    display: block;
    position: absolute;
    bottom: 0;
    right: -55px;
    left: auto;
    transform: none;
    width: clamp(280px, 85vw, 340px);
    height: auto;
    opacity: 0.95;
    z-index: 5;
  }

  .character-lightning {
    display: none;
  }

  .character-holder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    cursor: default;
    z-index: 10;
  }

  .character-illustration {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(-4px 6px 12px rgba(0, 0, 0, 0.22));
    pointer-events: none;
  }

  .character-illustration.default-img {
    transform: none;
    opacity: 1 !important;
    display: block !important;
  }

  .character-illustration.hover-img {
    display: none !important;
    opacity: 0 !important;
  }

  .character-holder:hover .default-img {
    opacity: 1 !important;
    display: block !important;
  }

  .character-holder:hover .hover-img {
    display: none !important;
    opacity: 0 !important;
  }

  /* Corner Speedlines on Mobile */
  .top-right-lines {
    top: 56px;
    right: 0;
    width: clamp(140px, 35vw, 180px);
  }

  .bottom-left-lines {
    bottom: 0;
    left: 0;
    width: clamp(130px, 32vw, 160px);
  }

  /* Halftone patterns scaled for mobile */
  .halftone-pattern.top-left {
    display: none;
  }

  .halftone-pattern.top-right {
    top: 0;
    right: 0;
    width: 80vw;
    height: 40vh;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(circle at 85% 20%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.75) 35%, rgba(0, 0, 0, 0) 65%);
    mask-image: radial-gradient(circle at 85% 20%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.75) 35%, rgba(0, 0, 0, 0) 65%);
  }

  .halftone-pattern.bottom-character {
    display: block;
    bottom: 0;
    left: 0;
    width: 90vw;
    height: 40vh;
    opacity: 0.45;
    -webkit-mask-image: radial-gradient(circle at 30% 80%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 60%);
    mask-image: radial-gradient(circle at 30% 80%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 60%);
  }

  .halftone-pattern.lightning-area {
    display: none;
  }
}

/* ==========================================================================
   COMIC PANEL BLACK SEPARATION DIVIDER
   ========================================================================== */
.comic-panel-divider {
  width: 100%;
  height: 8px;
  background-color: #000000;
  position: relative;
  z-index: 50;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   ABOUT SECTION — Comic Book Pop-Art Style
   ========================================================================== */

/* Section base — exactly one viewport tall (screen minus navbar) */
.about-section {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  max-height: calc(100vh - var(--nav-height));
  background-color: #0757D9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Dark halftone dot texture over the blue (perimeter borders & corners) */
.about-halftone {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle, rgba(0, 16, 70, 0.98) 3.5px, transparent 4px),
    radial-gradient(circle, rgba(0, 16, 70, 0.98) 3.5px, transparent 4px);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse 64% 72% at 50% 50%,
    rgba(0, 0, 0, 0) 54%,
    rgba(0, 0, 0, 0.22) 72%,
    rgba(0, 0, 0, 0.68) 86%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: radial-gradient(
    ellipse 64% 72% at 50% 50%,
    rgba(0, 0, 0, 0) 54%,
    rgba(0, 0, 0, 0.22) 72%,
    rgba(0, 0, 0, 0.68) 86%,
    rgba(0, 0, 0, 1) 100%
  );
}

/* Center Halftone Glow (Subtle dot texture fading gently in the middle) */
.about-halftone-center {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle, rgba(0, 18, 75, 0.82) 3.5px, transparent 4px),
    radial-gradient(circle, rgba(0, 18, 75, 0.82) 3.5px, transparent 4px);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse 46% 40% at 50% 48%,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.18) 28%,
    rgba(0, 0, 0, 0) 62%
  );
  mask-image: radial-gradient(
    ellipse 46% 40% at 50% 48%,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.18) 28%,
    rgba(0, 0, 0, 0) 62%
  );
}

/* ---- DECORATIVE ASSETS ---- */
.about-deco {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

/* Top-left speed strip — pulled in slightly from corner */
.about-strip-tl {
  top: 0;
  left: 0;
  width: clamp(65px, 7vw, 115px);
  z-index: 3;
  transform: rotate(0deg);
}

/* Top-right speed strip */
.about-strip-tr {
  top: 0;
  right: 0;
  width: clamp(65px, 7vw, 115px);
  z-index: 3;
}

/* Pink burst left — partially off-screen left, vertical middle */
.about-burst-l {
  left: -6%;
  top: 30%;
  width: clamp(160px, 18vw, 290px);
  z-index: 2;
  transform: rotate(-8deg);
}

/* Pink burst right — partially off-screen right, slightly higher */
.about-burst-r {
  right: -5%;
  top: 20%;
  width: clamp(160px, 18vw, 290px);
  z-index: 4;
  transform: rotate(10deg);
}

/* Stars */
.about-star {
  width: clamp(36px, 4vw, 58px);
  z-index: 5;
}

.about-star-tl {
  left: 5.5%;
  top: 20%;
  transform: rotate(-12deg);
}

.about-star-tr {
  right: 40%;
  top: 11%;
  transform: rotate(8deg);
}

/* Lightning bolt — between text block and character frame */
.about-lightning {
  left: 52%;
  top: 42%;
  width: clamp(55px, 5.5vw, 84px);
  z-index: 6;
  transform: rotate(-8deg);
}

/* Paper plane with trail — bottom center */
.about-plane {
  left: 50%;
  bottom: -3%;
  width: clamp(260px, 34vw, 520px);
  z-index: 6;
  transform: translateX(-50%);
}

/* ---- MAIN CONTENT GRID ---- */
.about-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 24px 6% 20px 12%;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  height: 100%;
  flex: 1;
  box-sizing: border-box;
}

/* ---- LEFT COLUMN ---- */
.about-left {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-right: 24px;
  justify-content: flex-start;
  margin-top: -40px;
}

/* ABOUT ME speech-bubble tag */
.about-me-tag {
  display: block;
  width: clamp(180px, 24vw, 360px);
  height: auto;
  margin-left: -1%;
  margin-top: -30px;
  margin-bottom: 8px;
  transform: rotate(-2deg);
  filter: drop-shadow(4px 5px 0px rgba(0,0,0,0.45));
  position: relative;
  z-index: 8;
}

/* Body text container */
.about-body {
  margin-left: 8%;
  max-width: 560px;
}

/* Individual paragraphs — Barlow Condensed, comic narration style */
.about-para {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(14px, 1.25vw, 18.5px);
  font-weight: 500;
  line-height: 1.4;
  color: #FFFFFF;
  margin-bottom: 9px;
  letter-spacing: 0.1px;
  position: relative;
  z-index: 8;
}

/* Yellow highlight — bolder weight */
.about-yellow {
  color: #FFC400;
  font-weight: 700;
}

/* Inline Music Note Graphic */
.about-music-note {
  display: inline-block;
  vertical-align: text-bottom;
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
  margin-left: 3px;
  cursor: pointer;
  transform: translateY(-1px);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(1.5px 2px 0px rgba(0, 0, 0, 0.5));
}

.about-music-note:hover,
.about-music-note.playing {
  transform: translateY(-3px) scale(1.28) rotate(10deg);
  filter: drop-shadow(2px 3px 0px rgba(0, 0, 0, 0.7));
}

/* Closing statement — Bangers, comic-book punchline */
.about-closing {
  font-family: 'Bangers', cursive;
  font-size: clamp(16px, 1.5vw, 23px);
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 1.2;
  color: #FFC400;
  margin-top: 16px;
  position: relative;
  z-index: 8;
}

/* ---- RIGHT COLUMN ---- */
.about-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

/* Frame wrapper */
.about-frame-wrapper {
  position: relative;
  display: inline-block;
  width: clamp(240px, 36vw, 540px);
  transform: rotate(1.5deg);
  z-index: 10;
  margin-top: -150px;
  margin-left: 80px;
}



/* The character SVG already contains its own comic frame */
.about-character-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(6px 8px 0px rgba(0, 0, 0, 0.55));
}

/* Tape — yellow skewed strip across top-right of frame */
.about-tape {
  position: absolute;
  top: -14px;
  right: 8%;
  width: 100px;
  height: 28px;
  background-color: #F5C451;
  border: 2px solid rgba(0,0,0,0.25);
  transform: rotate(-4deg);
  z-index: 12;
  box-shadow: 2px 3px 0 rgba(0,0,0,0.22);
  /* slightly textured look */
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.08) 0px,
    rgba(255,255,255,0.08) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* ==========================================================================
   RESPONSIVE — ABOUT SECTION
   ========================================================================== */
@media (max-width: 1100px) {
  .about-content-wrapper {
    grid-template-columns: 55% 45%;
    padding: 40px 4% 50px 4%;
  }

  .about-me-tag {
    width: clamp(200px, 38vw, 420px);
  }

  .about-frame-wrapper {
    width: clamp(240px, 38vw, 480px);
  }
}

@media (max-width: 800px) {
  .about-section {
    height: auto;
    max-height: none;
    min-height: 100vh;
    padding-top: 24px;
    padding-bottom: 50px;
  }

  .about-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 6% 36px 6%;
    height: auto;
  }

  /* Flatten left column into flex items on mobile */
  .about-left {
    display: contents;
  }

  /* 1. ABOUT ME speech-bubble tag on top */
  .about-me-tag {
    order: 1;
    display: block;
    width: clamp(220px, 72vw, 340px);
    margin-top: 0;
    margin-left: 0;
    margin-bottom: -24px;
    transform: rotate(-1.5deg);
    position: relative;
    z-index: 12;
  }

  /* 2. Character frame illustration below the tag */
  .about-right {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    margin-top: -10px;
    margin-bottom: 20px;
  }

  .about-frame-wrapper {
    width: clamp(230px, 75vw, 370px);
    margin-top: 0;
    margin-left: 0;
    transform: rotate(1.5deg);
  }

  /* 3. Body text below character */
  .about-body {
    order: 3;
    width: 100%;
    max-width: 440px;
    margin-left: 0;
    text-align: left;
  }

  .about-burst-l { display: none; }
  .about-burst-r { display: none; }
  .about-strip-tl { width: 100px; }
  .about-strip-tr { width: 100px; }

  .about-plane {
    width: clamp(180px, 55vw, 290px);
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
  }

  .about-lightning {
    left: auto;
    right: 6%;
    top: 36%;
    width: 46px;
  }
}

@media (max-width: 480px) {
  .about-para {
    font-size: 15px;
  }

  .about-closing {
    font-size: 16px;
  }

  .about-star { width: 30px; }

  .about-plane {
    width: 55vw;
  }
}

/* ==========================================================================
   SKILLS SECTION — Comic Book / Pop-Art Poster
   ========================================================================== */

/* Section Base */
.skills-section {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  max-height: calc(100vh - var(--nav-height));
  background: radial-gradient(ellipse 95% 90% at 50% 50%, #7644D2 0%, #6034B0 55%, #4A238E 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Comic Background Texture Overlay */
.skills-bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/skills-background-overlay.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  filter: brightness(1.15);
}

/* Top-Right Comic Criss-Cross Hatching (Fading Outwards) */
.skills-crosshatch-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(360px, 35vw, 550px);
  height: clamp(340px, 45vh, 550px);
  z-index: 3;
  pointer-events: none;
  background-image: 
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.42) 0, rgba(255, 255, 255, 0.42) 1.5px, transparent 1.5px, transparent 16px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.42) 0, rgba(255, 255, 255, 0.42) 1.5px, transparent 1.5px, transparent 16px);
  -webkit-mask-image: radial-gradient(circle at 100% 0%, black 0%, rgba(0, 0, 0, 0.8) 18%, rgba(0, 0, 0, 0.35) 38%, transparent 60%);
  mask-image: radial-gradient(circle at 100% 0%, black 0%, rgba(0, 0, 0, 0.8) 18%, rgba(0, 0, 0, 0.35) 38%, transparent 60%);
  opacity: 0.85;
}

/* Skills Poster Composition Container */
.skills-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1420px;
  height: 100%;
  max-height: calc(100vh - var(--nav-height));
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Standalone SKILLS Badge (upper-left anchor, static) */
.skills-badge-standalone {
  position: absolute;
  left: 9%;
  top: 3.5%;
  width: clamp(210px, 23vw, 320px);
  z-index: 25;
  margin-left: 0;
  pointer-events: none;
}

/* Main Rows Wrapper */
.skills-rows-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
}

/* Skills Rows */
.skills-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.skills-row-1 {
  align-items: flex-end;
  justify-content: flex-end;
  margin-bottom: clamp(6px, 1.2vh, 12px);
  z-index: 12;
  padding-right: 1.5%;
  transform: translateX(-35px);
}

.skills-row-2 {
  align-items: center;
  margin-bottom: clamp(6px, 1.2vh, 12px);
  z-index: 11;
  transform: translateX(48px);
}

.skills-row-3 {
  align-items: flex-start;
  z-index: 10;
}

/* Individual Panel Wrappers */
.skills-panel-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.skills-panel-wrapper:hover {
  z-index: 30;
}

.skills-panel-wrapper:hover .skills-panel-img {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(6px 10px 0px rgba(0, 0, 0, 0.7));
}

/* Panel Images */
.skills-panel-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 27.5vh;
  object-fit: contain;
  filter: drop-shadow(3px 5px 0px rgba(0, 0, 0, 0.5));
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
  cursor: pointer;
}

/* --- ROW 1 PROPORTIONS (Next to Next) --- */
.panel-languages-wrapper {
  width: 32%;
  flex-shrink: 0;
  margin-right: -105px;
}

.panel-web-wrapper {
  width: 36.5%;
  flex-shrink: 0;
  margin-left: -35px;
}

/* --- ROW 2 PROPORTIONS (Next to Next) --- */
.panel-cs-wrapper {
  width: 55%;
  flex-shrink: 0;
  margin-right: -120px;
  transform: translateX(25px);
}

.panel-databases-wrapper {
  width: 37%;
  flex-shrink: 0;
  margin-left: -35px;
}

/* --- ROW 3 PROPORTIONS (Next to Next) --- */
.panel-cloud-wrapper {
  width: 50.5%;
  flex-shrink: 0;
  margin-right: -110px;
  transform: translateX(25px);
}

.panel-tools-wrapper {
  width: 41.5%;
  flex-shrink: 0;
  margin-left: 0;
}

/* Retro CD Disc (Half out of frame on the left) */
.skills-cd-wrapper {
  position: absolute;
  left: 0;
  top: 59%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 32vw, 500px);
  aspect-ratio: 1 / 1;
  z-index: 20;
  cursor: pointer;
  filter: drop-shadow(6px 8px 0px rgba(0, 0, 0, 0.65));
  transition: filter 0.25s ease;
}

.skills-cd-wrapper:hover {
  filter: drop-shadow(8px 12px 0px rgba(0, 0, 0, 0.8));
}

.skills-cd-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 49.6% 49.12%;
  will-change: transform;
}

.skills-cd-wrapper.playing .skills-cd-img {
  animation: cd-rotate-spin 2.8s linear infinite;
}

@keyframes cd-rotate-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Decorative Static Music Notes (2 above disc left of badge, 2 below disc) */
.skills-note {
  position: absolute;
  z-index: 22;
  pointer-events: none;
  display: block;
  height: auto;
  filter: drop-shadow(2px 3px 0px rgba(0, 0, 0, 0.55));
}

/* 2 notes above disc, to the left of skills badge */
.skills-note-top-1 {
  left: clamp(20px, 3vw, 55px);
  top: 15%;
  width: clamp(24px, 2.2vw, 34px);
  transform: rotate(-16deg);
}

.skills-note-top-2 {
  left: clamp(52px, 5.8vw, 95px);
  top: 22%;
  width: clamp(20px, 1.8vw, 28px);
  transform: rotate(14deg);
}

/* 2 notes below disc */
.skills-note-bot-1 {
  left: clamp(88px, 9.2vw, 145px);
  top: 88%;
  width: clamp(22px, 2vw, 30px);
  transform: rotate(-12deg);
}

.skills-note-bot-2 {
  left: clamp(52px, 5.8vw, 95px);
  top: 91%;
  width: clamp(24px, 2.2vw, 34px);
  transform: rotate(18deg);
}

/* Yawning Cat GIF (Bottom-Right Corner Transparent) */
.skills-cat-wrapper {
  position: absolute;
  right: 1%;
  bottom: 0;
  width: clamp(140px, 14vw, 215px);
  z-index: 18;
  pointer-events: none;
}

.skills-cat-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   RESPONSIVE — SKILLS SECTION
   ========================================================================== */
@media (max-width: 1200px) {
  .skills-container {
    padding: 8px 16px;
  }
}

@media (max-width: 768px) {
  .skills-section {
    height: auto;
    max-height: none;
    min-height: 100vh;
    padding: 40px 16px 100px 16px;
    overflow-y: visible;
    position: relative;
  }

  .skills-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: auto;
    max-height: none;
    padding: 0;
  }

  /* Remove disc, notes, and crosshatch in mobile view */
  .skills-cd-wrapper,
  .skills-note,
  .skills-crosshatch-tr {
    display: none !important;
  }

  /* Centered SKILLS Badge on top of stack */
  .skills-badge-standalone {
    position: relative;
    left: auto;
    top: auto;
    width: 82%;
    max-width: 300px;
    margin: 0 auto 6px auto;
  }

  .skills-rows-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 16px;
  }

  .skills-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 16px;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  /* Stack all panel components one below another */
  .skills-panel-wrapper,
  .panel-languages-wrapper,
  .panel-web-wrapper,
  .panel-cs-wrapper,
  .panel-databases-wrapper,
  .panel-cloud-wrapper,
  .panel-tools-wrapper {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    display: flex;
    justify-content: center;
    transform: none !important;
  }

  .skills-panel-img {
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .skills-panel-wrapper:hover .skills-panel-img {
    transform: none !important;
  }

  /* Yawning cat at bottom right corner */
  .skills-cat-wrapper {
    position: absolute;
    right: 12px;
    bottom: 8px;
    width: clamp(110px, 28vw, 150px);
    z-index: 25;
    pointer-events: none;
  }
}

/* ==========================================================================
   PROJECTS SECTION — Comic Red Top Strip + Natural Scrolling 2-Column Board
   ========================================================================== */
.projects-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--nav-height));
  height: auto;
  background-color: #F5F0E5;
  border-top: 4px solid var(--comic-black);
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  box-sizing: border-box;
}

/* Top Red Comic Strip (Thin Pop-Art header banner) */
.projects-top-strip {
  position: relative;
  width: 100%;
  height: clamp(70px, 7.5vw, 95px);
  min-height: 65px;
  background: radial-gradient(ellipse 95% 90% at 50% 45%, #F20A3C 0%, #D80032 55%, #A00022 100%);
  border-bottom: 3.5px solid var(--comic-black);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 max(24px, 5%);
  box-sizing: border-box;
  z-index: 5;
  flex-shrink: 0;
}

/* Red Comic Halftone Dot Overlay (Staggered interlocking comic dots) */
.projects-halftone-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle, #000000 3px, transparent 3.3px),
    radial-gradient(circle, #000000 3px, transparent 3.3px);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
  -webkit-mask-image: radial-gradient(ellipse 70% 95% at 50% 0%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 50%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 95% at 50% 0%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 50%, transparent 85%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
}

/* Decorative Top-Right Comic Stripe & Star Overlay */
.projects-top-stripe-img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 40%;
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
  z-index: 2;
}

/* Header Badge Wrapper (Aligned with Skills badge on X-axis) */
.projects-header-wrapper {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  padding-left: 9%;
}

.projects-badge-img {
  display: block;
  width: clamp(160px, 16vw, 225px);
  height: auto;
  filter: drop-shadow(3px 4px 0px rgba(0, 0, 0, 0.55));
}

/* Main Full-Width Cream Content Board */
.projects-content-board {
  position: relative;
  width: 100%;
  background-color: #F5F0E5;
  padding: 32px max(24px, 5%) 40px max(24px, 5%);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

/* Category Filter Buttons Bar */
.projects-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  width: 100%;
  flex-shrink: 0;
}

.project-filter-btn {
  font-family: 'Barlow Condensed', 'Anton', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #000000;
  background-color: #F5F0E5;
  border: 2.2px solid #000000;
  border-radius: 6px;
  padding: 7px 22px;
  cursor: pointer;
  box-shadow: 2.5px 2.5px 0px #000000;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.project-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 3.5px 4px 0px #000000;
}

.project-filter-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #000000;
}

.project-filter-btn.active {
  background-color: #FFC21A;
  box-shadow: 3px 3px 0px #000000;
  transform: translateY(-1px);
}

/* 3-Column Projects Grid (Natural scrolling layout) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 390px));
  justify-content: center;
  gap: 22px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Individual Project Card */
.project-card {
  background-color: #FFFFFF;
  border: 2.5px solid var(--comic-black);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 3.5px 5px 0px var(--comic-black);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, opacity 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 5.5px 9px 0px var(--comic-black);
}

.project-card.hidden {
  display: none !important;
}

/* Project Card Banner Artwork (Slightly reduced display) */
.project-banner-wrapper {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  max-height: clamp(140px, 15vw, 195px);
  overflow: hidden;
  border-bottom: 2.2px solid var(--comic-black);
  background-color: #000000;
}

.project-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.25s ease;
}

.project-card:hover .project-banner-img {
  transform: scale(1.02);
}

/* Project Card Body */
.project-card-body {
  padding: 16px 18px 18px 18px;
  background-color: #F8F5EE;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.project-card-desc {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  font-weight: 600;
  line-height: 1.32;
  color: #000000;
  margin-bottom: 14px;
  min-height: 44px;
}

/* Yellow View Project Button */
.project-card-btn {
  align-self: flex-start;
  background-color: #FFC21A;
  border: 2px solid var(--comic-black);
  border-radius: 6px;
  color: #000000;
  font-family: 'Barlow Condensed', 'Anton', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 6px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 2px 2px 0px var(--comic-black);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.project-card-btn:hover {
  background-color: #FFB300;
  transform: translateY(-2px);
  box-shadow: 3px 3px 0px var(--comic-black);
}

.project-card-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--comic-black);
}

.project-btn-arrow {
  display: inline-block;
  font-size: 16px;
  transition: transform 0.18s ease;
}

.project-card-btn:hover .project-btn-arrow {
  transform: translateX(4px);
}

/* Decorative Peeking Dog (Right Side Edge) */
.projects-dog-right-wrapper {
  position: absolute;
  right: 0;
  top: clamp(75px, 10vw, 150px);
  width: clamp(100px, 11.5vw, 178px);
  z-index: 15;
  pointer-events: none;
  filter: drop-shadow(4px 6px 0px rgba(0, 0, 0, 0.45));
}

.projects-dog-right-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Decorative Standing Dog (Bottom left gutter, edge aligned with black divider line) */
.projects-dog-bottom-wrapper {
  position: absolute;
  left: clamp(2px, 0.8vw, 18px);
  bottom: 0;
  width: clamp(90px, 10vw, 155px);
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.45));
}

.projects-dog-bottom-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: bottom;
  margin-bottom: 0;
}



/* ==========================================================================
   RESPONSIVE — PROJECTS SECTION
   ========================================================================== */
@media (max-width: 900px) {
  .projects-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .projects-top-strip {
    height: 75px;
    padding: 0 16px;
    justify-content: center;
  }

  .projects-badge-img {
    width: 70%;
    max-width: 200px;
  }

  .projects-header-wrapper {
    justify-content: center;
    padding-left: 0;
  }

  .projects-content-board {
    padding: 24px 16px 50px 16px;
  }

  .projects-filter-bar {
    gap: 8px;
    margin-bottom: 24px;
  }

  .project-filter-btn {
    font-size: 14.5px;
    padding: 5px 16px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .projects-dog-right-wrapper,
  .projects-dog-bottom-wrapper {
    display: none !important;
  }
}

/* ==========================================================================
   EXPERIENCE SECTION — Comic Blackish Grey / Dark Pop-Art
   ========================================================================== */
.experience-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--nav-height));
  height: auto;
  background: radial-gradient(ellipse 95% 90% at 50% 50%, #2A2D34 0%, #1E2026 55%, #131418 100%);
  border-top: 4px solid var(--comic-black);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.experience-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
