:root {
    --bg-color: #ffffff;
    --text-color: #0f0f0f;
    --accent-orange: #ff6b00;
    --font-sans: 'Outfit', sans-serif;
    --font-playful: 'Fredoka', cursive;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
    --nav-padding: 2rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
}

.custom-cursor {
    width: 12px;
    height: 12px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, transform 0.15s ease, background-color 0.3s ease;
    mix-blend-mode: normal;
    transform: translate(-50%, -50%); /* Center the dot on mouse */
    background-size: cover;
    background-position: center;
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(4);
    mix-blend-mode: difference;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: var(--nav-padding);
    z-index: 100;
    mix-blend-mode: difference;
    color: white;
    font-size: 0.9rem;
    pointer-events: none;
}

.nav-left {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-center {
    font-weight: 300;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.separator {
    opacity: 0.5;
}

.nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    pointer-events: auto;
}

.nav-right a {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-right a:hover {
    opacity: 1;
    transform: translateX(-5px);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #f5f5f5;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    user-select: none;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: auto; /* Allow interactions but we will disable them via JS/attributes */
}

.role-text-new {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    display: flex;
    gap: 0.5rem;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    z-index: 10;
    color: #000;
    text-transform: uppercase;
}

.time-location-new {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 10;
    color: #000;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-anim-wrapper {
    position: relative;
    height: 1em;
    overflow: hidden;
    width: 3.5em;
    display: flex;
    align-items: center;
}

.dynamic-word {
    position: absolute;
    left: 0;
    top: 0;
}

.fixed-word {
    color: inherit;
}

/* Featured Projects */
.featured-projects {
    padding: var(--spacing-lg) 5%;
    background-color: var(--bg-color);
}

.projects-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 5%;
}

.section-title-small {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-orange);
}

.separator-line {
    width: 90%;
    margin: 0 auto 5rem;
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-bottom: 10vh;
}

.project-card {
    position: sticky;
    top: var(--sticky-offset);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background-color: var(--bg-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 -20px 50px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
    transform-origin: top center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
    border: 1px solid rgba(0,0,0,0.08);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.project-desc {
    font-size: 1.1rem;
    color: #666;
    max-width: 80%;
}

.project-image-wrapper {
    width: 100%;
    height: 60vh;
    border-radius: 10px;
    overflow: hidden;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.03);
}

/* Introduction Section */
.introduction {
    padding: var(--spacing-lg) 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    background-color: #ffffff;
}

.intro-text-reveal {
    max-width: 90%;
}

.intro-heading {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

.editorial-paragraph {
    font-size: 1.3rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
    max-width: 600px;
}

.experience-tag {
    margin-top: 4rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(0,0,0,0.1);
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    color: var(--accent-orange);
    font-weight: 600;
}

.intro-right {
    display: flex;
    align-items: center;
}

.scroll-keywords-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scroll-keyword {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 300;
    letter-spacing: -2px;
    color: #e0e0e0;
    line-height: 1;
    transition: color 0.1s ease;
}

.scroll-keyword.active {
    color: var(--text-color);
}

/* Testimonials New */
.testimonials-new {
    padding: var(--spacing-lg) 5%;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.testimonials-header-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.section-title-editorial {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin: 0;
}

.stats-container-new {
    display: flex;
    gap: 4rem;
}

.stat-item-new {
    display: flex;
    flex-direction: column;
}

.stat-row {
    display: flex;
    align-items: baseline;
}

.stat-number-new {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: -2px;
}

.stat-plus-new {
    font-size: 2rem;
    color: var(--accent-orange);
    font-weight: 600;
}

.stat-label-new {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-top: -0.5rem;
}

.masonry-wrapper {
    width: 100%;
    overflow: hidden;
    height: 600px;
    position: relative;
}

.masonry-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, var(--bg-color));
    pointer-events: none;
}

.masonry-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    animation: scroll-up 40s linear infinite;
}

@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.masonry-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.staggered {
    margin-top: 5rem;
}

