/* ==========================================================
   WHELHAUS
   DIGITAL STUDIO
========================================================== */


/* ----------------------------------------------------------
   RESET
---------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f7f3ec;
    color: #171614;
    line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}


/* ----------------------------------------------------------
   VARIABLES
---------------------------------------------------------- */

:root {
    --cream: #f7f3ec;
    --cream-light: #fbf8f2;
    --cream-dark: #ebe5dc;
    --black: #171614;
    --grey: #6c675f;
    --line: #d6cfc5;
    --copper: #9d4f2e;
    --copper-dark: #7c3c24;
    --dark-section: #1d1d1b;
    --serif: "Playfair Display", serif;
    --sans: "DM Sans", sans-serif;
}


/* ==========================================================
   HEADER
========================================================== */

.site-header {
    position: relative;
    z-index: 100;

    min-height: 100px;
    padding: 14px 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--cream);

    border-bottom: 1px solid rgba(23, 22, 20, 0.08);
}


/* ----------------------------------------------------------
   BRAND / LOGO
---------------------------------------------------------- */

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.header-logo {
    display: block;
    width: 185px;
    height: auto;
}


/* fallback text logo */

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
}

.brand-subtitle {
    margin-top: 7px;
    font-size: 0.75rem;
    line-height: 1;
    letter-spacing: 0.14em;
}


/* ----------------------------------------------------------
   NAVIGATION
---------------------------------------------------------- */

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;

    font-size: 0.9rem;
}

.main-nav a {
    transition:
        opacity 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.55;
}

.nav-button {
    padding: 12px 18px;
    border: 1px solid var(--black);
}

.menu-toggle {
    display: none;

    padding: 8px 0;

    background: none;
    border: none;

    color: var(--black);

    cursor: pointer;
}


/* ==========================================================
   GLOBAL ELEMENTS
========================================================== */

.eyebrow {
    margin-bottom: 24px;

    color: var(--copper);

    text-transform: uppercase;

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.18em;
}

.section-label {
    margin-bottom: 18px;

    font-size: 0.72rem;

    text-transform: uppercase;

    letter-spacing: 0.17em;
}

.light {
    color: #d6bda8;
}

.primary-button {
    display: inline-block;
    width: fit-content;

    margin-top: 34px;
    padding: 16px 28px;

    background: var(--copper);
    color: #ffffff;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.primary-button:hover {
    background: var(--copper-dark);
    transform: translateY(-2px);
}

.text-link {
    display: inline-block;
    width: fit-content;

    margin-top: 8px;

    text-decoration: underline;
    text-underline-offset: 5px;
}


/* ==========================================================
   HOME PAGE
========================================================== */


/* ----------------------------------------------------------
   HERO
---------------------------------------------------------- */

.hero {
    min-height: 690px;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.hero-content {
    padding: 72px 7% 60px 8%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    max-width: 800px;

    font-family: var(--serif);

    font-size: clamp(3.8rem, 6.5vw, 6.5rem);
    font-weight: 500;

    line-height: 0.96;
    letter-spacing: -0.045em;
}

.hero h1 em {
    color: var(--copper);
    font-weight: 500;
}

.hero-intro {
    max-width: 520px;

    margin-top: 34px;

    color: #47423d;

    font-size: 1.08rem;
    line-height: 1.65;
}


/* ----------------------------------------------------------
   BUILT IN WHELHAUS
---------------------------------------------------------- */

.built-in {
    margin-top: 58px;

    display: flex;
    align-items: center;
    gap: 20px;
}

.built-in span {
    width: 55px;
    height: 1px;

    background: var(--black);
}

.built-in p {
    font-size: 0.9rem;
}

.built-in strong {
    font-weight: 700;
}


/* ----------------------------------------------------------
   HERO IMAGE
---------------------------------------------------------- */

.hero-image {
    position: relative;

    min-height: 690px;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(20, 18, 15, 0.03),
            rgba(20, 18, 15, 0.10)
        ),
        url("../images/whelhaus-studio.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(247, 243, 236, 0.03) 0%,
            rgba(23, 22, 20, 0.01) 55%,
            rgba(23, 22, 20, 0.08) 100%
        );

    pointer-events: none;
}

