@charset "utf-8";

/* ---------------- RESET ---------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ---------------- BODY ---------------- */

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f4ef;
    color: #444;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------------- MISTY WATERCOLOUR BACKGROUND (RESTORED) ---------------- */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background:

        radial-gradient(
            circle at 10% 15%,
            rgba(75, 63, 114, 0.10) 0%,
            rgba(75, 63, 114, 0.07) 14%,
            rgba(75, 63, 114, 0.04) 24%,
            transparent 38%
        ),

        radial-gradient(
            circle at 88% 8%,
            rgba(75, 63, 114, 0.08) 0%,
            rgba(75, 63, 114, 0.05) 16%,
            transparent 36%
        ),

        radial-gradient(
            circle at 82% 44%,
            rgba(75, 63, 114, 0.08) 0%,
            rgba(75, 63, 114, 0.05) 18%,
            transparent 40%
        ),

        radial-gradient(
            circle at 16% 60%,
            rgba(75, 63, 114, 0.09) 0%,
            rgba(75, 63, 114, 0.05) 20%,
            transparent 42%
        ),

        radial-gradient(
            circle at 90% 82%,
            rgba(75, 63, 114, 0.08) 0%,
            rgba(75, 63, 114, 0.04) 18%,
            transparent 40%
        ),

        radial-gradient(
            circle at 6% 94%,
            rgba(75, 63, 114, 0.08) 0%,
            rgba(75, 63, 114, 0.04) 18%,
            transparent 38%
        );

    filter: blur(18px);
}

/* HERO */

.hero {

    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
}

.hero-grid {

    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-copy h1 {

    font-size: 4.5rem;
    line-height: 1;
    font-weight: 700;
    color: #4b3f72;
    margin-bottom: 1.5rem;
}

.hero-statement {

    font-size: 1.3rem;
    line-height: 1.7;
    max-width: 450px;
    color: #444;
}

.hero-feature {

    width: 100%;
}

.hero-image {

    width: 100%;
    height: auto;
    display: block;

}

/* NAVIGATION */

.hero-nav {

    margin-top: 3rem;
    padding-top: 1.5rem;

    border-top: 1px solid #d8d3c9;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: .9rem;

    flex-wrap: wrap;

    font-size: .95rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-nav a {

    text-decoration: none;
    color: #4b3f72;

    transition: opacity .2s ease;
}

.hero-nav a:hover {

    opacity: .6;
}

.hero-nav span {

    color: #b8b2a8;
}
html {
    scroll-behavior: smooth;
}
/* ---------------- SECTIONS ---------------- */

.section {
    padding: 100px 8vw;
}

.section h3 {
    font-size: 1.9rem;
    color: #4b3f72;
    margin-top: 0;
    margin-bottom: 10px;
}

.section-description {
    max-width: 650px;
     margin-top: 0;
    margin-bottom: 30px;
    color: #555;
}


/* ---------------- GRID (FIXED SCALE CONSISTENCY) ---------------- */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start;
}

/* ---------------- CARD ---------------- */

.project-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;

    border-radius: 16px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
}


.project-card img,
.project-card video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}


/* FIX: prevents black-box feel on video */
.project-card video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---------------- HOVER LABEL ---------------- */

.project-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    padding: 10px 18px;
    border-radius: 999px;

    background: rgba(75, 63, 114, 0.92);
    color: #fff;

    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.project-card:hover .project-label {
    opacity: 1;
}
.label-type {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1.1;
}

.label-client {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    opacity: 0.5;
    font-style: normal;
    line-height: 1.1;
}

/* ---------------- PROFESSIONAL LINKS ---------------- */

.professional-links {

    margin-top: 80px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    flex-wrap: wrap;
}

.professional-links a {

    text-decoration: none;

    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #4b3f72;

    transition: opacity 0.2s ease;
}

.professional-links a:hover {

    opacity: 0.6;
}
footer {
    text-align: center;
    padding: 80px 8vw;
    font-size: 0.9rem;
    color: #777;
}

.pull-quote {
    text-align: center;
    padding: 90px 10vw;
    background: transparent; /* matches surrounding sections */
}

.pull-quote p {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.6;
    font-weight: 300;
    font-style: italic;

    color: rgba(58, 49, 72, 0.7);
}

.pull-quote span {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    color: rgba(75, 63, 114, 0.45);
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 900px) {

    /* STACK HERO PROPERLY */
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Center text block */
    .hero-copy {
        text-align: center;
    }

    .hero-copy h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-statement {
        margin: 0 auto;
        font-size: 1.1rem;
    }

    /* Make image feel like a "feature plate" */
    .hero-feature {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: 520px;
        height: auto;
    }

    /* NAV GOES BELOW EVERYTHING */
    .hero-nav {
        margin-top: 2rem;
        font-size: 0.8rem;
        justify-content: center;
    }

    /* FIX GRID BELOW */
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        height: 260px;
    }
}