:root {
    --purple: #321563;
    --purple-dark: #21103f;
    --pink: #ff3c9e;
    --pink-soft: #ffd9eb;
    --teal: #00c9c0;
    --teal-soft: #d6fbf6;
    --cyan: #1ddae3;
    --orange: #ff9f35;
    --orange-soft: #fff0d6;
    --lavender: #eee3ff;
    --cream: #fffaf5;
    --white: #ffffff;
    --ink: #251b32;
    --muted: #665d70;
    --border: rgba(50, 21, 99, 0.12);
    --shadow: 0 24px 70px rgba(42, 24, 62, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 6% 10%,
            rgba(255, 60, 158, 0.12) 0 7px,
            transparent 8px
        ),
        radial-gradient(
            circle at 94% 22%,
            rgba(0, 201, 192, 0.12) 0 12px,
            transparent 13px
        ),
        linear-gradient(
            rgba(50, 21, 99, 0.025) 1px,
            transparent 1px
        );
    background-size: auto, auto, 100% 9px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.section-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 250, 245, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.nav-shell {
    width: min(1240px, calc(100% - 40px));
    min-height: 74px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-text {
    color: var(--purple);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: var(--purple);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 800;
}

.site-nav a:hover {
    color: var(--pink);
}

.menu-button {
    display: none;
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 125px;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(255, 217, 235, 0.96),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(214, 251, 246, 0.96),
            transparent 35%
        ),
        radial-gradient(
            circle at 77% 90%,
            rgba(238, 227, 255, 0.95),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #fff9fb 0%,
            #fffdf8 48%,
            #f4fffe 100%
        );
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.5;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(50, 21, 99, 0.025) 0,
            rgba(50, 21, 99, 0.025) 2px,
            transparent 2px,
            transparent 13px
        );
}

.hero-grid {
    position: relative;
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 70px;
}

.logo-area {
    width: min(330px, 75vw);
    margin-bottom: 30px;
}

.brand-logo {
    width: 100%;
    height: auto;
}

.logo-fallback {
    display: none;
    color: var(--purple);
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
}

.logo-fallback span {
    display: block;
    color: var(--pink);
    font-size: 1.6rem;
    margin-top: 12px;
}

.eyebrow {
    color: var(--purple);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.hero h1 {
    max-width: 650px;
    color: var(--purple-dark);
    font-size: clamp(3.2rem, 6.5vw, 6.6rem);
    line-height: 0.93;
    letter-spacing: -0.055em;
    margin-bottom: 27px;
}

.hero h1 span {
    display: block;
    color: var(--pink);
}

.hero-description {
    max-width: 590px;
    color: var(--muted);
    font-size: 1.12rem;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    min-height: 52px;
    padding: 0 25px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 850;
    transition: 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--purple);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(50, 21, 99, 0.18);
}

.button-primary:hover {
    background: var(--pink);
}

.button-light {
    background: rgba(255, 255, 255, 0.82);
    border: 2px solid rgba(50, 21, 99, 0.1);
    color: var(--purple);
}

.hero-photo {
    width: min(500px, 100%);
    margin-left: auto;
}

.photo-card {
    position: relative;
    padding: 17px 17px 66px;
    background: var(--white);
    transform: rotate(2deg);
    box-shadow: var(--shadow);
}

.photo-card img {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
}