.hero-overlay-text {
    position: absolute;
    z-index: 2;

    top: 110px;
    right: 12%;

    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.hero-overlay-text span {
    width: 1px;
    height: 115px;

    background: rgba(23, 22, 20, 0.45);
}

.hero-overlay-text p {
    max-width: 140px;

    color: rgba(23, 22, 20, 0.85);

    font-size: 0.68rem;
    font-weight: 500;

    line-height: 1.8;
    letter-spacing: 0.22em;
}


/* ----------------------------------------------------------
   HOME SERVICES
---------------------------------------------------------- */

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: var(--cream-light);

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service-card {
    min-height: 270px;

    padding: 52px 5%;

    border-right: 1px solid var(--line);

    transition: background 0.25s ease;
}

.service-card:last-child {
    border-right: none;
}

.service-card:hover {
    background: #f3eee5;
}

.service-number {
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    gap: 20px;

    color: var(--copper);

    font-size: 0.78rem;
}

.small-line {
    width: 48px;
    height: 1px;

    background: #7c776f;
}

.service-card h2 {
    margin-bottom: 12px;

    font-family: var(--serif);

    font-size: 2.1rem;
    font-weight: 500;
}

.service-card p {
    max-width: 320px;
    color: #49453f;
}

.service-card a {
    display: inline-block;

    margin-top: 20px;

    text-decoration: underline;
    text-underline-offset: 5px;
}


/* ----------------------------------------------------------
   HOME WORK
---------------------------------------------------------- */

.work-section {
    min-height: 620px;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    background: #f8f4ed;
}

.work-image {
    padding: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            rgba(18, 18, 16, 0.92),
            rgba(18, 18, 16, 0.96)
        ),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=90");

    background-size: cover;
    background-position: center;
}

.website-mockup {
    width: min(620px, 100%);

    overflow: hidden;

    background: #f4efe7;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 15px;

    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.mockup-header {
    height: 32px;

    padding: 0 14px;

    display: flex;
    align-items: center;
    gap: 7px;

    background: #ddd6cc;
}

.mockup-header span {
    width: 8px;
    height: 8px;

    background: #9d9389;

    border-radius: 50%;
}

.mockup-content {
    position: relative;

    min-height: 400px;

    padding: 48px;

    color: #ffffff;

    background:
        linear-gradient(
            rgba(16, 16, 14, 0.42),
            rgba(16, 16, 14, 0.58)
        ),
        url("https://images.unsplash.com/photo-1445205170230-053b83016050?auto=format&fit=crop&w=1400&q=90");

    background-size: cover;
    background-position: center 35%;
}

.mockup-logo {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.mockup-content h3 {
    max-width: 420px;

    margin-top: 92px;

    font-family: var(--serif);

    font-size: clamp(2rem, 3.2vw, 3.1rem);
    font-weight: 500;

    line-height: 1.02;
}

.mockup-content p {
    max-width: 340px;

    margin-top: 18px;

    font-size: 0.9rem;
}

.mockup-button {
    display: inline-block;

    margin-top: 24px;
    padding: 11px 17px;

    background: rgba(247, 243, 236, 0.94);
    color: var(--black);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.mockup-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.work-content {
    padding: 76px 9%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-content h2 {
    margin-bottom: 12px;

    font-size: clamp(2.6rem, 3.6vw, 4.1rem);

    line-height: 1;
    letter-spacing: -0.035em;
}

.work-meta {
    margin-bottom: 24px;
    color: #575149;
}

.work-content > p:not(.section-label):not(.work-meta) {
    max-width: 470px;
    color: #514d46;
}

.work-content > a {
    display: inline-block;
    width: fit-content;

    margin-top: 22px;

    text-decoration: underline;
    text-underline-offset: 5px;
}

.next-project {
    margin-top: 68px;
    padding-top: 30px;

    border-top: 1px solid var(--line);
}

.next-project h3 {
    margin-bottom: 6px;

    font-family: var(--serif);

    font-size: 1.9rem;
    font-weight: 500;
}

.next-project p:last-child {
    color: var(--grey);
}


/* ----------------------------------------------------------
   HOME APPROACH
---------------------------------------------------------- */

.approach {
    min-height: 390px;

    padding: 82px 6%;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    align-items: end;

    color: #ffffff;

    background:
        linear-gradient(
            rgba(20, 20, 18, 0.90),
            rgba(20, 20, 18, 0.94)
        ),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;
    background-position: center;
}

.approach h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;

    line-height: 1.05;
}

.approach h2 em {
    color: #c2764f;
}

.approach-copy {
    max-width: 430px;
    justify-self: end;
}

.approach-copy p {
    margin-bottom: 22px;
    color: #e0ded9;
}

.approach-copy a {
    color: #c7764f;

    text-decoration: underline;
    text-underline-offset: 5px;
}


/* ----------------------------------------------------------
   HOME CONTACT
---------------------------------------------------------- */

.contact {
    padding: 110px 8%;

    text-align: center;

    background: var(--cream-light);
}

.contact h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;

    line-height: 1.05;
}

.contact p:not(.section-label) {
    max-width: 560px;

    margin: 22px auto 0;

    color: var(--grey);
}


/* ==========================================================
   SERVICES PAGE
========================================================== */

.services-hero {
    padding: 110px 8% 120px;

    background: var(--cream);

    border-bottom: 1px solid var(--line);
}

.services-hero h1 {
    max-width: 1000px;

    font-family: var(--serif);

    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 500;

    line-height: 0.98;
    letter-spacing: -0.045em;
}

.services-hero h1 em {
    color: var(--copper);
    font-weight: 500;
}

.services-hero-intro {
    max-width: 600px;

    margin-top: 36px;

    color: var(--grey);

    font-size: 1.1rem;
    line-height: 1.7;
}

.services-hero-price {
    margin-top: 20px;

    color: var(--copper);

    font-size: 1rem;
    font-weight: 500;
}

.services-hero-price strong {
    color: var(--black);

    font-size: 1.08rem;
}


/* ==========================================================
   PRICING
========================================================== */

.pricing-section {
    padding: 110px 7%;

    background: var(--cream);

    border-bottom: 1px solid var(--line);
}

.pricing-intro {
    max-width: 900px;

    margin-bottom: 70px;
}

.pricing-intro h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 5vw, 5.2rem);
    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -0.03em;
}

