:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-glow: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center top;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.serif-italic {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-weight: 400;
}


/* Background Ambient Glow (4-blob blue) */
.glow-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: var(--bg-color);
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-bg::before, .glow-bg::after, .glow-blob {
    content: '';
    position: absolute;
    filter: blur(90px);
    border-radius: 50%;
    opacity: 0.5;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.glow-bg::before { width: 45vw; height: 45vw; background: rgba(0, 100, 255, 0.16); top: -20%; left: -20%; animation-delay: 0s; }
.glow-bg::after { width: 50vw; height: 50vw; background: rgba(0, 150, 255, 0.12); bottom: -20%; right: -20%; animation-delay: -5s; }
.glow-blob.glow-blob-1 { display: none; }
.glow-blob.glow-blob-2 { display: none; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 60px) scale(1.1); }
}

/* Layout */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Hero Section */
@keyframes heroEntrance {
    0% { opacity: 0; transform: translateY(40px) scale(0.92); filter: blur(8px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
    animation: heroEntrance 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.availability-badge .dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
}

.profile-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 30px;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: 0;
    border-radius: 50%;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.name {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transition: var(--transition);
}

.social-icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    opacity: 1;
}

.social-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.preferred-contact {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Sections */
.section {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-title {
    font-size: 40px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.title-underline {
    width: 240px;
    height: auto;
    margin-top: -5px;
    opacity: 1;
    filter: brightness(0) invert(1);
    transform: scaleY(2.2) scaleX(1.2);
}

/* Testimonials Image */
.testimonials-img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 16px;
}

/* Grids */
.grid-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.grid-container.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Cards */
.project-card, .testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.05);
}

.project-card:hover::before {
    opacity: 1;
}

.youtube-embed-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border-color);
}

.project-info {
    padding: 16px;
    position: relative;
    z-index: 2;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.project-info h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.project-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* About Card (Brad Style) */
.about-card {
    background-color: #0d0d0d;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.about-content-inner {
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 40px;
}

@media (min-width: 600px) {
    .about-content-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 60px;
    }
}

.about-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.about-underline {
    max-width: 200px;
    margin-bottom: 24px;
    opacity: 0.6;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-img {
    width: 100%;
    max-width: 280px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 16px 32px rgba(0,0,0,0.6);
}

.social-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f2f2f2;
    padding: 24px 40px;
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
}

@media (min-width: 600px) {
    .social-banner {
        padding: 24px 60px;
    }
}

.banner-links {
    display: flex;
    gap: 16px;
}

.banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #000;
    transition: var(--transition);
}

.banner-icon:hover {
    background-color: rgba(0,0,0,0.05);
    transform: scale(1.05);
}

/* Short Form Grid */
.short-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 780px;
    margin: 0 auto;
}

/* Restore native cursor on Gumlet containers (custom cursor fades out over iframes) */
.reel-card,
.gumlet-edit-card {
    cursor: auto;
}

/* Reel Card — phone-frame inspired */
.reel-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
}

.reel-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(80, 160, 255, 0.4);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7),
                0 0 30px rgba(60, 130, 255, 0.15);
}

/* Transparent overlay so iframe doesn't eat cursor events */
.reel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.reel-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    z-index: 1;
}

/* Footer CTA */
.footer {
    padding-top: 40px;
    display: flex;
    justify-content: center;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #000000;
    padding: 16px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.cta-button:hover::before {
    transform: translateY(0);
}

.cta-text, .cta-icon {
    position: relative;
    z-index: 1;
}

.cta-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
    transform: translateX(4px);
}

/* Placeholder styling */
.placeholder-video {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.placeholder-video::after {
    content: "Placeholder Video";
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    font-weight: 500;
}

/* More Edits Grid (static) */
.more-edits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

.more-edits-grid .twitter-tweet {
    margin: 0 !important;
    width: 100% !important;
}

/* Tweet wrapper: transparent overlay keeps cursor visible over iframes */
.tweet-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.tweet-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none; /* let clicks through to the embed */
}

/* Gumlet 16:9 cards in more-edits grid */
.gumlet-edit-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
}

.gumlet-edit-card:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: rgba(80, 160, 255, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6),
                0 0 24px rgba(60, 130, 255, 0.12);
}

/* Transparent overlay so iframe doesn't eat cursor events */
.gumlet-edit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.gumlet-edit-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

/* ─────────── RESPONSIVE ─────────── */

/* Large Laptops ≤1200px */
@media (max-width: 1200px) {
    .container {
        max-width: 860px;
    }
}

/* Tablet / Small Laptop ≤900px */
@media (max-width: 900px) {
    .container {
        padding: 60px 20px;
    }
    .name { font-size: 3.2rem; }
    .section-title { font-size: 34px; }
    .about-title { font-size: 34px; }

    /* Projects: single column stacked */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* More edits: single column */
    .more-edits-grid {
        grid-template-columns: 1fr;
    }

    /* Short form: 2 columns on tablet */
    .short-form-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 560px;
    }

    /* About: column layout on tablet */
    .about-content-inner {
        flex-direction: column;
        padding: 40px;
        gap: 32px;
    }
    .about-img {
        max-width: 240px;
        align-self: center;
    }
}

/* Mobile ≤600px */
@media (max-width: 600px) {
    .container {
        padding: 48px 16px;
    }
    .hero { margin-bottom: 56px; }
    .section { margin-bottom: 56px; }

    .name { font-size: 2.4rem; }
    .subtitle { font-size: 1rem; }
    .section-title { font-size: 26px; }
    .about-title { font-size: 26px; }
    .about-text { font-size: 1rem; }
    .title-underline { width: 160px; }

    /* All grids → single column */
    .grid-container.two-col,
    .projects-grid,
    .more-edits-grid,
    .short-form-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    /* About card */
    .about-content-inner {
        padding: 24px !important;
        gap: 20px !important;
    }
    .about-img {
        max-width: 100%;
    }
    .social-banner {
        padding: 18px 24px !important;
        font-size: 0.95rem;
    }

    /* Short form: center single video */
    .short-form-grid {
        max-width: 320px;
        margin: 0 auto;
    }

    /* Profile */
    .profile-wrapper {
        width: 110px;
        height: 110px;
    }

    /* CTA button */
    .cta-button {
        font-size: 1rem;
        padding: 14px 24px;
    }

    /* Disable expensive hover animations on touch */
    .project-card:hover,
    .reel-card:hover,
    .gumlet-edit-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Small Phones ≤400px */
@media (max-width: 400px) {
    .name { font-size: 2rem; }
    .section-title { font-size: 22px; }
    .container { padding: 36px 14px; }
    .availability-badge { font-size: 0.78rem; padding: 5px 10px; }
    .social-icon-btn { width: 38px; height: 38px; }
}
