/* ==========================================================================
   PORTFOLIO — Single-Section Cinematic Scroll
   Everything pinned in one viewport. No gaps, no flashes.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Momo+Signature&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

:root {
  --bg-primary: #FAFAF8;
  --bg-warm: #F2F0EC;
  --bg-card: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B6B;
  --accent: #C8A97E;
  --accent-light: #E8D5B8;
  --accent-dark: #A68B5B;
  --border-light: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --cream: #D2C4AD;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--accent-light); border-radius: 3px; }
::selection { background: var(--accent); color: var(--text-primary); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 2.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 100%);
  border-bottom: none;
  transition: background 0.3s ease;
}

.page-about .navbar,
.navbar.dark-text {
  background: transparent;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.3s ease;
  cursor: pointer;
}

.page-about .nav-link,
.navbar.dark-text .nav-link {
  color: var(--text-primary);
  text-shadow: none;
}

.nav-link:hover,
.nav-link.active,
.page-about .nav-link:hover,
.page-about .nav-link.active,
.navbar.dark-text .nav-link:hover,
.navbar.dark-text .nav-link.active {
  color: #000000 !important;
  text-shadow: none;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001; /* Above the overlay */
}

.hamburger-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
  transform-origin: left center;
}

.page-about .hamburger-menu span,
.navbar.dark-text .hamburger-menu span {
  background-color: var(--text-primary);
}

/* Hamburger active 'X' state */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* ==========================================================================
   CINEMA — The single pinned section
   ========================================================================== */
.cinema {
  position: relative;
  /* GSAP sets the height via end: '+=Xpx' and creates a spacer */
}

.cinema-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-primary);
  will-change: transform;
  transform: translateZ(0);
}

/* ---- Stacked videos ---- */
.cinema-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.12) translateZ(0);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: opacity;
}

.vid-intro {
  z-index: 1;
}

.vid-scrub {
  z-index: 2;
  opacity: 0; /* starts hidden, GSAP fades in */
}

/* ---- Hero overlay ---- */
.hero-overlay {
  display: none;
}

/* ---- Hero content ---- */
.hero-content {
  position: absolute;
  top: 40%;
  left: 34%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  pointer-events: none;
}

.hero-greeting {
  font-family: 'Momo Signature', cursive;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  font-weight: 400;
  color: #77A936;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.hero-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.9rem, 7.3vw, 6.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #33412B;
}

/* ---- Scroll hint ---- */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.scroll-hint span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.scroll-hint .chevron {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

/* ---- Cream overlay (bridges video → tiles) ---- */
.cream-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: var(--cream);
  opacity: 0; /* GSAP fades in */
  pointer-events: none;
}

/* ---- Projects panel (on top of everything) ---- */
.cinema-projects {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0; /* GSAP controls */
}

.cinema-projects.active {
  pointer-events: auto;
}