.pricing-intro > p:not(.eyebrow) {
    max-width: 620px;

    margin-top: 24px;

    color: var(--grey);

    font-size: 1.05rem;

    line-height: 1.75;
}

.pricing-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.pricing-card {
    position: relative;

    min-height: 600px;

    padding: 42px;

    display: flex;
    flex-direction: column;

    background: var(--cream-light);

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pricing-card-featured {
    background: #eee8de;
}

.pricing-label {
    position: absolute;

    top: 18px;
    right: 20px;

    color: var(--copper);

    font-size: 0.68rem;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.14em;
}

.pricing-number {
    color: var(--copper);

    font-size: 0.75rem;

    letter-spacing: 0.15em;
}

.pricing-card h3 {
    margin-top: 28px;

    font-family: var(--serif);

    font-size: 2.2rem;
    font-weight: 500;

    line-height: 1.05;
}

.pricing-price {
    margin-top: 22px;

    color: #4f4a43;

    font-size: 1rem;
}

.pricing-price strong {
    display: inline-block;

    margin-left: 5px;

    color: var(--black);

    font-family: var(--serif);

    font-size: 2.3rem;
    font-weight: 500;
}

.pricing-summary {
    margin-top: 20px;

    color: #514d46;

    line-height: 1.7;
}

.pricing-card ul {
    margin-top: 28px;

    list-style: none;
}

.pricing-card li {
    padding: 11px 0;

    color: #514d46;

    border-bottom: 1px solid rgba(23, 22, 20, 0.10);
}

.pricing-card li::before {
    content: "—";

    margin-right: 12px;

    color: var(--copper);
}

.pricing-link {
    display: inline-block;

    width: fit-content;

    margin-top: auto;
    padding-top: 28px;

    text-decoration: underline;

    text-underline-offset: 5px;
}

.pricing-services {
    margin-top: 50px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.pricing-services article {
    padding: 42px;

    background: var(--cream-light);

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pricing-services h3 {
    margin-bottom: 12px;

    font-family: var(--serif);

    font-size: 2rem;
    font-weight: 500;
}

.pricing-small-price {
    margin-bottom: 18px;

    color: var(--copper);

    font-size: 1.1rem;
    font-weight: 600;
}

.pricing-services article > p:last-child {
    max-width: 540px;

    color: #514d46;

    line-height: 1.7;
}

.pricing-note {
    margin-top: 40px;

    padding-top: 30px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    border-top: 1px solid var(--line);
}

.pricing-note p {
    max-width: 620px;

    color: var(--grey);

    font-size: 0.92rem;

    line-height: 1.7;
}

.pricing-note strong {
    color: var(--black);
}


/* ==========================================================
   SERVICE DETAIL
========================================================== */

.service-detail {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;

    gap: 50px;

    padding: 100px 7%;

    background: var(--cream-light);

    border-bottom: 1px solid var(--line);
}

.service-detail-alt {
    background: #eee8de;
}

.service-detail-number {
    color: var(--copper);

    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

.service-detail-title h2 {
    max-width: 580px;

    font-family: var(--serif);

    font-size: clamp(2.8rem, 4vw, 4.7rem);
    font-weight: 500;

    line-height: 1.05;
    letter-spacing: -0.03em;
}

.service-detail-title h2 em {
    color: var(--copper);
}

.service-detail-copy {
    max-width: 570px;
}

.service-detail-copy > p {
    margin-bottom: 22px;

    color: #4f4a43;

    line-height: 1.75;
}

.service-detail-copy h3 {
    margin-top: 34px;
    margin-bottom: 16px;

    font-family: var(--serif);

    font-size: 1.5rem;
    font-weight: 500;
}

.service-detail-copy ul {
    list-style: none;
}

.service-detail-copy li {
    padding: 10px 0;

    border-bottom: 1px solid rgba(23, 22, 20, 0.12);
}

.service-detail-copy li::before {
    content: "—";

    margin-right: 12px;

    color: var(--copper);
}


/* ----------------------------------------------------------
   PROCESS
---------------------------------------------------------- */

.process-section {
    padding: 100px 7%;

    background: var(--dark-section);
    color: #ffffff;
}

.process-intro {
    max-width: 850px;
}

.process-intro h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;

    line-height: 1.05;
}

.process-grid {
    margin-top: 75px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.process-grid article {
    min-height: 260px;

    padding: 34px 28px;

    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.process-grid article:last-child {
    border-right: none;
}

.process-grid span {
    color: #c7764f;

    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.process-grid h3 {
    margin-top: 35px;

    font-family: var(--serif);

    font-size: 1.8rem;
    font-weight: 500;
}

.process-grid p {
    max-width: 280px;

    margin-top: 15px;

    color: #cac6bf;

    line-height: 1.7;
}

.services-cta {
    padding: 110px 8%;

    text-align: center;

    background: var(--cream-light);
}

.services-cta h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;

    line-height: 1.05;
}

.services-cta > p:not(.section-label) {
    max-width: 550px;

    margin: 22px auto 0;

    color: var(--grey);
}


/* ==========================================================
   WORK PAGE
========================================================== */

.work-hero {
    padding: 110px 8% 120px;

    background: var(--cream);

    border-bottom: 1px solid var(--line);
}

.work-hero h1 {
    max-width: 900px;

    font-family: var(--serif);

    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 500;

    line-height: 0.98;
    letter-spacing: -0.045em;
}

.work-hero h1 em {
    color: var(--copper);
    font-weight: 500;
}

.work-hero-intro {
    max-width: 620px;

    margin-top: 36px;

    color: var(--grey);

    font-size: 1.1rem;
    line-height: 1.7;
}

.featured-project {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    min-height: 680px;

    background: var(--cream-light);
}

.featured-project-visual {
    padding: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            rgba(17, 17, 15, 0.92),
            rgba(17, 17, 15, 0.96)
        ),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=90");

    background-size: cover;
    background-position: center;
}

.work-page-mockup {
    width: min(680px, 100%);
}

.work-page-mockup .mockup-content h2 {
    max-width: 430px;

    margin-top: 92px;

    font-family: var(--serif);

    font-size: clamp(2.2rem, 3.4vw, 3.3rem);
    font-weight: 500;

    line-height: 1.03;
}

.featured-project-copy {
    padding: 90px 9%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-project-copy h2 {
    margin-bottom: 12px;

    font-size: clamp(3rem, 4vw, 4.8rem);

    line-height: 1;
    letter-spacing: -0.035em;
}

.featured-project-copy >
p:not(.section-label):not(.work-meta) {
    max-width: 500px;

    margin-bottom: 20px;

    color: #514d46;

    line-height: 1.75;
}

.project-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: #efe9df;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.project-breakdown article {
    min-height: 300px;

    padding: 55px 5%;

    border-right: 1px solid var(--line);
}

.project-breakdown article:last-child {
    border-right: none;
}

.project-breakdown span {
    color: var(--copper);

    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

.project-breakdown h3 {
    margin-top: 28px;

    font-family: var(--serif);

    font-size: 2rem;
    font-weight: 500;
}

.project-breakdown p {
    max-width: 340px;

    margin-top: 16px;

    color: #514d46;

    line-height: 1.7;
}

.studio-projects {
    padding: 95px 7%;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 70px;

    align-items: end;

    background: var(--dark-section);
    color: #ffffff;
}

.studio-projects h2 {
    font-family: var(--serif);

    font-size: clamp(3.2rem, 5vw, 5.4rem);
    font-weight: 500;

    line-height: 1.04;
}

.studio-projects-copy {
    max-width: 500px;
    justify-self: end;
}

.studio-projects-copy p {
    margin-top: 16px;

    color: #d0ccc5;

    line-height: 1.75;
}

.work-cta {
    padding: 110px 8%;

    text-align: center;

    background: var(--cream-light);
}

.work-cta h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;

    line-height: 1.05;
}

.work-cta > p:not(.section-label) {
    max-width: 600px;

    margin: 22px auto 0;

    color: var(--grey);
}


/* ==========================================================
   JACK DUNNE CASE STUDY
========================================================== */

.case-hero {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    min-height: 720px;

    background: var(--cream);
}

.case-hero-copy {
    padding: 95px 8%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-hero-copy h1 {
    font-size: clamp(4.5rem, 8vw, 8rem);

    line-height: 0.86;
    letter-spacing: -0.055em;
}

.case-meta {
    margin-top: 30px;
    color: #5b554e;
}

.case-intro {
    max-width: 560px;

    margin-top: 30px;

    color: #514d46;

    font-size: 1.05rem;
    line-height: 1.75;
}

.case-hero-visual {
    padding: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            rgba(16, 16, 14, 0.90),
            rgba(16, 16, 14, 0.95)
        ),
        url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1600&q=90");

    background-size: cover;
    background-position: center;
}

.case-study-mockup {
    width: min(700px, 100%);
}

.case-overview {
    padding: 100px 7%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;

    background: var(--cream-light);

    border-bottom: 1px solid var(--line);
}

.case-overview h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 4.5vw, 5rem);
    font-weight: 500;

    line-height: 1.06;
}

.case-overview-copy {
    max-width: 560px;
    justify-self: end;
}

.case-overview-copy p {
    margin-bottom: 22px;

    color: #514d46;

    line-height: 1.8;
}

.case-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #eee8de;
}

.case-columns article {
    padding: 85px 7%;

    border-right: 1px solid var(--line);
}

.case-columns article:last-child {
    border-right: none;
}

.case-columns h3 {
    max-width: 550px;

    margin-bottom: 24px;

    font-family: var(--serif);

    font-size: clamp(2.4rem, 3.5vw, 3.8rem);
    font-weight: 500;

    line-height: 1.08;
}

.case-columns p:not(.section-label) {
    max-width: 520px;

    margin-bottom: 18px;

    color: #514d46;

    line-height: 1.75;
}

.case-services {
    padding: 95px 7%;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    background: var(--dark-section);
    color: #ffffff;
}

.case-services h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;

    line-height: 1.05;
}