.photo-label {
    position: absolute;
    left: 23px;
    bottom: 20px;
    color: var(--purple);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.splat {
    position: absolute;
    border-radius: 47% 53% 39% 61% / 55% 43% 57% 45%;
    opacity: 0.65;
}

.splat-pink {
    width: 230px;
    height: 160px;
    left: -65px;
    top: 25%;
    background: var(--pink-soft);
    transform: rotate(15deg);
}

.splat-teal {
    width: 220px;
    height: 220px;
    right: -35px;
    top: 8%;
    background: var(--teal-soft);
}

.splat-purple {
    width: 330px;
    height: 160px;
    right: 28%;
    bottom: -55px;
    background: var(--lavender);
    transform: rotate(-9deg);
}

/* ABOUT */

.about-section {
    padding: 115px 0 100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
}

.about-section h2,
.work-heading h2,
.process-heading h2,
.contact-copy h2 {
    color: var(--purple-dark);
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 0.97;
    letter-spacing: -0.05em;
}

.about-copy {
    max-width: 680px;
}

.about-copy p {
    color: var(--muted);
    margin-bottom: 20px;
}

.about-copy .lead {
    color: var(--ink);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.35;
    font-weight: 700;
}

.pink {
    color: var(--pink);
}

.teal {
    color: #008e88;
}

.orange {
    color: #cf6d00;
}

.cyan {
    color: var(--cyan);
}

/* SERVICES */

.services {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto 120px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.service-card {
    min-height: 240px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
}

.service-card:nth-child(1) {
    background: linear-gradient(145deg, #fff, var(--pink-soft));
}

.service-card:nth-child(2) {
    background: linear-gradient(145deg, #fff, var(--teal-soft));
}

.service-card:nth-child(3) {
    background: linear-gradient(145deg, #fff, var(--lavender));
}

.service-card:nth-child(4) {
    background: linear-gradient(145deg, #fff, var(--orange-soft));
}

.service-card > span {
    display: block;
    margin-bottom: 40px;
    color: var(--pink);
    font-weight: 900;
    font-size: 0.8rem;
}

.service-card h3 {
    color: var(--purple);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* WORK */

.work-section {
    padding: 115px 0;
    background:
        linear-gradient(
            180deg,
            rgba(238, 227, 255, 0.42),
            rgba(214, 251, 246, 0.42)
        );
}

.work-heading {
    max-width: 760px;
    margin-bottom: 65px;
}

.work-heading > p:last-child {
    max-width: 520px;
    color: var(--muted);
    margin-top: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.gallery-item {
    margin: 0;
}

.gallery-item:nth-child(1) {
    grid-column: 1 / span 7;
}

.gallery-item:nth-child(2) {
    grid-column: 8 / span 5;
    margin-top: 80px;
}

.gallery-item:nth-child(3) {
    grid-column: 2 / span 4;
    margin-top: 25px;
}

.gallery-item:nth-child(4) {
    grid-column: 6 / span 7;
    margin-top: -20px;
}

.gallery-item:nth-child(n + 5) {
    grid-column: span 4;
}

.gallery-item img {
    width: 100%;
    max-height: 720px;
    object-fit: cover;
    background: var(--white);
    padding: 12px;
    box-shadow: 0 20px 55px rgba(33, 16, 63, 0.13);
}

.gallery-item:nth-child(odd) img {
    transform: rotate(-1deg);
}

.gallery-item:nth-child(even) img {
    transform: rotate(1deg);
}

.gallery-item figcaption {
    color: var(--muted);
    padding: 12px 4px 0;
    font-size: 0.9rem;
}

/* PROCESS */

.process-section {
    padding: 120px 0;
}

.process-heading {
    max-width: 700px;
    margin-bottom: 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.process-card {
    min-height: 310px;
    padding: 34px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    border-radius: 34px;
}

.process-card:nth-child(1) {
    box-shadow: inset 0 8px 0 var(--pink);
}

.process-card:nth-child(2) {
    box-shadow: inset 0 8px 0 var(--teal);
}

.process-card:nth-child(3) {
    box-shadow: inset 0 8px 0 var(--orange);
}

.process-card > span {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    font-weight: 900;
}

.process-card h3 {
    color: var(--purple);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

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

/* CONTACT */

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background:
        radial-gradient(
            circle at 5% 20%,
            rgba(255, 60, 158, 0.22),
            transparent 30%
        ),
        radial-gradient(
            circle at 95% 80%,
            rgba(29, 218, 227, 0.22),
            transparent 32%
        ),
        var(--purple);
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.18) 0,
            rgba(255, 255, 255, 0.18) 1px,
            transparent 1px,
            transparent 11px
        );
}

.contact-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 80px;
    align-items: center;
}

.contact-copy {
    color: var(--white);
}

.contact-copy h2 {
    color: var(--white);
    margin-bottom: 28px;
}

.contact-copy h2 span {
    display: block;
    color: var(--pink);
}

.contact-copy > p {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.78);
}

.contact-card {
    padding: clamp(26px, 4vw, 48px);
    background: var(--white);
    border-radius: 34px;
    box-shadow: 0 28px 80px rgba(10, 5, 24, 0.34);
}

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--purple);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.form-field input,
.form-field textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 2px solid rgba(50, 21, 99, 0.1);
    border-radius: 16px;
    background: #fffafd;
    outline: none;
}

.form-field textarea {
    min-height: 160px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(255, 60, 158, 0.11);
}

.submit-button {
    width: 100%;
    min-height: 58px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--pink);
    color: var(--white);
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(255, 60, 158, 0.25);
}

.submit-button:hover {
    background: #e92f8d;
}

.success-message {
    padding: 16px 18px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: var(--teal-soft);
    color: #08645f;
    font-weight: 700;
}

.form-error {
    color: #b71c52;
    margin-top: 6px;
    font-size: 0.85rem;
}

.form-error ul {
    list-style: none;
}

/* FOOTER */

.site-footer {
    padding: 36px 0;
    background: #170b2e;
    color: rgba(255, 255, 255, 0.72);
}

.footer-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-shell > div {
    display: flex;
    flex-direction: column;
}

.footer-shell strong {
    color: var(--white);
    letter-spacing: 0.08em;
}

.footer-shell a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 800;
}

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 650ms ease,
        transform 650ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */

@media (max-width: 980px) {
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 60px;
    }

    .hero-photo {
        margin-inline: auto;
    }

    .about-grid {
        gap: 35px;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        min-height: auto;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(n) {
        grid-column: auto;
        margin-top: 0;
    }

    .contact-grid {
        gap: 55px;
    }
}

/* MOBILE */

@media (max-width: 720px) {
    .nav-shell {
        min-height: 66px;
    }

    .menu-button {
        display: block;
        min-width: 44px;
        min-height: 44px;
        padding: 0 12px;
        border: 0;
        border-radius: 999px;
        background: var(--purple);
        color: var(--white);
        font-size: 0.8rem;
        font-weight: 800;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 14px;
        right: 14px;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 20px;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 11px 14px;
    }

    .hero {
        padding-top: 55px;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(n) img {
        transform: none;
    }

    .section-shell,
    .services,
    .hero-grid,
    .nav-shell,
    .footer-shell {
        width: min(100% - 28px, 1180px);
    }

    .about-section,
    .work-section,
    .process-section,
    .contact-section {
        padding-top: 85px;
        padding-bottom: 85px;
    }

    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Remove the visible white box around the logo */
.brand-logo {
    background: transparent;
    mix-blend-mode: multiply;
}

.brand-logo {
    mix-blend-mode: normal;
    background: transparent;
}
