/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f1419;
    --accent-color: #0f1419;
    --text-dark: #0f1419;
    --bg-light: #ffffff;
    --off-white: #fafafa;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

/* Disable smooth scroll on mobile to prevent snapping issues */
@media (max-width: 768px) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--bg-light);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-light);
    z-index: 100;
    padding: 20px 40px;
    transition: var(--transition);
}

.nav-container.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-light);
    z-index: 200;
    padding: 40px;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 40px;
    background: none;
    border: none;
    font-size: 48px;
    color: var(--primary-color);
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 100px;
    padding: 0 20px;
}

.mobile-nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 36px;
    font-weight: 500;
    padding: 15px 0;
    transition: var(--transition);
}

.mobile-nav-link:active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 40px 80px;
    position: relative;
}

.email-display {
    position: absolute;
    top: 120px;
    left: 40px;
    font-size: 16px;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 0.3px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.hero-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 650px;
    background-color: #e8e8e8;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-dark);
    opacity: 0.4;
}

.hero-title {
    font-size: clamp(80px, 15vw, 280px);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 0.9;
    font-family: 'Georgia', 'Playfair Display', serif;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
}

.hero-name {
    display: block;
}

.hero-name {
    display: block;
}

.hero-subtitle {
    font-size: clamp(14px, 1.5vw, 20px);
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-left: 5px;
    text-transform: uppercase;
}

/* Section Container */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

/* Large Text Styling */
.large-text {
    margin-bottom: 80px;
}

.large-word {
    font-size: clamp(60px, 12vw, 180px);
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Georgia', 'Playfair Display', serif;
    line-height: 1;
    letter-spacing: 0.02em;
}

/* About Section */
.about-section {
    background-color: var(--off-white);
    min-height: 100vh;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-image-container {
    position: sticky;
    top: 120px;
}

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    max-height: 600px;
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 18px;
    opacity: 0.5;
}

.about-text {
    padding-top: 20px;
}

.about-text p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
}

