:root {
    --bg: #050505;
    --bg-alt: #0c0c0c;
    --text: #f6f5f1;
    --muted: rgba(255, 255, 255, 0.65);
    --accent: #f2c94c;
    --border: rgba(255, 255, 255, 0.12);
    --sans: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --display: 'Exo', 'Space Grotesk', sans-serif;
}

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

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

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

.hero-wrap {
    position: relative;
    min-height: 10vh;
    overflow: hidden;
    padding: 1.5rem clamp(1.5rem, 4vw, 4rem) 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /*background: url('https://cdn.prod.website-files.com/66a7aeeae060b0992db0caa0/66a7b0d7632b094dfdc3233d_Opening%20Film%20snippet-poster-00001.jpg')*/
    /*    center/cover,*/
    /*  linear-gradient(180deg, #050505, #0c0c0c);*/
}

.hero-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    pointer-events: none;
    z-index: 1;
}

.nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    position: sticky;
    top: 1.5rem;
    padding: 0.5rem 0;
    transition: background 0.4s ease, padding 0.4s ease;
    z-index: 3;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.55);
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    backdrop-filter: blur(24px);
}

.nav-brand {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: clamp(1.55rem, 2.3vw, 1.9rem);
    color: var(--text);
    white-space: nowrap;
    pointer-events: none;
}


.simple-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
}

.simple-nav a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.simple-nav a:hover {
    color: var(--text);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto; /* push to far right */
}

.social-icons a {
    color: var(--text);
    font-size: 1.1rem;
    transition: color 0.25s ease;
}

.social-icons a:hover {
    color: #38bdf8;
}


.hero-intro {
    max-width: 600px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.hero-intro h1 {
    font-family: var(--display);
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-intro p {
    color: var(--muted);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

main {
    padding: 4rem 0 5rem;
}

.section {
    padding: 0 clamp(1.5rem, 5vw, 5rem);
    margin-bottom: 4rem;
}

.section-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.section h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.section p {
    color: var(--muted);
}

.works-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.work-card {
    flex: 1;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, border-color 0.4s ease;

}

.work-card.large {
    flex-basis: 100%;
}

.work-card img {
     height: auto;
    object-fit: cover;
     object-fit: contain;
}

.work-card .work-copy {
    padding: 1.5rem;
}

.work-card h3 {
    font-family: var(--display);
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.work-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.4);
}

.about-grid {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: nowrap; /* keep in one line on desktop */
}

.about-intro {
    padding-top: 2rem;
}

.about-intro h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: var(--text);
    text-align: left;
}

/* 👇 This creates the side-by-side layout */
.about-flex {
    display: flex;
    align-items: center; /* ✅ centers text vertically relative to the image */
    gap: 2rem;
    flex-wrap: nowrap;
}

/* Image on the left */
.about-image {
    flex: 1;
    min-width: 260px;
    max-width: 380px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
    border: 1px solid var(--border);
    object-fit: cover;
    display: block;
}

/* Text on the right */
.about-text {
    flex: 2;
    line-height: 1.7;
    color: var(--muted);
}

.about-text p {
    margin-bottom: 1rem;
}

/* 📱 Responsive stacking on small screens */
@media (max-width: 800px) {
    .about-flex {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .about-image {
        max-width: 300px;
    }
}


.contact-frame {
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    background: var(--bg-alt);
    max-width: 720px;
    margin: 0 auto;
}

.contact-frame h2 {
    font-family: var(--display);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input,
textarea {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    padding: 0.9rem 1rem;
    color: var(--text);
    font-family: var(--sans);
}

textarea {
    resize: vertical;
}

button[type='submit'] {
    align-self: flex-start;
    background: var(--text);
    color: #050505;
    border: none;
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
}

.case-hero {
    position: relative;
    padding: 2rem clamp(1.5rem, 5vw, 5rem) 0rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;
    background-image: linear-gradient(180deg, rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.9)),
    var(--case-image, linear-gradient(180deg, #050505, #0c0c0c));
    background-size: cover;
    background-position: center;
}

.case-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 20%, rgba(5, 5, 5, 0.9));
}

.case-hero .nav,
.case-hero .case-hero-content {
    position: relative;
    z-index: 2;
}

.case-hero-content {
    max-width: 1720px;
}

.case-hero-content h1 {
    font-family: var(--display);
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    margin-bottom: 0rem;
    line-height: 1.1;
}

.case-hero-content p {
    color: var(--muted);
}

.case-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.case-meta span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.case-main {
    padding:0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.case-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    background: var(--bg-alt);
}

.case-details h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.case-details p {
    color: var(--muted);
}

.case-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.case-gallery img {
    border-radius: 1rem;
    border: 1px solid var(--border);
    object-fit: cover;
    height: 320px;
}

.case-video {
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-alt);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-video iframe {
    width: 100%;
    min-height: 360px;
    border: none;
    border-radius: 1rem;
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.gif-stub {
    border: 1px dashed var(--border);
    border-radius: 1rem;
    padding: 1rem;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    font-size: 0.8rem;
}

.gif-stub span {
    text-align: center;
    line-height: 1.3;
}

.case-back {
    align-self: flex-start;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.6rem 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
}

.case-back:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.footer {
    border-top: 1px solid var(--border);
    padding: 2rem clamp(1.5rem, 5vw, 5rem);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
}

.footer-links a {
    color: var(--text);
}

@media (max-width: 900px) {
    .works-row {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .nav-brand {
        position: static;
        text-align: left;
        font-size: clamp(1.1rem, 5vw, 1.6rem);
        letter-spacing: 0.2em;
    }

    .simple-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .social-icons {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .hero-wrap {
        padding-bottom: 2rem;
    }

    .work-card img {
        height: 240px;
    }
}


.video-container {
    display: flex;
    justify-content: center; /* centers horizontally */
    margin: 2rem 0;
}

.case-study {
    margin: 20px auto 0px;
    width: 100%;
    max-width: none;
    padding: 0 clamp(1.5rem, 5vw, 5rem);
    background: none;
    border: none;
    color: var(--text);
    line-height: 1.7;
    text-align: left;
}

.case-title {
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 1.5rem;
    color: var(--text);
}

.case-study p {
    margin-bottom: 1rem;
    color: var(--muted);
    max-width: 100%;
}

.case-study ul {
    margin: 1rem 0 1.5rem 1.2rem;
    list-style-type: '— ';
    padding-left: 0.5rem;
}

.case-study li {
    margin-bottom: 0.4rem;
    color: var(--muted);
}

.case-hero::after {
  background: none !important;
}