.case-services-list {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.case-services-list div {
    padding: 20px 0;

    display: grid;
    grid-template-columns: 70px 1fr;

    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.case-services-list span {
    color: #c7764f;
    font-size: 0.75rem;
}

.case-services-list p {
    color: #e7e2da;
}

.case-outcome {
    padding: 120px 8%;

    text-align: center;

    background: var(--cream-light);
}

.case-outcome h2 {
    font-family: var(--serif);

    font-size: clamp(3.2rem, 5vw, 5.2rem);
    font-weight: 500;

    line-height: 1.05;
}

.case-outcome > p:not(.section-label) {
    max-width: 680px;

    margin: 26px auto 0;

    color: var(--grey);

    line-height: 1.8;
}

.case-next {
    padding: 100px 8%;

    background: var(--dark-section);
    color: #ffffff;

    text-align: center;
}

.case-next h2 {
    font-family: var(--serif);

    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 500;

    line-height: 1;
}

.case-next > p:not(.section-label) {
    max-width: 620px;

    margin: 24px auto 0;

    color: #d0ccc5;
}


/* ==========================================================
   STUDIO PAGE
========================================================== */

.studio-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    min-height: 720px;

    background: var(--cream);
}

.studio-hero-copy {
    padding: 95px 8%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.studio-hero h1 {
    max-width: 900px;

    font-family: var(--serif);

    font-size: clamp(3.8rem, 6vw, 6.5rem);
    font-weight: 500;

    line-height: 0.98;
    letter-spacing: -0.045em;
}

.studio-hero h1 em {
    color: var(--copper);
    font-weight: 500;
}

.studio-hero-intro {
    max-width: 580px;

    margin-top: 34px;

    color: #514d46;

    font-size: 1.08rem;
    line-height: 1.75;
}

.studio-hero-image {
    position: relative;

    min-height: 720px;

    background:
        linear-gradient(
            rgba(21, 19, 16, 0.12),
            rgba(21, 19, 16, 0.22)
        ),
        url("../images/whelhaus-studio.jpg");

    background-size: cover;
    background-position: center;
}

.studio-image-note {
    position: absolute;

    top: 110px;
    right: 12%;

    display: flex;
    gap: 20px;
}

.studio-image-note span {
    width: 1px;
    height: 115px;

    background: rgba(23, 22, 20, 0.45);
}

.studio-image-note p {
    color: rgba(23, 22, 20, 0.86);

    font-size: 0.68rem;
    font-weight: 500;

    line-height: 1.8;
    letter-spacing: 0.22em;
}

.studio-belief {
    padding: 100px 7%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;

    background: var(--cream-light);

    border-bottom: 1px solid var(--line);
}

.studio-belief h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 4.5vw, 5rem);
    font-weight: 500;

    line-height: 1.06;
}