.testimonial-card {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.test-text {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #222;
    margin-bottom: 1.5rem;
}

.test-author-new {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.test-author-new::before {
    content: '';
    width: 20px;
    height: 1px;
    background-color: var(--accent-orange);
}

/* Services */
.services {
    padding: var(--spacing-lg) 5%;
}

.services-container {
    border: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
}

.service-table-header {
    padding: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background-color: #fafafa;
}

.service-table-header h2 {
    font-size: 2rem;
    font-weight: 400;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.service-row:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.service-cell {
    padding: 3rem;
    font-size: 1.5rem;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-cell:first-child {
    border-right: 1px solid rgba(0,0,0,0.1);
}

.sub-text {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Pricing */
.pricing {
    padding: var(--spacing-md) 5% var(--spacing-lg);
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-plan {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.pricing-plan h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.plan-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 3rem;
}

.plan-features li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #444;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -1px;
}

/* About Me */
.about {
    padding: var(--spacing-lg) 5%;
    background-color: #0f0f0f;
    color: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image-wrapper {
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.about-image-wrapper:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.about-text {
    max-width: 90%;
}

.about-heading {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -2px;
}

.about-body p {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 2rem;
    opacity: 1;
    transform: translateY(0);
}

/* Contact New */
.contact-new {
    padding: var(--spacing-lg) 5%;
    background-color: var(--bg-color);
}

.contact-container-new {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-title-large {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    letter-spacing: -4px;
    margin-bottom: 4rem;
    line-height: 0.9;
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 6rem;
}

.input-row {
    display: flex;
    gap: 4rem;
}

.contact-form-new input, 
.contact-form-new textarea {
    flex: 1;
    background: #fff;
    border: none;
    padding: 1.5rem 2rem;
    font-family: inherit;
    font-size: 1.2rem;
    outline: none;
    transition: all 0.3s ease;
    color: var(--text-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 4px;
}

.contact-form-new input:focus, 
.contact-form-new textarea:focus {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.contact-form-new textarea {
    resize: none;
}

.send-btn {
    align-self: flex-start;
    background: var(--accent-orange);
    border: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    color: #fff;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.send-btn:hover {
    background-color: var(--text-color);
    transform: scale(1.05);
}

.accent-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: 50%;
}

.send-btn:hover {
    color: var(--accent-orange);
}

.social-footer-new {
    margin-top: 8rem;
    padding: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
}

.social-links-grid {
    display: flex;
    width: 100%;
}

.social-column {
    padding: 5rem 1rem;
    border-right: 3px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.social-column:first-child {
    border-left: none; /* Let screen edge be the border or keep it clean */
}

.social-column:last-child {
    border-right: none;
}

.social-column a {
    font-size: clamp(1.2rem, 3.2vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    transition: color 0.3s ease;
    line-height: 0.9;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    display: block;
}

.social-column a:hover {
    color: var(--accent-orange);
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-container {
        padding-bottom: 5vh;
    }
    .project-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    .project-image-wrapper {
        height: 40vh;
        order: -1;
    }
    .introduction, .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .testimonials-header-new {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .masonry-track {
        grid-template-columns: 1fr 1fr;
    }
    .masonry-column:nth-child(3) {
        display: none;
    }
    .social-links-grid {
        grid-template-columns: 1fr 1fr;
    }
    .social-column:nth-child(2) {
        border-right: none;
    }
    .pricing-container {
        grid-template-columns: 1fr;
    }
    .service-row {
        grid-template-columns: 1fr;
    }
    .service-cell:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    .intro-heading, .about-heading {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .role-text-new {
        font-size: 1.5rem;
        bottom: 2rem;
        left: 2rem;
    }
    .time-location-new {
        bottom: 2rem;
        right: 2rem;
        font-size: 0.7rem;
    }
    .top-nav {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        background: transparent;
        padding: 1.5rem;
    }
    .nav-right {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    .project-title {
        font-size: 2rem;
    }
    .input-row {
        flex-direction: column;
        gap: 2rem;
    }
    .masonry-track {
        grid-template-columns: 1fr;
    }
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    .social-column {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        justify-content: flex-start;
    }
}