.projects-inner {
  max-width: 1560px;
  width: 100%;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.projects-heading {
  text-align: center;
  margin-bottom: 2.2rem;
}

.projects-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.projects-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.projects-divider {
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 0.85rem auto 0;
  border-radius: 2px;
}

/* ---- Project card anchor wrapper ---- */
.project-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.project-card-link * {
  color: inherit;
  text-decoration: none;
}

/* ---- Project cards (Clean White & Grey Palette) ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  width: 100%;
}

.project-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
  will-change: transform, opacity;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: #1A1A1A;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.project-thumbnail {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: #ECECE9;
}

.project-thumb-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumb-inner { transform: scale(1.05); }

/* Minimal White & Grey Placeholders */
.ph-1 { background: linear-gradient(135deg, #F3F3F0 0%, #DCDCD8 100%); }
.ph-2 { background: linear-gradient(135deg, #EBEBE8 0%, #D2D2CE 100%); }
.ph-3 { background: linear-gradient(135deg, #F0F0EE 0%, #D7D7D3 100%); }
.ph-4 { background: linear-gradient(135deg, #E7E7E4 0%, #CCCCCC 100%); }

.project-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #333333;
}

.project-info {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.project-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.88rem;
  color: #666666;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: gap var(--transition-base), color var(--transition-base);
}

.project-card:hover .project-link {
  gap: 0.75rem;
  color: #000000;
}

.project-link svg { width: 14px; height: 14px; transition: transform var(--transition-base); }
.project-card:hover .project-link svg { transform: translateX(3px); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-section {
  position: relative;
  padding: 9rem 2rem 8rem;
  background: var(--bg-warm);
  min-height: 100vh;
}

.section-header { text-align: center; margin-bottom: 5rem; }

.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600; color: var(--text-primary);
  letter-spacing: -0.02em; line-height: 1.15;
}

.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 1.5rem auto 0; border-radius: 2px;
}

.gallery-filters {
  display: flex; justify-content: center; gap: 0.75rem;
  margin-bottom: 3.5rem; flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.6rem 1.5rem; border: 1.5px solid var(--border-light);
  border-radius: 100px; background: transparent;
  color: var(--text-secondary); cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.filter-btn.active { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}

.gallery-item {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer;
  transition: box-shadow var(--transition-base);
}

.gallery-item.hidden { display: none; }
.gallery-item { aspect-ratio: 1 / 1; }

.gallery-item-inner {
  width: 100%; height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item-inner { transform: scale(1.06); }

.gp-1 { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.gp-2 { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.gp-3 { background: linear-gradient(135deg, #89f7fe, #66a6ff); }
.gp-4 { background: linear-gradient(135deg, #fdcbf1, #e6dee9); }
.gp-5 { background: linear-gradient(135deg, #d299c2, #fef9d7); }
.gp-6 { background: linear-gradient(135deg, #accbee, #e7f0fd); }
.gp-7 { background: linear-gradient(135deg, #ee9ca7, #ffdde1); }
.gp-8 { background: linear-gradient(135deg, #c1dfc4, #deecdd); }

.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  opacity: 0; transition: opacity var(--transition-base);
  display: flex; align-items: flex-end; padding: 1.5rem;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-info { color: #fff; }

.gallery-item-title {
  font-family: var(--font-heading); font-size: 1.05rem;
  font-weight: 600; margin-bottom: 0.2rem;
}

.gallery-item-category {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7;
}

.play-indicator {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 56px; height: 56px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all var(--transition-base); z-index: 2;
}

.gallery-item:hover .play-indicator { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.play-indicator svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--text-primary); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(20px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-content {
  max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md);
  overflow: hidden; transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content { transform: scale(1); }

.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px; background: rgba(255, 255, 255, 0.1);
  border: none; border-radius: 50%; color: #fff; font-size: 1.5rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-base); z-index: 1001;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.contact-footer {
  position: relative; padding: 9rem 2rem 4rem;
  background: var(--text-primary); color: #fff;
  text-align: center; overflow: hidden;
}

.contact-footer::before {
  content: ''; position: absolute; top: -20%; left: 50%;
  transform: translateX(-50%); width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200, 169, 126, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.footer-content { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600; letter-spacing: -0.02em; margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.05rem; color: rgba(255, 255, 255, 0.55);
  max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.7;
}

.cta-button {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2.5rem; background: var(--accent);
  color: var(--text-primary); font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; border: none;
  border-radius: 100px; cursor: pointer;
  transition: all var(--transition-base);
}

.cta-button:hover {
  background: var(--accent-light); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 169, 126, 0.35);
}

.cta-button svg { width: 18px; height: 18px; transition: transform var(--transition-base); }
.cta-button:hover svg { transform: translateX(4px); }

.social-links {
  display: flex; justify-content: center; gap: 1.5rem;
  margin-top: 5rem; padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link {
  color: rgba(255, 255, 255, 0.45); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  transition: color var(--transition-base);
}

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

.footer-copyright {
  margin-top: 2.5rem; font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .projects-inner { padding: 2rem 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Cinema section & stage on mobile — solid cream section background */
  #cinema,
  .cinema-section {
    background-color: var(--cream) !important;
  }

  .cinema-stage {
    overflow: visible !important;
    background-color: var(--cream) !important;
    height: auto !important;
    min-height: 100vh;
  }

  .cinema-video {
    transform: scale(1) translateZ(0);
    object-fit: cover;
    object-position: 25% center; /* Shift video slightly right to keep back visible */
    height: 100vh !important;
    bottom: auto !important;
  }

  .cream-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh !important;
    bottom: auto !important;
    background-color: var(--cream) !important;
    opacity: 0; /* GSAP animates opacity on scroll */
    pointer-events: none;
  }

  /* Projects Section on Mobile — Absolute position, GSAP animated opacity */
  .cinema-projects {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100%;
    background-color: var(--cream) !important; /* Solid warm cream background through full height */
    z-index: 20;
    display: block;
    opacity: 0; /* GSAP animates opacity on scroll so videos play at top */
    pointer-events: none;
  }

  .cinema-projects.active {
    pointer-events: auto !important;
  }

  .projects-inner {
    padding: 5.5rem 1.25rem 3.5rem;
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .projects-heading {
    margin-bottom: 1.8rem;
    text-align: center;
  }

  .projects-label {
    font-size: 0.68rem;
    margin-bottom: 0.3rem;
  }

  .projects-title {
    font-size: clamp(1.75rem, 6.5vw, 2.3rem);
  }

  .projects-divider {
    margin: 0.75rem auto 0;
    width: 40px;
    height: 3px;
  }

  /* 1-Column Vertical Stack for Mobile with identical 1.5rem spacing between Cards 1, 2, 3 & 4 */
  .projects-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .project-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .project-card {
    border-radius: 16px;
    width: 100%;
    flex-shrink: 0;
  }

  .project-thumbnail {
    aspect-ratio: 16 / 10;
  }

  .project-tag {
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
  }

  .project-info {
    padding: 1.25rem 1.25rem 1.4rem;
  }

  .project-name {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
  }

  .project-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    display: block;
  }

  .project-link {
    font-size: 0.78rem;
    gap: 0.45rem;
  }

  .project-link svg {
    width: 16px;
    height: 16px;
  }

  .project-thumbnail {
    aspect-ratio: 16 / 10;
  }

  .project-tag {
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
  }

  .project-info {
    padding: 1.25rem 1.25rem 1.4rem;
  }

  .project-name {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
  }

  .project-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    display: block;
  }

  .project-link {
    font-size: 0.78rem;
    gap: 0.45rem;
  }

  .project-link svg {
    width: 16px;
    height: 16px;
  }

  .gallery-section {
    position: relative;
    z-index: 30;
    margin-top: 0;
    padding: 4rem 1.25rem;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .social-links { flex-wrap: wrap; gap: 1rem; }

  /* Hero text — mobile placement */
  .hero-content {
    left: 5vw;
    top: 15%;
    transform: translateY(-50%);
    width: 90vw;
    align-items: flex-start;
    text-align: left;
  }

  .hero-greeting {
    font-size: clamp(1.4rem, 6vw, 2.1rem);
  }

  .hero-headline {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    line-height: 1.15;
  }

}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-filters { gap: 0.5rem; }
  .filter-btn { padding: 0.5rem 1.1rem; font-size: 0.72rem; }
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */
.page-about {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.about-main {
  padding-top: 4rem;
}

.about-hero {
  padding: 6rem 2.5rem 5rem;
  max-width: 1440px;
  margin: 0 auto;
}

.about-hero-container {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-profile-card {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #EBEBE8 0%, #D2D2CE 100%);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.profile-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E2E2DF 0%, #C4C4BD 100%);
}

.about-hero-text .section-label {
  margin-bottom: 0.5rem;
}

.about-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.about-bio {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.about-meta {
  display: flex;
  gap: 3.5rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1;
}

.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

.about-skills {
  padding: 6rem 2.5rem;
  background: var(--bg-warm);
}

.skills-container {
  max-width: 1440px;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.skill-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.skill-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-dark);
}

.skill-icon svg { width: 24px; height: 24px; }

.skill-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.skill-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .about-hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .skills-grid { grid-template-columns: 1fr; }
  .about-meta { gap: 1.5rem; }
  
  .navbar {
    padding: 1.25rem;
  }
  .nav-container {
    justify-content: space-between;
    width: 100%;
  }
  
  .hamburger-menu {
    display: flex;
  }

  /* Mobile menu overlay */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
  }

  .nav-links.nav-active {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary); /* Dark text for overlay menu */
    text-shadow: none;
    white-space: normal;
  }

  /* Change hamburger color to dark when overlay is active */
  .hamburger-menu.active span {
    background-color: var(--text-primary) !important;
  }
}

/* ==========================================================================
   MUSIC TOGGLE BUTTON & EQUALIZER
   ========================================================================== */
.music-toggle-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  color: #1A1A1A;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-toggle-btn:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.sound-bars .bar {
  width: 3px;
  background-color: #1A1A1A;
  border-radius: 2px;
  height: 4px;
  transition: height 0.3s ease;
}

.music-toggle-btn.playing .bar-1 {
  animation: soundBar 0.8s ease-in-out infinite alternate;
}
.music-toggle-btn.playing .bar-2 {
  animation: soundBar 0.9s ease-in-out infinite alternate 0.2s;
}
.music-toggle-btn.playing .bar-3 {
  animation: soundBar 0.7s ease-in-out infinite alternate 0.4s;
}

@keyframes soundBar {
  0% { height: 3px; }
  100% { height: 14px; }
}

.music-toggle-btn.muted .bar {
  height: 3px !important;
  opacity: 0.4;
}

.music-toggle-btn.muted .music-label {
  opacity: 0.6;
}