.studio-belief-copy {
    max-width: 570px;
    justify-self: end;
}

.studio-belief-copy p {
    margin-bottom: 22px;

    color: #514d46;

    line-height: 1.8;
}

.studio-principles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: #eee8de;

    border-bottom: 1px solid var(--line);
}

.studio-principles article {
    min-height: 320px;

    padding: 55px 4%;

    border-right: 1px solid var(--line);
}

.studio-principles article:last-child {
    border-right: none;
}

.studio-principles span {
    color: var(--copper);

    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

.studio-principles h3 {
    margin-top: 32px;

    font-family: var(--serif);

    font-size: 2rem;
    font-weight: 500;
}

.studio-principles p {
    max-width: 300px;

    margin-top: 16px;

    color: #514d46;

    line-height: 1.7;
}

.why-whelhaus {
    padding: 100px 7%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;

    background: var(--dark-section);
    color: #ffffff;
}

.why-whelhaus h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;

    line-height: 1.05;
}

.why-whelhaus-copy {
    max-width: 580px;
    justify-self: end;
}

.why-whelhaus-copy p {
    margin-bottom: 22px;

    color: #d0ccc5;

    line-height: 1.8;
}

.built-in-section {
    padding: 120px 8%;

    text-align: center;

    background: var(--cream-light);
}

