:root {
    --color-black: #000000;
    --color-dark: #1A1A1A;
    --color-mid: #404040;
    --color-muted: #606060;
    --color-light: #929292;
    --color-border: #CACACA;

    --color-primary: #81471a;
    --color-secondary: #C99F7F;
    --color-highlight: #D7C0B2;

    --bg-lightest: #FBFBFB;
    --bg-default: #F5F2EE;
    --bg-alt: #F0EBE8;
    --bg-inset: #FFFFFF;
    --bg-dark: #26221E;
}

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

html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-dark);
    background-color: var(--bg-default);
    font-family: "Geist", sans-serif;
    overflow-x: hidden;
}

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

::selection {
    background-color: #0000000e;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 95vh;
    padding-left: 4rem;
    padding-right: 1rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-right: 2rem;
}

/* Header inside hero left */
.hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2.5rem
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    color: var(--color-primary);
}

.brand h1 {
    font-family: "Rufina", serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--color-primary);
}

.brand p {
    font-size: 0.65rem;
    color: var(--color-black);
    font-weight: 300;
    letter-spacing: 0.2px;
}

.header-nav {
    display: flex;
    gap: 1.5rem;
}

.header-nav a {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--color-primary);
}

.hero-content {
    padding: 2rem 0;
    padding-left: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    height: 100%;
}

.hero-content h2 {
    font-family: "Kalnia", serif;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -1px;
    color: var(--color-black);
    font-size: 4rem;
}

.hero-content h2 span {
    color: var(--color-primary);
}

.hero-content p {
    font-family: "Rufina", serif;
    font-size: 1.15rem;
    line-height: 1.6;
}

.hero-content p i {
    color: var(--color-primary);
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.info-item .label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    font-weight: 600;
}

.info-item .value {
    font-size: 0.9rem;
    color: var(--color-dark);
    font-weight: 500;
}

.view-work {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.2s ease;
    width: fit-content;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-primary);
}

.view-work:hover {
    transform: translateX(5px);
}

/* Hero Right Side */
.hero-right {
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
}

.header-cta {
    position: absolute;
    top: 2.5rem;
    right: 4rem;
    background-color: var(--color-dark);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: background-color 0.3s ease;
}

.header-cta:hover {
    background-color: var(--color-primary);
}

.hero-images {
    display: flex;
    flex: 1;
}

.hero-main-image {
    width: 45%;
    height: calc(100vh - 8rem);
    object-fit: cover;
    background-color: #000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.hero-illustration {
    width: 55%;
    height: 100%;
    margin-top: 12%;
    object-fit: contain;
}

/* Hero Footer */
.hero-footer {
    background-color: #2a2522;
    padding: 3rem 4rem;
    text-align: center;
}

.footer-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a89f98;
    margin-bottom: 1.5rem;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: "Rufina", serif;
    font-size: 1.7rem;
    color: #c9bfb6;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* Testimonial Section */
.testimonial {
    width: 100%;
    padding: 0 10%;
    display: flex;
    justify-content: center;
    gap: 10%;
}

.testimonial div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0;
    position: relative;
    font-family: "Nyght Serif", serif;
}

.quote {
    max-width: 350px;
    font-size: 2rem;
    text-align: center;
    line-height: 1.4;
    position: relative;
}

.quote::first-letter {
    font-size: 4rem;
    line-height: 1;
    font-style: italic;
    font-family: "Imperial Script", "Nyght Serif", serif;
    margin-right: 0.2rem;
}

.author {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--color-light);
}

/* Case Study Section */
.case {
    width: 100%;
    min-height: 100vh;
    padding: 0 5%;
    display: flex;
    background-color: var(--bg-alt);
    align-items: flex-start;
}

.case .left {
    width: 40%;
    padding: 5% 0;
    padding-right: 5%;
    position: sticky;
    top: 0;
    align-self: flex-start;
}

.case .left .description {
    margin-bottom: 10%;
}

.case .left .description h2 {
    font-weight: 400;
    font-size: 3em;
    font-family: "Nyght Serif", serif;
    margin-bottom: 8%;
    line-height: 1;
}

.case .left .description p {
    font-family: "Geist", serif;
    font-size: 1em;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--color-muted);
}

.case .left .review {
    margin-bottom: 2rem;
    font-family: "Rufina", serif;
}

.case .left .review p {
    font-size: 1.3em;
    line-height: 1.3;
    position: relative;
    color: var(--color-black);
}

.case .left .review p::before {
    content: '"';
    position: absolute;
    font-size: 13rem;
    color: var(--color-highlight);
    z-index: -1;
    top: -4rem;
    left: -1rem;
    font-family: "Nyght Serif", serif;
}

.case .left .review cite {
    display: block;
    text-align: right;
    margin-top: 0.5rem;
    margin-bottom: 10%;
    color: var(--color-light);
    font-weight: 600;
}

