/* ============================================
   THEME: MODERN LUXURY (PERFUME AESTHETIC)
   ============================================ */
   @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

   :root {
     --bg-color: #fdfaf9;        /* Creamy White */
     --bg-card: #ffffff;         /* Pure White */
     --accent-soft: #f4eae8;     /* Pale Blush */
     --accent-main: #d48c84;     /* Muted Terracotta / Rose Gold */
     --text-dark: #1a1a1a;       /* Deep Charcoal */
     --text-muted: #666666;      /* Soft Grey */
     --shadow: 0 20px 40px rgba(212, 140, 132, 0.1); 
     --radius: 24px;
     --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
   }
   
   /* ============================================
      RESET & BASICS
      ============================================ */
   * { margin: 0; padding: 0; box-sizing: border-box; }
   
   html { scroll-behavior: smooth; }
   
   body {
     font-family: 'Plus Jakarta Sans', sans-serif;
     background-color: var(--bg-color);
     color: var(--text-dark);
     line-height: 1.8;
     overflow-x: hidden;
     /* Luxury Font Smoothing */
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
     text-rendering: optimizeLegibility;
   }
   
   h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--text-dark); }
   p { color: var(--text-muted); font-size: 1.05rem; }
   img, video { max-width: 100%; display: block; }
   
   /* Luxury Noise Texture Overlay */
   .noise-overlay {
     position: fixed;
     top: 0; left: 0;
     width: 100%; height: 100%;
     pointer-events: none;
     z-index: 9999;
     opacity: 0.05;
     background: url('https://grainy-gradients.vercel.app/noise.svg');
   }
   
   /* ============================================
      NAVIGATION (Floating Pill)
      ============================================ */
   .site-nav {
     position: fixed;
     top: 2rem;
     left: 50%;
     transform: translateX(-50%);
     z-index: 1000;
     background: rgba(255, 255, 255, 0.85);
     backdrop-filter: blur(12px);
     padding: 0.75rem 2rem;
     border-radius: 100px;
     border: 1px solid rgba(255,255,255,0.5);
     box-shadow: 0 10px 30px rgba(0,0,0,0.05);
   }
   
   .site-nav nav { display: flex; gap: 2rem; align-items: center; }
   
   .nav-link {
     text-decoration: none;
     color: var(--text-dark);
     font-size: 0.9rem;
     font-weight: 500;
     letter-spacing: 0.05em;
     transition: var(--transition);
   }
   
   .nav-link:hover { color: var(--accent-main); }
   
   .resume-btn {
     background: var(--accent-main);
     color: white !important;
     padding: 0.5rem 1.2rem;
     border-radius: 100px;
   }
   .resume-btn:hover { background: var(--text-dark); }
   
   /* ============================================
      HERO SECTION
      ============================================ */
   .hero {
     height: 100vh;
     position: relative;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     overflow: hidden;
   }
   
   .hero-bg-video {
     position: absolute;
     top: 0; left: 0;
     width: 100%; height: 100%;
     object-fit: cover;
     opacity: 0.1;
     z-index: -1;
   }
   
   .hero-content {
     position: relative;
     z-index: 2;
     max-width: 900px;
     padding: 0 20px;
     animation: fadeUp 1s ease;
   }
   
   .hero-title {
     font-size: clamp(3rem, 7vw, 5rem);
     line-height: 1.1;
     margin-bottom: 1.5rem;
   }
   
   .hero-title i { font-weight: 400; color: var(--accent-main); }
   
   .hero-meta { margin-top: 1rem; }
   .hero-tagline { font-size: 1.2rem; margin-top: 1rem; }
   
   .scroll-indicator {
     position: absolute;
     bottom: 2rem;
     animation: bounce 2s infinite;
     opacity: 0.5;
   }
   
   /* ============================================
      INFINITE MARQUEE (RIBBON)
      ============================================ */
   .marquee-container {
     background: var(--text-dark);
     color: #fff;
     padding: 1.5rem 0;
     overflow: hidden;
     white-space: nowrap;
     position: relative;
     transform: rotate(-1deg);
     margin: -2rem 0 4rem 0;
     z-index: 10;
   }
   
   .marquee-content {
     display: inline-block;
     animation: scroll 20s linear infinite;
   }
   
   .marquee-content span {
     font-family: 'Playfair Display', serif;
     font-size: 1.5rem;
     margin: 0 2rem;
     font-style: italic;
     opacity: 0.9;
   }
   
   /* ============================================
      WORK SECTION (PERFUME BOTTLES)
      ============================================ */
   .work-section { padding: 8rem 5%; }
   .section-header { text-align: center; margin-bottom: 5rem; }
   .section-header h2 { font-size: 3rem; margin-bottom: 0.5rem; }
   
   /* View As Toggle */
   .role-toggle-container {
     margin-top: 2rem;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 1rem;
   }
   
   .role-buttons {
     background: #fff;
     padding: 0.4rem;
     border-radius: 100px;
     border: 1px solid #eee;
     display: inline-flex;
   }
   
   .role-btn {
     border: none;
     background: transparent;
     padding: 0.8rem 1.5rem;
     border-radius: 100px;
     font-family: inherit;
     font-weight: 600;
     color: var(--text-muted);
     cursor: pointer;
     transition: var(--transition);
   }
   
   .role-btn.active {
     background: var(--accent-main);
     color: white;
     box-shadow: 0 4px 15px rgba(212, 140, 132, 0.4);
   }
   
   /* Work Grid */
   .work-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
     gap: 5rem; /* Increased gap for nozzle space */
     max-width: 1400px;
     margin: 0 auto;
   }
   
   /* The Bottle Card */
   .work-card {
     position: relative;
     background: rgba(255, 255, 255, 0.6);
     backdrop-filter: blur(20px);
     border: 1px solid rgba(255, 255, 255, 0.8);
     border-radius: 100px 100px 20px 20px; /* Bottle Arch */
     overflow: visible !important; /* CRITICAL for Nozzle visibility */
     transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
     box-shadow: 
       0 20px 40px rgba(212, 140, 132, 0.1),
       inset 0 0 0 1px rgba(255, 255, 255, 0.5);
     margin-top: 50px; /* Room for nozzle */
     z-index: 1;
   }
   
   .work-card:hover {
     transform: translateY(-15px) scale(1.02);
     box-shadow: 0 30px 60px rgba(212, 140, 132, 0.25);
     background: #fff;
     z-index: 10;
   }
   
   /* 3D Nozzle Styles */
   .perfume-neck {
     position: absolute;
     top: -15px; left: 50%;
     transform: translateX(-50%);
     width: 20px; height: 15px;
     background: linear-gradient(90deg, #8a5a44, #e8a598, #8a5a44);
     z-index: 19;
   }
   
   .perfume-nozzle {
     position: absolute;
     top: -25px; left: 50%;
     transform: translateX(-50%);
     width: 40px; height: 20px;
     z-index: 20;
     transition: transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   }
   
   .perfume-nozzle.pressed {
     transform: translateX(-50%) translateY(8px) !important;
   }
   
   .nozzle-head {
     width: 100%; height: 100%;
     background: linear-gradient(0deg, #d48c84, #f4eae8, #d48c84);
     border-radius: 4px;
     box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 5px 10px rgba(0,0,0,0.1);
   }
   
   .spray-hole {
     position: absolute;
     top: 50%; left: 50%;
     transform: translate(-50%, -50%);
     width: 4px; height: 4px;
     background: #1a1a1a;
     border-radius: 50%;
   }
   
   /* HIGH-VISIBILITY SPRAY PARTICLES */
   .mist-particle {
     position: absolute;
     /* Darker Gradient: Deep Terracotta center to Transparent edge */
     background: radial-gradient(circle, #d48c84 40%, rgba(212, 140, 132, 0) 70%);
     border-radius: 50%;
     pointer-events: none;
     z-index: 99999; /* Super high so nothing hides it */
     opacity: 0;
     box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Adds shadow so you see depth */
   }
   
   /* Media & Info */
   .work-card-media {
     height: 350px;
     margin: 10px;
     border-radius: 90px 90px 10px 10px;
     overflow: hidden;
     background: #000;
   }
   
   .work-card-media video, 
   .work-card-media img {
     width: 100%; height: 100%;
     object-fit: cover;
     transition: transform 0.6s ease;
   }
   
   .work-card:hover .work-card-media video {
     transform: scale(1.05);
   }
   
   .work-card-info {
     text-align: center;
     padding: 1.5rem 2rem 3rem 2rem;
   }
   
   .work-card-info h3 {
     font-family: 'Playfair Display', serif;
     font-size: 2rem;
     font-style: italic;
     margin-bottom: 0.2rem;
     letter-spacing: -0.02em;
   }
   
   .role-subtitle {
     font-family: 'Plus Jakarta Sans', sans-serif;
     font-size: 0.7rem;
     text-transform: uppercase;
     letter-spacing: 0.2em;
     color: var(--text-muted);
     border-top: 1px solid var(--accent-main);
     border-bottom: 1px solid var(--accent-main);
     display: inline-block;
     padding: 0.5rem 1rem;
     margin-bottom: 1.5rem;
   }
   
   .case-study-btn {
     margin: 1rem auto 0 auto;
     border: 1px solid var(--text-dark);
     color: var(--text-dark);
     background: transparent;
     font-family: 'Plus Jakarta Sans', sans-serif;
     text-transform: uppercase;
     font-size: 0.75rem;
     letter-spacing: 0.1em;
     padding: 1rem 2rem;
     border-radius: 0;
     transition: 0.4s;
     cursor: pointer;
   }
   
   .case-study-btn:hover {
     background: var(--text-dark);
     color: #fff;
     border-radius: 50px;
   }
   
   /* ============================================
      ABOUT SECTION (SIDE-BY-SIDE LAYOUT)
      ============================================ */
   .about-section {
     background: var(--bg-color);
     padding: 10rem 5%;
     position: relative;
     overflow: hidden;
   }
   
   .about-section::before {
     content: "M";
     position: absolute;
     top: 50%; right: -5%;
     transform: translateY(-50%);
     font-family: 'Playfair Display', serif;
     font-size: 40rem;
     color: var(--accent-main);
     opacity: 0.03;
     pointer-events: none;
   }
   
   .about-content {
     display: flex;
     flex-direction: row; /* Forces side-by-side */
     align-items: center; /* Centers video and text vertically */
     justify-content: center;
     gap: 6rem;
     max-width: 1300px;
     margin: 0 auto;
     position: relative;
     z-index: 2;
   }
   
   .about-video {
     flex: 0 0 450px; /* Fixed width */
     position: relative;
   }
   
   .video-container {
     position: relative;
     width: 100%;
     aspect-ratio: 4/5; /* Portrait Ratio */
     border-radius: 200px 200px 20px 20px;
     overflow: hidden;
     box-shadow: 0 30px 60px rgba(0,0,0,0.1), 0 0 0 10px rgba(255,255,255,0.5);
     border: 1px solid rgba(255, 255, 255, 0.8);
     transform: rotate(-2deg);
     transition: transform 0.5s ease;
     cursor: pointer;
   }
   
   .video-container:hover { transform: rotate(0deg) scale(1.02); }
   
   #about-me-video { width: 100%; height: 100%; object-fit: cover; }
   
   /* Luxury Video Label */
   .video-label {
     position: absolute;
     bottom: 2rem;
     left: 50%;
     transform: translateX(-50%);
     background: rgba(255, 255, 255, 0.15);
     backdrop-filter: blur(12px);
     border: 1px solid rgba(255, 255, 255, 0.3);
     padding: 0.6rem 1.5rem;
     border-radius: 100px;
     display: flex;
     align-items: center;
     gap: 0.8rem;
     white-space: nowrap;
     pointer-events: none;
     transition: all 0.5s ease;
     z-index: 5;
   }
   
   .video-label span {
     color: #fff;
     font-family: 'Plus Jakarta Sans', sans-serif;
     font-size: 0.75rem;
     text-transform: uppercase;
     letter-spacing: 0.15em;
     font-weight: 600;
   }
   
   .video-label .dot { color: var(--accent-main); font-size: 1.2rem; }
   
   .video-container.is-playing .video-label { opacity: 0; transform: translate(-50%, 20px); }
   
   /* Play Button */
   .play-overlay-btn {
     position: absolute;
     top: 50%; left: 50%;
     transform: translate(-50%, -50%);
     width: 80px; height: 80px;
     background: rgba(255, 255, 255, 0.2);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.4);
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 10;
     transition: all 0.4s ease;
   }
   
   .play-icon {
     width: 0; height: 0;
     border-top: 12px solid transparent;
     border-bottom: 12px solid transparent;
     border-left: 20px solid white;
     margin-left: 5px;
   }
   
   .video-container.is-playing .play-overlay-btn { opacity: 0; pointer-events: none; }
   
   /* Text Side */
   .about-text { flex: 1; padding-left: 2rem; }
   
   .about-text h2 {
     font-size: 3.5rem;
     line-height: 1.1;
     margin-bottom: 2rem;
     position: relative;
     display: inline-block;
   }
   
   .about-text h2::after {
     content: '';
     position: absolute;
     bottom: 10px; right: -20px;
     width: 60px; height: 1px;
     background: var(--accent-main);
   }
   
   .intro-text {
     font-size: 1.25rem;
     font-style: italic;
     font-family: 'Playfair Display', serif;
     margin-bottom: 3rem;
   }
   
   .about-details {
     display: grid;
     gap: 2rem;
     border-left: 1px solid var(--accent-main);
     padding-left: 2rem;
   }
   
   .detail-item h3 {
     font-size: 0.9rem;
     text-transform: uppercase;
     letter-spacing: 0.15em;
     color: var(--accent-main);
   }
   
   .about-stats {
     display: flex;
     gap: 4rem;
     margin-top: 4rem;
     padding-top: 2rem;
     border-top: 1px solid rgba(0,0,0,0.05);
   }
   
   .stat-number {
     font-family: 'Playfair Display';
     font-size: 3.5rem;
     line-height: 1;
   }
   
   /* Signature Radar Chart */
   .signature-profile {
     margin-top: 4rem;
     padding: 2rem;
     background: rgba(255, 255, 255, 0.3);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.5);
     border-radius: 20px;
     text-align: center;
   }
   
   .signature-profile h3 {
     font-size: 0.9rem;
     text-transform: uppercase;
     letter-spacing: 0.2em;
     color: var(--accent-main);
     margin-bottom: 2rem;
   }
   
   .chart-container {
     position: relative;
     width: 100%;
     max-width: 450px;
     margin: 0 auto;
   }
   
   /* ============================================
      BOOK SECTION
      ============================================ */
   .book-section { padding: 6rem 5%; background: var(--bg-color); }
   
   .book-content {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 5rem;
     max-width: 1100px;
     margin: 0 auto;
     background: var(--accent-soft);
     padding: 4rem;
     border-radius: 40px;
   }
   
   .book-image img {
     width: 300px;
     border-radius: 10px;
     box-shadow: 15px 15px 0px rgba(212, 140, 132, 0.5);
     transform: rotate(-3deg);
     transition: transform 0.3s;
   }
   .book-image img:hover { transform: rotate(0deg) scale(1.02); }
   
   .book-link {
     display: inline-block;
     margin-top: 1.5rem;
     color: var(--text-dark);
     font-weight: 600;
     text-decoration: none;
     border-bottom: 2px solid var(--accent-main);
   }
   
   /* ============================================
      CONTACT
      ============================================ */
   .contact-section { padding: 8rem 5%; }
   .contact-container { max-width: 1000px; margin: 0 auto; }
   .contact-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
   
   .contact-card {
     padding: 1.5rem;
     background: #fff;
     border-radius: 16px;
     text-decoration: none;
     color: var(--text-dark);
     box-shadow: 0 5px 20px rgba(0,0,0,0.03);
     display: block; margin-bottom: 1rem;
     transition: var(--transition);
   }
   .contact-card:hover { transform: translateX(10px); border-left: 5px solid var(--accent-main); }
   
   .contact-form-wrapper {
     background: #fff;
     padding: 2.5rem;
     border-radius: var(--radius);
     box-shadow: var(--shadow);
   }
   
   .form-group input, .form-group textarea {
     width: 100%;
     padding: 1rem;
     border: 1px solid #eee;
     background: #fdfaf9;
     border-radius: 12px;
     font-family: inherit;
     font-size: 1rem;
     outline: none;
     transition: 0.3s;
     margin-bottom: 1.5rem;
   }
   
   .submit-btn {
     background: var(--text-dark);
     color: #fff;
     padding: 1rem 2.5rem;
     border-radius: 50px;
     border: none;
     font-size: 1rem;
     cursor: pointer;
     transition: var(--transition);
   }
   .submit-btn:hover { background: var(--accent-main); transform: translateY(-2px); }
   
   .site-footer { text-align: center; padding: 4rem; color: var(--text-muted); font-size: 0.9rem; }
   
   /* ============================================
      MODAL (CASE STUDY)
      ============================================ */
   .modal-overlay {
     position: fixed;
     top: 0; left: 0;
     width: 100%; height: 100%;
     background: rgba(45, 45, 45, 0.6);
     backdrop-filter: blur(15px);
     z-index: 9999;
     opacity: 0; visibility: hidden;
     transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
     display: flex;
     justify-content: center;
     align-items: flex-end;
   }
   
   .modal-overlay.active { opacity: 1; visibility: visible; }
   
   .modal-content {
     background: #fff;
     width: 90%; max-width: 1000px; height: 90vh;
     border-radius: 24px 24px 0 0;
     padding: 4rem;
     overflow-y: auto;
     transform: translateY(100%);
     transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
     box-shadow: 0 -20px 60px rgba(0,0,0,0.2);
   }
   
   .modal-overlay.active .modal-content { transform: translateY(0); }
   
   .modal-close-btn {
     position: absolute;
     top: 2rem; right: 2rem;
     background: #f4eae8;
     border: none;
     width: 50px; height: 50px;
     border-radius: 50%;
     font-size: 1.5rem;
     cursor: pointer;
     transition: 0.3s;
   }
   .modal-close-btn:hover { background: var(--accent-main); color: white; transform: rotate(90deg); }
   
   .modal-split {
     display: grid;
     grid-template-columns: 2fr 1fr;
     gap: 4rem;
     margin-top: 3rem;
   }
   
   .modal-gallery {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 1.5rem;
     margin-top: 2rem;
   }
   .modal-gallery img { width: 100%; border-radius: 12px; }
   
   /* Technical Specs Drawer */
   .tech-drawer {
     margin-top: 2rem;
     border-top: 1px solid rgba(0,0,0,0.1);
     padding-top: 1.5rem;
   }
   
   .tech-drawer-btn {
     width: 100%;
     background: transparent;
     border: 1px solid var(--accent-main);
     color: var(--accent-main);
     padding: 0.8rem 1rem;
     font-family: 'Plus Jakarta Sans', sans-serif;
     font-size: 0.8rem;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     cursor: pointer;
     display: flex;
     justify-content: space-between;
     align-items: center;
     transition: all 0.3s ease;
   }
   
   .tech-drawer-btn:hover { background: var(--accent-main); color: #fff; }
   
   .tech-drawer-content {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
     background: rgba(244, 234, 232, 0.3);
   }
   
   .tech-drawer-content.open {
     max-height: 400px;
     border: 1px solid rgba(0,0,0,0.05);
     border-top: none;
   }
   
   .tech-item {
     padding: 1rem;
     border-bottom: 1px solid rgba(255,255,255,0.5);
   }
   .tech-item:last-child { border-bottom: none; }
   
   .tech-label {
     display: block; font-size: 0.7rem; text-transform: uppercase;
     color: var(--text-muted); margin-bottom: 0.2rem;
   }
   
   .tech-item p {
     font-size: 0.9rem; color: var(--text-dark); font-weight: 500; margin: 0;
   }
   
   /* ============================================
      LUXURY CURSOR (DESKTOP ONLY)
      ============================================ */
   @media (min-width: 768px) {
     body, a, button, input { cursor: none; }
   
     .cursor-dot, .cursor-mist {
       position: fixed;
       top: 0; left: 0;
       pointer-events: none;
       z-index: 10000;
       border-radius: 50%;
       transform: translate(-50%, -50%);
     }
   
     .cursor-dot {
       width: 6px; height: 6px;
       background: var(--accent-main);
     }
   
     .cursor-mist {
       width: 40px; height: 40px;
       background: rgba(212, 140, 132, 0.15);
       border: 1px solid rgba(255, 255, 255, 0.5);
       backdrop-filter: blur(4px);
       transition: width 0.3s, height 0.3s, background 0.3s;
     }
   
     .hovering .cursor-mist {
       width: 65px; height: 65px;
       background: rgba(212, 140, 132, 0.25);
     }
   
     .mist-puff {
       position: fixed;
       pointer-events: none;
       z-index: 9999;
       width: 15px; height: 15px;
       background: var(--accent-main);
       border-radius: 50%;
       transform: translate(-50%, -50%);
       animation: spritzAnim 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
     }
   
     @keyframes spritzAnim {
       0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; filter: blur(0px); }
       100% { transform: translate(-50%, -50%) scale(6); opacity: 0; filter: blur(6px); }
     }
   }
   
   /* Animations */
   @keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
   @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
   @keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
   
   /* Mobile Fixes */
   @media (max-width: 900px) {
     .hero-title { font-size: 3rem; }
     
     /* Stack About Video & Text vertically on mobile */
     .about-content { 
       flex-direction: column; 
       text-align: center;
       gap: 4rem;
     }
     .about-video { 
       flex: auto; 
       width: 100%; 
       max-width: 350px; 
     }
     .about-text { padding-left: 0; }
     
     .book-content { flex-direction: column; text-align: center; }
     .video-container { transform: rotate(0deg); }
     .about-details { border-left: none; padding-left: 0; }
     .about-stats { justify-content: center; }
     .contact-content { grid-template-columns: 1fr; }
     .site-nav { width: 90%; }
   }