.built-in-section h2 {
    font-family: var(--serif);

    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 500;

    line-height: 0.95;
}

.built-in-section h2 em {
    color: var(--copper);
}

.built-in-section > p:not(.section-label) {
    max-width: 620px;

    margin: 26px auto 0;

    color: var(--grey);

    line-height: 1.8;
}

.studio-cta {
    padding: 100px 8%;

    text-align: center;

    background: var(--dark-section);
    color: #ffffff;
}

.studio-cta h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;

    line-height: 1.05;
}

.studio-cta > p:not(.section-label) {
    max-width: 620px;

    margin: 22px auto 0;

    color: #d0ccc5;
}


/* ==========================================================
   CONTACT PAGE
========================================================== */

.contact-hero {
    padding: 110px 8% 120px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 80px;

    align-items: end;

    background: var(--cream);

    border-bottom: 1px solid var(--line);
}

.contact-hero h1 {
    max-width: 900px;

    font-family: var(--serif);

    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 500;

    line-height: 0.98;
    letter-spacing: -0.045em;
}

.contact-hero h1 em {
    color: var(--copper);
    font-weight: 500;
}

.contact-hero-copy {
    max-width: 560px;
    justify-self: end;
}

.contact-hero-copy p {
    margin-top: 20px;

    color: #514d46;

    line-height: 1.8;
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;

    background: var(--cream-light);

    border-bottom: 1px solid var(--line);
}

.contact-options article {
    min-height: 330px;

    padding: 65px 7%;

    border-right: 1px solid var(--line);
}

.contact-options article:last-child {
    border-right: none;
}

.contact-options h2 {
    margin-bottom: 16px;

    font-family: var(--serif);

    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 500;

    line-height: 1.05;
}

.contact-options p:not(.section-label) {
    max-width: 440px;

    color: #514d46;

    line-height: 1.75;
}

.contact-options .text-link {
    margin-top: 24px;
}

.project-form-section {
    padding: 95px 7%;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    gap: 90px;

    background: var(--dark-section);
    color: #ffffff;
}

.project-form-intro h2 {
    font-family: var(--serif);

    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;

    line-height: 1.05;
}

.project-form-intro > p:not(.section-label) {
    max-width: 440px;

    margin-top: 24px;

    color: #cbc7c0;

    line-height: 1.75;
}

.project-form {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: #d5d0c8;

    font-size: 0.78rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 14px 0;

    background: transparent;
    color: #ffffff;

    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0;

    outline: none;

    font-family: var(--sans);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--copper);
}

.form-group select {
    color: #ffffff;
}

.form-group select option {
    color: #171614;
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
}

.form-button {
    border: none;
    cursor: pointer;
}

