html, body {
    margin: 0;
    padding: 0;
    background: #000;
    font-family: 'Inter', sans-serif;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Canvas Animation */
.scroll-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

canvas {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.6; /* Slightly lower opacity so UI pops */
}

/* Foreground Content */
.content {
    position: relative;
    z-index: 10;
    width: 100%;
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #f06a25;
    color: #fff;
}

.btn-primary:hover {
    background: #d85c1d;
    transform: translateY(-2px);
}

.btn-text {
    color: #fff;
    background: transparent;
}

.btn-text:hover {
    color: #f06a25;
}

/* Navbar */
.navbar {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    box-sizing: border-box;
}

.logo {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 35px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.05);
}

.nav-links li a {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #fff;
}

/* Hero Section */
.hero {
    width: 100%;
    max-width: 1200px;
    padding: 80px 40px 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hi-im {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #f06a25;
    margin-bottom: -10px;
    display: block;
    z-index: 5;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(80px, 14vw, 200px);
    margin: 0;
    line-height: 0.9;
    font-weight: 500;
    letter-spacing: -3px;
    position: relative;
    z-index: 2;
    text-shadow: 0px 10px 30px rgba(0,0,0,0.5);
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 80px;
    position: relative;
    z-index: 3;
}

.hero-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    margin: 15px 0 30px;
}

.trusted {
    color: #f06a25;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Marquee */
.marquee-section {
    width: 100%;
    padding: 30px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin: 60px 0;
}

.marquee {
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee span {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* General Layout for Sections (Left Title, Right Content) */
.about-section, .services-section, .process-section, .tools-section {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 80px;
    padding: 60px 40px;
    box-sizing: border-box;
}

.section-left {
    flex: 0 0 200px;
}

.dot-title {
    color: #f06a25;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-right {
    flex: 1;
}

/* About Typography */
.about-section .section-right p {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1.4;
    margin: 0 0 30px 0;
}

.about-section .section-right .secondary-statement {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #f06a25;
    margin-top: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Lists and Grids */
.service-item, .process-step, .tool-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.service-item:last-child, .process-step:last-child, .tool-item:last-child {
    border-bottom: none;
}

.service-item h3, .process-step h3, .tool-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.service-item p, .process-step p, .tool-item p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.5;
}

/* Projects Section */
.projects-section {
    width: 100%;
    max-width: 1200px;
    padding: 80px 40px;
    box-sizing: border-box;
}

.projects-header {
    margin-bottom: 80px;
    text-align: left;
}

.projects-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    margin: 15px 0 0 0;
    max-width: 800px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 40px;
}

.projects-grid .project-card:nth-child(even) {
    margin-top: 80px;
}

.project-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 25px 0 10px;
    font-weight: 400;
}

.project-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgba(0,0,0,0.5);
    font-size: 14px;
}

.project-card {
    cursor: pointer;
}

.project-card:hover .project-image {
    transform: scale(1.02);
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-outline {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* Contact Section */
.contact-section {
    width: 100%;
    max-width: 1200px;
    padding: 100px 40px;
    box-sizing: border-box;
    text-align: center;
}

.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 400;
    margin: 0;
}

.contact-section .highlight {
    color: #f06a25;
    margin-bottom: 30px;
}

.contact-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

.contact-methods {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-methods a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.3);
    text-underline-offset: 5px;
    font-size: 16px;
    transition: color 0.3s;
}
.contact-methods a:hover {
    color: #f06a25;
    text-decoration-color: #f06a25;
}

/* Final CTA / Statement */
.footer-cta {
    text-align: center;
    padding: 80px 0 120px 0;
}

.footer-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
}

/* Footer Section */
.site-footer {
    width: 100%;
    padding: 60px 0 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand .logo {
    margin-bottom: 5px;
}
.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #f06a25;
}

.copyright {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Modal / Case Study Overlay */
.modal {
    position: fixed;
    top: 100vh; /* Hidden initially below screen */
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0a0a0a; /* Solid dark background to cover page */
    z-index: 100;
    overflow-y: auto;
    transition: top 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
    top: 0;
}

.modal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 40px;
}

.close-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 60px;
    transition: background 0.3s;
}

.close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.case-study-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.case-study-meta {
    display: flex;
    gap: 60px;
    margin: 60px 0;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.meta-item h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: #f06a25;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.meta-item p {
    font-size: 15px;
    margin: 0;
}

.case-study-body section {
    margin-bottom: 80px;
}

.case-study-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 30px 0;
}

.case-study-body p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    max-width: 800px;
}

.gallery-placeholder {
    background: #222;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.gallery-placeholder.large {
    aspect-ratio: auto;
    height: 600px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Concept-only disclaimer note inside case studies */
.cs-note {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    border-left: 2px solid #f06a25;
    padding-left: 14px;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .projects-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid .project-card:nth-child(even) {
        margin-top: 0;
    }
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    .about-section, .services-section, .process-section, .tools-section {
        flex-direction: column;
        gap: 30px;
    }
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-title, .footer-cta h2 {
        font-size: 60px;
    }
    .case-study-meta {
        flex-direction: column;
        gap: 30px;
    }
}