.case .cta {
    font-weight: 400;
    font-size: 2.5em;
    font-family: "Nyght Serif", serif;
    text-decoration: underline;
    text-underline-offset: 10px;
}

.case .right {
    padding: 5% 0;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case .right img {
    width: 100%;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    aspect-ratio: 458 / 275;
}

.case .cta.mobile {
    display: none;
}

/* Contact Section */
.contact {
    background-color: var(--bg-default);
    padding: 5% 8%;
    font-family: "Geist", sans-serif;
    display: flex;
    gap: 5%;
    min-height: 100vh;
}

.contact .left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2%;
}

.contact .left h2 {
    font-weight: 400;
    font-size: 3em;
    font-family: "Nyght Serif", serif;
    margin-bottom: 3%;
}

.contact .left h2 b {
    font-size: 6rem;
    font-style: italic;
    font-family: "Imperial Script", "Nyght Serif", serif;
    margin-right: 0.2rem;
    font-weight: 400;
}

.contact .left p {
    font-size: 1.1em;
    line-height: 1.5;
    color: var(--color-muted);
    margin-bottom: 3%;
    width: 90%;
}

.contact .left p a {
    color: var(--color-primary);
}

.contact .left h3 {
    font-size: 3.5em;
    font-weight: 200;
    letter-spacing: -1px;
    width: 80%;
    color: var(--color-mid);
    line-height: 1.3;
}

.contact .left h3 i {
    font-family: "Nyght Serif", serif;
}

.contact-inner {
    width: 50%;
    margin: auto;
}

.contact-form {
    display: grid;
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    font-size: 1em;
    margin-bottom: 1rem;
    background-color: var(--bg-default);
    font-family: "Geist", sans-serif;
}

.contact-form button {
    padding: 0.75rem 1.5rem;
    font-size: 1em;
    background-color: var(--color-primary);
    color: var(--bg-inset);
    border: none;
    cursor: pointer;
}

.contact-form #form-status {
    margin-top: 0.5rem;
    color: var(--color-muted);
}

/* Footer */
footer {
    width: 100%;
    padding: 3%;
    text-align: center;
    font-family: "Geist", sans-serif;
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* Animation Classes */
.animate {
    opacity: 0;
    transform: translateY(2rem);
}

.animate.active {
    animation: 0.5s effect ease-out forwards;
}

@keyframes effect {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    /* Hero Section Mobile */
    .hero {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        min-height: auto;
    }

    .hero-left {
        padding-right: 0;
    }

    .hero-header {
        padding-top: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .header-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .header-nav a {
        font-size: 0.65rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .brand h1 {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1.5rem 0;
        padding-left: 0;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Hero Right Mobile */
    .hero-right {
        padding-left: 0;
        order: 1;
    }

    .header-cta {
        position: static;
        align-self: flex-end;
        margin-bottom: 1rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.65rem;
    }

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

    .hero-main-image {
        width: 100%;
        aspect-ratio: 3/4;
        height: auto;
        border-radius: 1rem;
    }

    .hero-illustration {
        width: 100%;
        height: auto;
        margin-top: 1rem;
    }

    /* Hero Info Mobile */
    .hero-info {
        margin-bottom: 1rem;
    }

    .view-work {
        font-size: 0.8rem;
    }

    /* Hero Footer Mobile */
    .hero-footer {
        padding: 2rem 1.5rem;
    }

    .footer-tagline {
        font-size: 0.6rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }

    .footer-logos {
        gap: 2rem;
    }

    .footer-logo {
        font-size: 1.2rem;
    }

    .testimonial {
        padding: 5% 10%;
        flex-direction: column;
        gap: 0;
    }

    .testimonial div {
        margin: 2rem 0;
    }

    .quote {
        font-size: 1.7rem;
    }

    .quote::first-letter {
        font-size: 3rem;
    }

    .author {
        margin-top: 0.5rem;
        font-size: 0.8rem;
    }

    .case {
        flex-direction: column;
        padding: 5% 8%;
        font-size: 0.9rem;
    }

    .case .left {
        width: 100%;
        padding: 5% 0;
        position: relative;
    }

    .case .right {
        width: 100%;
        padding: 0;
    }

    .case .right img {
        margin-bottom: 1rem;
    }

    .case .cta {
        display: none;
    }

    .case .cta.mobile {
        display: block;
        margin: 5% 0;
    }

    .contact {
        flex-direction: column;
        padding: 8%;
        font-size: 0.8em;
    }

    .contact .left {
        width: 100%;
        text-align: center;
        padding-bottom: 5%;
        align-items: center;
        gap: 0.5rem;
    }

    .contact .left h3 {
        font-size: 2rem;
        font-weight: 100;
        margin-bottom: 1rem;
    }

    .contact .left h2 b {
        font-size: 4rem;
        margin-right: 0.1rem;
    }

    .contact-inner {
        width: 100%;
    }

    footer {
        font-size: 0.7rem;
        padding: 5% 3%;
        padding-bottom: 8%;
    }

}
