:root {
    --bg: #050505;
    --text: #ffffff;
    --dim: #888888;
    --border: #222222;
    --padding: 5vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* REMOVED scroll-behavior: smooth; to fix Lenis conflict */
html {
    height: 100%;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Hanken Grotesk', sans-serif;
    overflow-x: hidden;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* ADD THIS LINE TO ENABLE THE FADE-IN: */
    animation: fadeInPage 0.8s ease-out forwards;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

/* --- TOP SPOTLIGHT GRADIENT --- */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background: radial-gradient(ellipse 60% 100% at 50% 0%,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.05) 40%,
            transparent 100%);
    z-index: -1;
    pointer-events: none;
}

@keyframes fadeInUpLoad {
    0% {
        opacity: 0;
        transform: translateY(50px);
        /* Starts slightly down */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* Ends in original position */
    }
}

/* =========================================
   DESKTOP STYLES
   ========================================= */

h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -2px;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 500;
}

p {
    color: var(--dim);
    font-size: 1.1rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.aligned-content-wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

nav {
    animation: fadeInPage 1.2s ease-out forwards;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    height: 70px;
    padding: 0 30px;
    z-index: 1000;
    
    /* UPDATED: Stronger Blur & Glass Effect */
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-logo-text {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    text-transform: lowercase;
}

/* --- DESKTOP VIEW --- */
.desktop-only {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.links {
    display: flex;
    gap: 1.5rem;
}

.links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #aaa;
    transition: 0.3s;
}

.links a:hover {
    color: #fff;
}

.nav-cta-btn {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.nav-cta-btn:hover {
    transform: scale(1.05);
}

.mobile-only {
    display: none;
}

.mobile-dropdown {
    display: none;
}

.logo,
.logo a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.links {
    display: flex;
    gap: 1.5rem;
}

.links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #aaa;
    transition: 0.3s;
}

.links a:hover {
    color: #fff;
}

/* --- LOGO WRAPPER & STATUS --- */
.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Green Dot - SCOPED TO NAV BAR ONLY */
.logo-wrapper .status-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background-color: #2ECC71;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    z-index: 20;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
    animation: pulse-green 2s infinite;
    display: block;
    margin: 0;
    transform: none;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* The "Available" Badge */
.logo-wrapper::after {
    content: "Available";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-15px);
    background: rgba(15, 15, 15, 0.95);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Hanken Grotesk', sans-serif;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    margin-left: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.logo-wrapper:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* =========================================
   HERO SECTION (TEXT TOP / ACTION BOTTOM)
   ========================================= */

#hero {
    min-height: auto;
    display: flex;
    justify-content: center;
    padding: 10rem var(--padding) 4rem; 
}

/* --- MAIN CARD --- */
.hero-card {
    background-color: #080808;
    border: 1px solid #1a1a1a;
    border-radius: 32px;
    padding: 2rem; /* Spacious padding */
    width: 100%;
    max-width: 1100px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align everything */
    gap: 3.5rem; /* Gap between Text, Bar, and Proof */
    animation: fadeInUpLoad 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- 1. HEADLINES (Top) --- */
.card-content-top {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100%; /* CHANGED: Allows text to stretch full width */
}

.card-headline {
    /* CHANGED: Bigger base size and max size for Desktop/iPad */
    font-size: clamp(3rem, 7vw, 5.5rem); 
    font-weight: 500;
    line-height: 1;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    white-space: nowrap; /* ADDED: Forces text to stay on one line */
}

.card-headline em {
    font-style: normal;
    font-family: 'Birthstone', cursive;
    padding-left: 10px;
    font-size: 1.2em;
    background: linear-gradient(to right, #C0C0C0 0%, #FFFFFF 50%, #C0C0C0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-subtext {
    font-size: 1.2rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
}

/* --- 2. INTERACTION BAR (Middle) --- */
.card-interaction-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap; /* Allows wrapping on small screens */
    width: 100%;
}

/* Profile Unit */
.profile-unit {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 24px;
}

.avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 30%;
    object-fit: cover;
    border: 2px solid #222;
}

.status-dot-card {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #2ECC71;
    border-radius: 50%;
    border: 2px solid #080808;
    animation: pulse-green 2s infinite;
}

.profile-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.profile-name {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
}

.profile-role {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Actions Unit (Socials + Buttons) */
.actions-unit {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-box {
    display: flex;
    gap: 8px;
}

.card-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* Slightly larger per reference */
    height: 44px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    color: #888;
    transition: 0.3s;
}

.card-icon-btn:hover {
    background: #222;
    color: #fff;
    border-color: #444;
}

/* Applies to all button classes used across the site */
.btn,
.btn-liquid-glass,
.card-pill-btn,
.card-pill-btn.outline,
.btn-small {
    font-family: 'Hanken Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px; /* Full pill shape */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    
    /* Simple Base Style */
    background: #0e0e0e; /* Dark background */
    border: 1px solid #333; /* Dark gray border */
    color: #fff !important;
    box-shadow: none; /* No initial shadow */
    backdrop-filter: none;
}

/* Hover Effect: Lighter Border + Glow */
.btn:hover,
.btn-liquid-glass:hover,
.card-pill-btn:hover,
.card-pill-btn.outline:hover,
.btn-small:hover {
    border-color: rgba(255, 255, 255, 0.5); /* Light gray border */
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15); /* The Glow */
}

/* Hero Button specific sizing override if needed */
.card-pill-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
}