.form-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.form-honeypot {
    position: absolute;
    left: -10000px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

.form-privacy {
    margin-top: -10px;

    color: #bdb8b0;

    font-size: 0.82rem;
    line-height: 1.65;
}

.form-privacy a {
    color: #ffffff;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-status {
    min-height: 1.6em;
    margin: -8px 0 0;

    color: #d5d0c8;

    line-height: 1.6;

    outline: none;
}

.form-status.is-success {
    color: #e8e3da;
}

.form-status.is-error {
    color: #f2b8b0;
}

.form-status.is-sending {
    color: #d5d0c8;
}

.contact-note {
    padding: 100px 7%;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

    background: var(--cream-light);
}

.contact-note h2 {
    font-family: var(--serif);

    font-size: clamp(3.5rem, 5vw, 5.5rem);
    font-weight: 500;

    line-height: 1;
}

.contact-note-copy {
    max-width: 620px;
    justify-self: end;
}

.contact-note-copy p {
    margin-bottom: 22px;

    color: #514d46;

    line-height: 1.8;
}


/* ==========================================================
   LEGAL PAGES
========================================================== */

.legal-page {
    background: var(--cream-light);
}

.legal-page-header {
    padding: 100px 8% 70px;

    background: var(--cream);

    border-bottom: 1px solid var(--line);
}

.legal-page-header h1 {
    font-family: var(--serif);

    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 500;

    line-height: 1;
    letter-spacing: -0.04em;
}

.legal-updated {
    margin-top: 22px;

    color: var(--grey);

    font-size: 0.9rem;
}

.legal-content {
    width: min(820px, 86%);

    margin: 0 auto;

    padding: 80px 0 110px;
}

.legal-content > p {
    margin-bottom: 24px;

    color: #514d46;

    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 52px;
    margin-bottom: 18px;

    font-family: var(--serif);

    font-size: 2rem;
    font-weight: 500;

    line-height: 1.2;
}

.legal-content ul {
    margin: 0 0 28px 22px;
}

.legal-content li {
    margin-bottom: 9px;
    color: #514d46;
}

.legal-content a {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
    padding: 48px 5%;

    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;

    align-items: center;
    gap: 50px;

    background: var(--cream);

    border-top: 1px solid var(--line);
}

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

.footer-logo-link {
    display: inline-block;
    width: 180px;
}

.footer-logo {
    display: block;

    width: 180px !important;
    max-width: 180px !important;
    height: auto !important;
}

.footer-tagline {
    margin-top: 10px;

    color: var(--grey);

    font-size: 0.72rem;

    letter-spacing: 0.04em;
}

.footer-nav {
    display: flex;
    align-items: center;

    gap: 26px;

    font-size: 0.82rem;
}

.footer-nav a {
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 0.5;
}

.footer-legal {
    display: flex;
    align-items: center;

    gap: 20px;

    color: var(--grey);

    font-size: 0.72rem;
}

.footer-legal a {
    transition:
        opacity 0.2s ease,
        color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--black);
    opacity: 0.65;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    .hero {
        grid-template-columns: 1fr 0.9fr;
    }

    .work-section {
        grid-template-columns: 1fr 0.9fr;
    }

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

    .studio-principles article:nth-child(2) {
        border-right: none;
    }

}


/* ==========================================================
   SMALL TABLET
========================================================== */