.stat-label {
    font-size: 14px;
    color: var(--text-dark);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-skills {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skill-item {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

.skill-item h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.skill-item p {
    font-size: 16px;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 12px;
}

.skill-subtitle {
    font-style: italic;
    opacity: 0.7;
    font-size: 15px !important;
    margin-bottom: 12px !important;
}

.services-bullets {
    list-style: none;
    padding-left: 20px;
    margin: 16px 0;
}

.services-bullets li {
    position: relative;
    padding-left: 0;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--text-dark);
    opacity: 0.8;
}

.services-bullets li::before {
    content: "•";
    position: absolute;
    left: -20px;
    color: var(--primary-color);
    font-weight: bold;
}

.endorsements {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.endorsements h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.endorsement-brands {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Work Section */
.work-section {
    background-color: var(--bg-light);
    min-height: 100vh;
}

.credits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.credits-images {
    position: sticky;
    top: 120px;
    order: 2;
}

.credit-image-main {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.credits-content {
    padding-top: 0;
    position: relative;
    order: 1;
}

.credits-content .large-text {
    margin-bottom: 20px;
    position: relative;
    left: 0;
    z-index: 2;
}

.credits-content .large-text .large-word {
    font-size: clamp(40px, 8vw, 80px);
}

.credits-description {
    font-size: 14px;
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 30px;
    line-height: 1.5;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
}

.credit-card {
    text-decoration: none;
    display: block;
    background-color: var(--off-white);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.credit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.credit-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #e8e8e8;
    overflow: hidden;
    position: relative;
}

.credit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.credit-card:hover .credit-card-image img {
    transform: scale(1.05);
}

.credit-card-info {
    padding: 8px 10px;
}

.credit-card-info .credit-song {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Georgia', serif;
    margin: 0 0 3px 0;
    line-height: 1.3;
}

.credit-card-info .credit-artist {
    font-size: 10px;
    color: var(--text-dark);
    opacity: 0.6;
    margin: 0;
    line-height: 1.3;
}

.work-image {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: var(--transition);
    position: relative;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-number {
    font-size: 120px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Georgia', serif;
    line-height: 1;
}

.work-item:hover .work-overlay,
.credit-item:hover .work-overlay {
    opacity: 0.9;
}

.work-item:hover .work-image,
.credit-item:hover .credit-image {
    transform: scale(1.02);
}

.work-info h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.work-info p {
    color: var(--text-dark);
    font-size: 16px;
    opacity: 0.7;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-light);
    min-height: 100vh;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-image-container {
    position: sticky;
    top: 120px;
}

.contact-image {
    width: 100%;
    aspect-ratio: 4/5;
    max-height: 600px;
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.contact-info h2 {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info > p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

.service-tag {
    padding: 12px 24px;
    background-color: var(--off-white);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
}

.service-tag:hover {
    background-color: var(--primary-color);
    color: var(--bg-light);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    padding-left: 10px;
}

.link-label {
    font-size: 14px;
    color: var(--text-dark);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.link-value {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--off-white);
    padding: 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.footer-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-credit {
    text-align: center;
    font-size: 11px;
    color: var(--text-dark);
    opacity: 0.5;
    margin-top: 20px;
}

.footer-credit a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.footer-credit a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-container {
        position: relative;
        top: 0;
    }

    .credits-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .credits-images {
        position: relative;
        top: 0;
        order: 1;
    }

    .credits-content {
        order: 2;
    }

    .credits-content .large-text {
        left: 0;
    }

    .credits-content .large-text .large-word {
        font-size: clamp(48px, 12vw, 100px);
    }

    .credits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: none;
    }

    .credit-card-info {
        padding: 8px 10px;
    }

    .endorsements {
        margin-top: 50px;
        padding-top: 30px;
    }

    .brand-logo {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 24px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        padding: 120px 24px 80px;
        min-height: auto;
    }

    .email-display {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 50px;
        font-size: 14px;
    }

    .hero-content {
        position: relative;
    }

    .hero-right {
        position: relative;
        width: 100%;
        transform: none;
        margin-top: 50px;
    }

    .hero-title {
        font-size: clamp(56px, 16vw, 100px);
        margin-bottom: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 0.12em;
    }

    .hero-image {
        height: 450px;
    }

    .section-container {
        padding: 80px 24px;
    }

    .large-text {
        margin-bottom: 50px;
    }

    .large-word {
        font-size: clamp(48px, 12vw, 100px);
    }

    .about-text p {
        font-size: 18px;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    .about-skills {
        margin-top: 50px;
        gap: 40px;
    }

    .skill-item h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .skill-item p {
        font-size: 16px;
        line-height: 1.7;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 50px 0;
        padding: 40px 0;
    }

    .stat-item {
        text-align: left;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 15px;
    }

    .work-number {
        font-size: 80px;
    }

    .credits-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .credits-images {
        position: relative;
        top: 0;
        order: 1;
    }

    .credits-content {
        order: 2;
    }

    .credits-content .large-text {
        left: 0;
    }

    .credits-description {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .credits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        max-width: none;
    }

    .credit-card {
        position: relative;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .credit-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(15, 20, 25, 0.7) 0%, rgba(15, 20, 25, 0.3) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
        pointer-events: none;
    }

    .credit-card:active::before {
        opacity: 1;
    }

    .credit-card-info {
        padding: 12px 14px;
    }

    .credit-card-info .credit-song {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .credit-card-info .credit-artist {
        font-size: 12px;
    }

    .services-bullets {
        padding-left: 16px;
    }

    .services-bullets li {
        font-size: 15px;
    }

    .endorsements {
        margin-top: 50px;
        padding-top: 30px;
    }

    .endorsements h3 {
        font-size: 16px;
    }

    .endorsement-brands {
        gap: 30px;
    }

    .brand-logo {
        height: 45px;
    }

    .services-list {
        gap: 10px;
        margin-bottom: 50px;
    }

    .service-tag {
        padding: 12px 22px;
        font-size: 14px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-image-container {
        position: relative;
        top: 0;
    }

    .contact-info h2 {
        font-size: 38px;
        line-height: 1.3;
        margin-bottom: 24px;
    }

    .contact-info > p {
        font-size: 18px;
        line-height: 1.7;
        margin-bottom: 40px;
    }

    .contact-links {
        gap: 35px;
    }

    .contact-link {
        padding: 24px 0;
    }

    .link-label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .link-value {
        font-size: 20px;
    }

    .footer {
        padding: 50px 24px;
    }

    .footer-social {
        gap: 30px;
        flex-wrap: wrap;
    }

    .footer-link {
        font-size: 16px;
    }

    .footer-credit {
        font-size: 11px;
        margin-top: 24px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(48px, 14vw, 80px);
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-image {
        height: 380px;
    }

    .section-container {
        padding: 60px 20px;
    }

    .large-word {
        font-size: clamp(40px, 11vw, 80px);
    }

    .about-text p {
        font-size: 17px;
    }

    .stat-number {
        font-size: 36px;
    }

    .credits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: none;
    }

    .credit-card {
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    }

    .credit-card-info {
        padding: 10px 12px;
    }

    .credit-card-info .credit-song {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .credit-card-info .credit-artist {
        font-size: 11px;
    }

    .brand-logo {
        height: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-image-container {
        position: relative;
        top: 0;
    }

    .contact-info h2 {
        font-size: 32px;
    }

    .contact-info > p {
        font-size: 17px;
    }

    .link-value {
        font-size: 18px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Mobile Optimizations - NO PARALLAX on mobile */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }
    
    /* Disable all transforms that could cause scroll jank */
    .credit-image-main {
        transform: none !important;
        will-change: auto;
    }

    /* Simple fade-in only, no transforms */
    .work-section .credit-card {
        transform: none !important;
    }
    
    /* Prevent layout shifts */
    .credit-card {
        contain: layout style paint;
    }
    
    /* Ensure no sticky positioning causes issues */
    .credits-images {
        position: relative !important;
        top: 0 !important;
    }
}

/* Smooth scroll offset for fixed nav */
section {
    scroll-margin-top: 100px;
}

/* Slideshow System */
.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 800ms ease-in-out;
}

.slideshow-image.active {
    opacity: 1;
}

/* Ensure first image is visible immediately */
.slideshow-image:first-child {
    position: relative;
}