/* --- BUTTONS & UTILS --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* --- Portfolio & Layouts --- */
.portfolio-section {
    padding: 4rem var(--padding);
}

.section-header-group {
    margin-bottom: 2rem !important;
}

.section-title {
    margin-bottom: 1.5rem !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    font-size: 2.5rem;
}

/* --- CATEGORY SELECTION CARDS (Home Page) --- */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.category-card {
    display: flex;
    flex-direction: column;
    background-color: #050505;
    border: 1px solid #222;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* --- Card Visuals --- */
.card-visual {
    position: relative;
    height: 250px;
    background: #0a0a0a;
    overflow: hidden;
    border-bottom: 1px solid #1a1a1a;
    padding: 0;
    display: block;
}

.card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.9;
}

.category-card:hover .card-bg-img {
    transform: scale(1.08);
    opacity: 1;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 2;
}

/* --- Card Info --- */
.card-info {
    padding: 1.5rem 2rem;
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
}

.card-info h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-info p {
    font-size: 0.95rem;
    color: #888;
    margin: 0;
}

/* --- NEW SHOWCASE PAGES STYLES (Long Form / Short Form) --- */

.hero-title {
    text-align: center;
    margin-bottom: 0;
    color: var(--text);
    letter-spacing: -0.03em;
    white-space: nowrap;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #888;
    margin-top: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-subtitle-contact{
    text-align: center;
    font-size: 1.1rem;
    color: #888;
    margin-top: 1.2rem;
}

/* Showcase Header */
.showcase-header {
    animation: fadeInUpLoad 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem var(--padding) 2rem;
    width: 100%;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header Buttons Row (Go Back + Cross Link) */
.header-buttons-row {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- Video Logic (Reusable) --- */
.video-card {
    position: relative;
    background: #111;
    overflow: hidden;
    cursor: pointer;
    border-radius: 16px;
    /* Updated from 4px to 16px */
}

.landscape {
    aspect-ratio: 16 / 9;
}

.portrait {
    aspect-ratio: 9 / 16;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.8;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.video-card:hover video {
    opacity: 1;
    transform: scale(1.03);
}

.portrait video {
    pointer-events: none;
}

.portrait iframe,
.landscape iframe {
    pointer-events: auto;
    width: 100%;
    height: 100%;
    border: none;
}

.portrait::after,
.landscape::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    background: transparent;
    z-index: 10;
}

/* --- Gloss Liquid Label for Videos --- */
.video-label-gloss {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    white-space: nowrap;
    z-index: 20;
    pointer-events: none;
}

/* --- Long Form Grid (2 Col Desktop) --- */
.grid-long-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Short Form Grid (3 Col Desktop) --- */
.grid-short-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.badge-yellow {
    display: inline-block;
    background: rgba(240, 195, 48, 0.15);
    color: #F0C330;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(240, 195, 48, 0.3);
    margin-bottom: 1rem;
}

/* --- Testimonials --- */
#testimonials {
    padding: 4rem var(--padding);
}

.testimonial-header {
    text-align: center;
    margin-bottom: 2rem;
}

.testimonial-title {
    font-size: 4.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.testimonial-subtitle {
    font-size: 1.1rem;
    color: var(--dim);
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    position: relative;
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.testimonial-card {
    padding: 4rem 3rem;
    text-align: left;
    width: 100%;
    border-radius: 16px;
    transform: translateZ(0);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 40px rgba(0, 0, 0, 0.6);
}

.quote {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 500;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #333;
}

.author span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.nav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--dim);
    padding: 10px;
    transition: 0.3s;
    border-radius: 50%;
    position: relative;
    z-index: 10;
}

.nav-btn:hover {
    background: #1a1a1a;
    color: var(--text);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.carousel-indicator {
    border: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-indicator.current-slide {
    background: #fff;
    transform: scale(1.2);
}

/* --- Experience --- */
#experience {
    padding: 4rem var(--padding);
}

.exp-card-container {
    background-color: #0b0b0b;
    border: 1px solid #222;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.exp-row {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1.2fr;
    align-items: center;
    padding: 1.5rem 2.5rem;
    transition: 0.3s ease;
}

.exp-row:hover {
    background-color: #0f0f0f;
}

.exp-row:not(:last-child) {
    border-bottom: 1px dashed #333;
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 0;
    transform: none;
}

.dot-green {
    background-color: #2ECC71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.8);
}

.dot-red {
    background-color: #FF3B30;
    box-shadow: 0 0 8px rgba(255, 59, 48, 0.8);
}

.company-name {
    margin-bottom: 4px;
    display: block;
    line-height: 1.1;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
}

.role-name {
    font-size: 0.95rem;
    color: #888;
    margin: 0;
    font-weight: 400;
}

.exp-left {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.exp-text-group {
    display: flex;
    flex-direction: column;
}

.exp-center {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.skill-badge {
    display: inline-flex;
    align-items: center;
    background: #151515;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.85rem;
    color: #ccc;
    transition: 0.3s;
}

.skill-badge:hover {
    border-color: #555;
    background: #222;
}

.skill-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

.exp-right {
    text-align: right;
}

.exp-year {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 500;
}

.exp-loc {
    font-size: 0.9rem;
    color: #666;
}

/* --- FAQ --- */
#faq {
    padding: 4rem var(--padding);
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: #0b0b0b;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 0 2.5rem;
    transition: 0.3s ease;
    border-bottom: 1px solid #222;
}

.faq-item:hover {
    border-color: #333;
    background-color: #0f0f0f;
}

.faq-question {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    width: 100%;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
}

.arrow {
    transition: transform 0.3s ease;
    color: var(--text);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-right: 0;
}

.faq-answer p {
    padding-bottom: 2rem;
    color: var(--dim);
    font-size: 1.1rem;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

/* --- NEW PREMIUM FINAL CTA --- */
#final-cta {
    padding: 2rem var(--padding) 8rem;
}

.cta-card-premium {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(180deg, #111111 0%, #050505 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem 3.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-title em {
    font-family: 'Birthstone', cursive;
    font-style: normal;
    font-size: 1.2em;
    background: linear-gradient(to right, #F0C330, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 10px;
}

.cta-description {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.6;
}

.cta-action-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Right Side: Benefits & Proof */
.cta-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.cta-right-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    color: #ddd;
    font-weight: 500;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F0C330;
    filter: drop-shadow(0 0 8px rgba(240, 195, 48, 0.4));
    width: 24px;
}

.mini-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-avatars {
    display: flex;
}

.mini-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #111;
    margin-left: -10px;
    object-fit: cover;
}

.mini-avatars img:first-child {
    margin-left: 0;
}

.mini-proof-text {
    font-size: 0.95rem;
    color: #bbb;
}

/* --- Footer --- */
footer {
    padding: 2rem var(--padding);
    text-align: center;
}

.copyright {
    color: var(--dim);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.modal-content {
    position: relative;
    width: auto;
    max-width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content video {
    max-width: 1200px;
    max-height: 85vh;
    width: 100%;
    height: auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10000;
}

/* --- Contact Form Styles --- */
.contact-section {
    padding: 0 var(--padding) 4rem;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(180deg, #111111 0%, #080808 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--dim);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background-color: #050505;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 14px 16px;
    font-family: 'Hanken Grotesk', sans-serif;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #F0C330;
    box-shadow: 0 0 15px rgba(240, 195, 48, 0.15);
    background-color: #0a0a0a;
}

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0 1rem;
    color: var(--dim);
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-divider span {
    padding: 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.form-socials-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-platform-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s ease;
}

.social-platform-btn:hover {
    background: #222;
    border-color: #555;
    transform: translateY(-2px);
}

/* --- TOAST NOTIFICATION --- */
#toast-box {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    opacity: 0;

    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid #333;
    border-radius: 50px;
    padding: 12px 24px;

    display: flex;
    align-items: center;
    gap: 12px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 10000;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: auto;
    max-width: 90%;
}

#toast-box.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #2ECC71;
    border-radius: 50%;
    color: #000;
}

.toast-icon svg {
    width: 14px;
    height: 14px;
}

.toast-message {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Hanken Grotesk', sans-serif;
    white-space: nowrap;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.exp-row:nth-child(1) {
    transition-delay: 0.1s;
}

.exp-row:nth-child(2) {
    transition-delay: 0.2s;
}

.exp-row:nth-child(3) {
    transition-delay: 0.3s;
}

.exp-row:nth-child(4) {
    transition-delay: 0.4s;
}

@media (max-width: 900px) {
/* HERO TABLET/MOBILE ADJUSTMENTS (900px and below) */
    .hero-card {
        padding: 2rem;
        gap: 2rem;
    }
    
    .card-headline {
        font-size: 9vw; 
        white-space: nowrap;
    }

    .card-subtext {
        font-size: 2.5vw; 
        max-width: 600px;
    }

    /* Stack Profile on top, Buttons below */
    .card-interaction-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .profile-unit {
        padding-right: 0;
        border-right: none;
    }

    /* TABLET DEFAULT: Buttons allow wrapping but stay side-by-side if they fit */
    .actions-unit {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 12px; 
        align-items: center;
    }
    
    /* Ensure buttons don't stretch weirdly on Tablet */
    .actions-unit .card-pill-btn {
        flex: initial;
        width: auto;
    }

    /* OTHER MOBILE ADJUSTMENTS */
    .cta-card-premium {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
        gap: 2.5rem;
        text-align: left;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-description {
        max-width: 100%;
    }

    .cta-right {
        justify-content: flex-start;
    }

    .mini-social-proof {
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .card-headline {
        font-size: 3.5rem;
    }

    .card-headline em {
    padding-left: 1px;
    font-size: 1.2em;
    }

    p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem !important;
    }

    .section-header-group {
        margin-bottom: 1rem !important;
    }

    .hero-title {
        font-size: 2rem;
        white-space: nowrap;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    #hero {
        padding: 8rem var(--padding) 2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-visual {
        height: 180px;
    }

    /* --- NEW GRID MOBILE RULES --- */
    .grid-long-form {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .grid-short-form {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .video-label-gloss {
        font-size: 0.75rem;
        padding: 6px 14px;
        bottom: 10px;
    }

    .testimonial-title {
        font-size: 2rem;
    }

    .testimonial-header {
        margin-bottom: 1.5rem;
    }

    nav {
        padding: 0 20px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    /* Hamburger Button Container */
    .hamburger-btn {
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* UPDATED: Explicit gap for calculation */
        gap: 6px; 
        padding: 10px;
        z-index: 1001;
        width: 44px;
        height: 44px;
    }

    /* The Bars */
    .bar {
        width: 24px;
        height: 2px; /* Height must be 2px for this math to work */
        background-color: #fff;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
        transform-origin: center; /* Crucial for perfect X */
    }

    /* 
       PERFECT X MATH:
       Gap is 6px.
       Center of gap is 3px away from each bar.
       Bar height is 2px (half is 1px).
       Move Top Bar Down: 3px (gap space) + 1px (half bar) = 4px
       Move Bottom Bar Up: -4px
    */
    .hamburger-btn.active .bar-1 {
        transform: translateY(4px) rotate(45deg);
    }
    
    .hamburger-btn.active .bar-2 {
        transform: translateY(-4px) rotate(-45deg);
    }

    /* Liquid Dropdown (Unchanged) */
    .mobile-dropdown {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.979);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px) scale(0.95);
        transform-origin: top center;
        transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .mobile-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .mobile-link {
        color: #dadada;
        font-size: 1.1rem;
        padding: 11px 0;
        text-align: center;
        transition: 0.3s;
    }

    .mobile-link:hover {
        color: #b9b9b9;
    }

    .divider { height: 10px; }

    .mobile-link.highlight {
        color: #fff;
        font-weight: 700;
        border-bottom: none;
        background: rgb(27, 27, 27);
        border-radius: 8px;
        margin-top: 5px;
    }

    .links {
        display: none;
    }

    .nav-right {
        gap: 0;
    }

    .container {
        width: 100%;
    }

    .exp-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1.5rem;
    }

    .exp-left,
    .exp-center,
    .exp-right {
        width: 100%;
        text-align: left;
    }

    .exp-center {
        justify-content: flex-start;
        margin: 5px 0;
    }

    .exp-right {
        display: flex;
        flex-direction: column;
        gap: 6px;
        border-top: 1px solid #222;
        padding-top: 0.8rem;
    }

    .exp-year {
        font-size: 0.75rem;
        margin-bottom: 0;
    }

    .exp-loc {
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .nav-btn {
        display: none;
    }

    .carousel-nav {
        margin-top: 1rem;
    }

    .quote {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .faq-item {
        padding: 0 1.5rem;
    }

    .faq-question {
        padding: 1.5rem 0;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    #toast-box {
        bottom: 20px;
        padding: 10px 16px;
        width: max-content;
        max-width: 85%;
    }

    .toast-message {
        font-size: 0.8rem;
        white-space: normal;
    }

    .toast-icon {
        width: 20px;
        height: 20px;
    }

    .toast-icon svg {
        width: 12px;
        height: 12px;
    }
}

/* --- SMALL MOBILE SPECIFIC (Under 600px) --- */
@media (max-width: 600px) {
    /* ADDED: Forces 1 line and scales perfectly to fit screen width */
    .card-headline {
        font-size: 8vw; 
        white-space: nowrap;
    }

    .card-subtext {
    font-size: 3.5vw;
    max-width: 400px;
    }

    .actions-unit {
        gap: 10px;
    }

    /* 1. Keep Social Icons fixed size */
    .social-box {
        flex: 0 0 auto;
    }

    /* 2. "Get In Touch": Stretches next to icons */
    .actions-unit .card-pill-btn:first-of-type {
        flex: 1; 
        width: auto;
        justify-content: center;
        padding: 12px 14px;
        white-space: nowrap;
    }

    /* 3. "Browse My Work": Forces new line, full width */
    .actions-unit .card-pill-btn:last-of-type {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }
}

/* --- TEMPORARY MEME PLACEHOLDER --- */
.meme-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 50vh; /* Ensures it takes up space nicely */
    padding: 2rem;
    animation: fadeInUpLoad 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.meme-img {
    max-width: 100%;
    max-height: 500px; /* Prevents it from being too huge */
    width: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.meme-img:hover {
    transform: scale(1.02);
    opacity: 1;
}