@media (max-width: 950px) {

    .site-header {
        min-height: 90px;
    }

    .header-logo {
        width: 170px;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        position: absolute;

        top: 90px;
        left: 0;
        right: 0;

        z-index: 100;

        padding: 30px 5%;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        background: var(--cream);

        border-bottom: 1px solid var(--line);
    }

    .menu-toggle {
        display: block;
    }

    .hero,
    .work-section,
    .featured-project,
    .case-hero,
    .studio-hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        min-height: 620px;
    }

    .hero-image,
    .case-hero-visual,
    .studio-hero-image {
        min-height: 520px;
    }

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

    .service-card {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .service-card:last-child {
        border-bottom: none;
    }

    .approach,
    .case-overview,
    .case-services,
    .studio-belief,
    .why-whelhaus,
    .studio-projects,
    .contact-hero,
    .project-form-section,
    .contact-note {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .approach-copy,
    .case-overview-copy,
    .why-whelhaus-copy,
    .studio-belief-copy,
    .studio-projects-copy,
    .contact-hero-copy,
    .contact-note-copy {
        justify-self: start;
    }

    .service-detail {
        grid-template-columns: 60px 1fr;
        gap: 30px;
    }

    .service-detail-copy {
        grid-column: 2;
    }

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

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

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

    .pricing-link {
        margin-top: 30px;
    }

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

    .pricing-note {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-breakdown,
    .case-columns,
    .contact-options {
        grid-template-columns: 1fr;
    }

    .project-breakdown article,
    .case-columns article,
    .contact-options article {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .studio-principles {
        grid-template-columns: 1fr;
    }

    .studio-principles article {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 26px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    .site-header {
        min-height: 80px;
        padding: 12px 6%;
    }

    .header-logo {
        width: 150px;
        height: auto;
    }

    .main-nav.active {
        top: 80px;
    }

    .hero-content,
    .case-hero-copy,
    .studio-hero-copy {
        padding: 58px 7%;
    }

    .hero h1,
    .services-hero h1,
    .work-hero h1,
    .studio-hero h1,
    .contact-hero h1 {
        font-size: 3.55rem;
    }

    .case-hero-copy h1 {
        font-size: 4.2rem;
    }

    .hero-image,
    .case-hero-visual,
    .studio-hero-image {
        min-height: 430px;
    }

    .hero-overlay-text,
    .studio-image-note {
        top: 55px;
        right: 8%;
    }

    .hero-overlay-text span,
    .studio-image-note span {
        height: 100px;
    }

    .hero-overlay-text p,
    .studio-image-note p {
        font-size: 0.62rem;
    }

    .service-card {
        padding: 40px 7%;
    }

    .work-image,
    .featured-project-visual,
    .case-hero-visual {
        min-height: 460px;
        padding: 42px 20px;
    }

    .mockup-content {
        min-height: 360px;
        padding: 30px;
    }

    .mockup-content h3 {
        margin-top: 70px;
        font-size: 2rem;
    }

    .work-content,
    .featured-project-copy {
        padding: 58px 7%;
    }

    .approach,
    .process-section,
    .studio-projects,
    .case-services,
    .why-whelhaus,
    .project-form-section {
        padding: 64px 7%;
    }

    .contact,
    .services-cta,
    .work-cta,
    .case-outcome,
    .case-next,
    .built-in-section,
    .studio-cta {
        padding: 80px 7%;
    }

    .services-hero,
    .work-hero,
    .contact-hero {
        padding: 65px 7% 75px;
    }

    .pricing-section {
        padding: 75px 7%;
    }

    .pricing-intro {
        margin-bottom: 50px;
    }

    .pricing-intro h2 {
        font-size: 3rem;
    }

    .pricing-card,
    .pricing-services article {
        padding: 32px 26px;
    }

    .pricing-card h3 {
        font-size: 2rem;
    }

    .pricing-price strong {
        font-size: 2rem;
    }

    .service-detail,
    .case-overview,
    .studio-belief,
    .contact-note {
        grid-template-columns: 1fr;
        padding: 70px 7%;
    }

    .service-detail-copy {
        grid-column: auto;
    }

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

    .project-breakdown article,
    .case-columns article,
    .studio-principles article,
    .contact-options article {
        padding: 45px 7%;
    }

    .project-form {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: auto;
    }

    .legal-page-header {
        padding: 65px 7% 55px;
    }

    .legal-page-header h1 {
        font-size: 3.3rem;
    }

    .legal-content {
        width: 86%;
        padding: 60px 0 80px;
    }

    .legal-content h2 {
        margin-top: 42px;
        font-size: 1.7rem;
    }

    .site-footer {
        padding: 40px 7%;
    }

    .footer-logo-link {
        width: 155px;
    }

    .footer-logo {
        width: 155px !important;
        max-width: 155px !important;
    }

    .footer-nav,
    .footer-legal {
        flex-wrap: wrap;
    }

    .footer-tagline {
        font-size: 0.68rem;
    }

}

/* ==========================================================
   MOBILE HEADER REFINEMENT
========================================================== */

@media (max-width: 600px) {

    .site-header {
        width: 100%;
        min-height: 78px;

        padding: 10px 20px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        overflow: visible;
    }

    .brand,
    .brand-logo {
        flex: 0 1 auto;
        min-width: 0;
    }

    .header-logo {
        width: 125px;
        max-width: 125px;
        height: auto;
    }

    .menu-toggle {
        display: block;

        flex: 0 0 auto;

        margin-left: 20px;
        padding: 10px 0;

        background: transparent;
        border: 0;

        color: var(--black);

        font-size: 0.95rem;
        line-height: 1;

        cursor: pointer;
    }

}

/* ==========================================================
   404 PAGE
========================================================== */

.error-page {
    min-height: 680px;

    padding: 110px 8%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: var(--cream);
}

.error-page h1 {
    max-width: 900px;

    font-family: var(--serif);

    font-size: clamp(4rem, 8vw, 7.5rem);

    font-weight: 500;

    line-height: 0.95;

    letter-spacing: -0.045em;
}

.error-page h1 em {
    color: var(--copper);

    font-weight: 500;
}

.error-intro {
    max-width: 560px;

    margin-top: 30px;

    color: var(--grey);

    font-size: 1.08rem;

    line-height: 1.75;
}

.error-actions {
    margin-top: 8px;

    display: flex;

    align-items: center;

    gap: 28px;

    flex-wrap: wrap;
}

.error-secondary-link {
    margin-top: 34px;

    text-decoration: underline;

    text-underline-offset: 5px;
}

.error-signature {
    margin-top: 65px;

    display: flex;

    align-items: center;

    gap: 20px;
}

.error-signature span {
    width: 55px;

    height: 1px;

    background: var(--black);
}

.error-signature p {
    font-size: 0.9rem;
}

@media (max-width: 600px) {

    .error-page {
        min-height: 620px;

        padding: 80px 7%;
    }

    .error-page h1 {
        font-size: 3.8rem;
    }

    .error-actions {
        align-items: flex-start;

        flex-direction: column;

        gap: 0;
    }

    .error-secondary-link {
        margin-top: 22px;
    }

}
