/* ================================
   GLOBAL
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    container-type: inline-size;
}

body {
    font-family: "Manrope", sans-serif;
    background-color: #f7f5ef;
    color: #0b2638;
    overflow-x: clip;
}

h1,
h2,
h3,
.eyebrow,
.section-label,
.digital-label {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
    widows: 2;
    orphans: 2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* ================================
   SECTION DIVIDERS
================================ */

.case-intro,
.brand-section,
.applications-section,
.website-section,
.outcome-section,
.final-cta {
    border-top: 1px solid #e2e0da;
}

.outcome-section + .final-cta {
    border-top: none;
}


/* ================================
   NAVIGATION
================================ */

header {
    width: 100%;
    border-bottom: 1px solid #d6d2c9;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #f7f5ef;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
}

.logo {
    display: block;
}

.logo img {
    width: 250px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-links a:hover {
    color: #5f6b73;
}

.desktop-language-selector {
    flex: 0 0 128px;
    min-width: 0;
    margin-left: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-menu {
    position: relative;
}

.language-trigger {
    min-width: 112px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0b2638;
    cursor: pointer;
    border: 0;
    background: transparent;
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.language-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.language-chevron {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-left: 1px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.language-menu.is-open .language-chevron {
    transform: translateY(-2px) rotate(225deg);
}

.language-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    width: 150px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -7px);
    background-color: #fff;
    border: 1px solid #e2e0da;
    box-shadow: 0 14px 32px rgba(11, 38, 56, 0.1);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.language-menu.is-open .language-options {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

.language-option {
    min-height: 40px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    color: #0b2638;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
}

a.language-option:hover {
    background-color: #f1efe9;
}

.language-option.is-current {
    color: #7c858b;
}

.language-trigger:focus-visible,
.language-option:focus-visible {
    outline: 2px solid #123b55;
    outline-offset: 3px;
}

.mobile-language-switch {
    display: none;
}

.nav-links a:focus-visible,
.nav-cta:focus-visible,
.hamburger:focus-visible {
    outline: 2px solid #123b55;
    outline-offset: 4px;
}


.nav-cta {
    background-color: #0b2638;
    color: #f7f5ef;

    padding: 13px 22px;
    border-radius: 3px;

    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;

    margin-left: 32px;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.nav-cta:hover {
    background-color: #0d2f44;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
}


/* ================================
   CASE STUDY HERO
================================ */

.case-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 80px;

    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    gap: 80px;

    align-items: end;

    position: relative;
    overflow: hidden;
}

.case-hero::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    right: 180px;
    top: 50%;

    transform: translateY(-50%);

    background-image: url("images/Logos/GreenPath_Logo_System_Mark.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.05;

    pointer-events: none;
}

.case-hero-content,
.case-hero-meta {
    position: relative;
    z-index: 1;
}

.case-hero-content {
    max-width: 850px;
}

.case-hero-logo {
    max-width: 1000px;
    margin-left: -42px;
    margin-bottom: 36px;
}

.case-hero-logo img {
    width: 100%;
    height: auto;
}

.case-hero-logo .hero-logo-horizontal {
    display: block;
}

.case-hero-logo .hero-logo-stacked {
    display: none;
}

.eyebrow {
    margin-bottom: 20px;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.case-hero-description {
    max-width: 650px;

    font-size: 1.15rem;
    line-height: 1.7;
}

.case-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 28px;

    padding-bottom: 8px;
}

.case-hero-meta span {
    display: block;

    margin-bottom: 6px;

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #5f6b73;
}

.case-hero-meta p {
    font-size: 0.9rem;
    line-height: 1.5;
}


/* ================================
   HERO IMAGE
================================ */

.case-hero-image {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto 120px;

    overflow: hidden;

    background-color: #e2e0da;

    border: 2px solid #d6d2c9;
    border-radius: 6px;
}

.case-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* ================================
   GREENPATH HEADING COLOR
================================ */

.case-intro-content h2,
.brand-section .section-heading h2,
.applications-section .section-heading h2,
.website-section .section-heading h2,
.outcome-section h2 {
    color: #1B3A2E;
}


/* ================================
   GREENPATH SECONDARY HEADING COLOR
================================ */

.case-intro-content h2 em,
.brand-section .section-heading h2 em,
.applications-section .section-heading h2 em,
.website-section .section-heading h2 em,
.outcome-section h2 em {
    color: #5A7C59;
}


/* ================================
   PROJECT INTRO
================================ */

.case-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 40px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #5f6b73;
}

.case-intro-content {
    max-width: 800px;
    margin-top: 36px;
}

.case-intro-content h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
}

.case-intro-content h2 em {
    font-style: italic;
}

.case-intro-content p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;

    font-size: 1.05rem;
    line-height: 1.7;

    color: #242a30;
}

.case-intro-content p:last-child {
    margin-bottom: 0;
}


/* ================================
   BRAND IDENTITY
================================ */

.brand-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
}

.brand-section .section-heading {
    max-width: 750px;
    margin-top: 48px;
}

.brand-section .section-heading h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.brand-section .section-heading h2 em {
    font-style: italic;
}

.brand-section .section-heading p {
    max-width: 600px;

    font-size: 1.05rem;
    line-height: 1.7;

    color: #242a30;
}


/* ================================
   BRAND LOGO SYSTEM
================================ */

.brand-logo-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 20px;
    margin-top: 80px;
}

.brand-logo-card {
    min-height: 280px;
    padding: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background-color: #f7f5ef;

    border: 2px solid #d6d2c9;
    border-radius: 6px;
}

.brand-logo-card.dark {
    background-color: #f7f5ef;
    border-color: #d6d2c9;
}

.brand-logo-card img {
    width: 100%;
    max-width: 360px;
    height: auto;
}

.brand-logo-card {
    min-height: 280px;
    padding: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background: #f7f5ef;
    font-family: inherit;
    text-align: left;
    color: inherit;

    border: 2px solid #d6d2c9;
    border-radius: 6px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.brand-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(11, 38, 56, 0.08);
}

.brand-logo-card img {
    transition: transform 0.25s ease;
}

.brand-logo-card:hover img {
    transform: scale(1.025);
}

.brand-logo-card:focus-visible {
    outline: 2px solid #123b55;
    outline-offset: 4px;
}

.brand-system-note {
    max-width: 620px;
    margin-top: 32px;

    font-size: 0.95rem;
    line-height: 1.7;

    color: #5f6b73;
}

.logo-label {
    position: absolute;

    bottom: 20px;
    left: 24px;

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    color: #5f6b73;
}


/* ================================
   BRAND APPLICATIONS
================================ */

.applications-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
}

.applications-section .section-heading {
    max-width: 750px;
    margin-top: 48px;
}

.applications-section .section-heading h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.applications-section .section-heading h2 em {
    font-style: italic;
}

.applications-section .section-heading p {
    max-width: 600px;

    font-size: 1.05rem;
    line-height: 1.7;

    color: #242a30;
}


/* ================================
   APPLICATION GRID
================================ */

.application-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 80px;
}

.application-card {
    min-width: 0;

    width: 100%;
    padding: 0;

    border: none;
    background: transparent;

    font-family: inherit;
    text-align: left;
    color: inherit;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.application-card:hover {
    transform: translateY(-4px);
}

.application-card:hover .application-image {
    box-shadow: 0 12px 30px rgba(11, 38, 56, 0.08);
}

.application-card .application-image img {
    transition: transform 0.3s ease;
}

.application-card:hover .application-image img {
    transform: scale(1.025);
}

.application-card:focus-visible {
    outline: 2px solid #123b55;
    outline-offset: 4px;
}

.application-image {
    width: 100%;
    aspect-ratio: 3 / 2;

    background-color: #e2e0da;

    border: 2px solid #d6d2c9;
    border-radius: 6px;

    overflow: hidden;
}

.application-card > p {
    margin-top: 18px;

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    color: #5f6b73;
}

.application-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* ================================
   DIGITAL DESIGN
================================ */

.website-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
}

.website-section .section-heading {
    max-width: 750px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.website-section .section-heading h2 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.website-section .section-heading h2 em {
    font-style: italic;
}

.website-section .section-heading p {
    max-width: 600px;

    font-size: 1.05rem;
    line-height: 1.7;

    color: #242a30;
}


/* ================================
   DIGITAL DESIGN: DESKTOP
================================ */

.digital-subsection {
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

.digital-subsection-heading {
    margin-bottom: 48px;
}

.digital-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #5f6b73;
}


/* ================================
   HERO LAPTOP: FULL BLEED
================================ */

.digital-hero-project {
    position: relative;

    width: 100cqw;
    margin-left: calc(50% - 50cqw);

    min-height: 720px;

    margin-top: -380px;
    margin-bottom: 120px;

    overflow: hidden;

    display: flex;
    align-items: center;
}


/* Full-width photograph */

.digital-hero-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.digital-hero-background img {
    width: 68%;
    height: auto;

    object-fit: contain;
    object-position: right center;

    display: block;

    margin-left: auto;
    margin-right: -170px;

    transform: translateY(-20px);

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.65) 6%,
        black 16%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.65) 6%,
        black 16%
    );
}

.digital-hero-background::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        #f7f5ef 0%,
        rgba(247, 245, 239, 0.55) 2%,
        rgba(247, 245, 239, 0) 9%
    );

    pointer-events: none;
    z-index: 1;
}



/* Hero content */

.digital-hero-content {
    position: relative;
    z-index: 2;

    width: 1200px;
    max-width: calc(100% - 80px);

    height: 720px;

    margin: 0 auto;
}


/* Homepage label */

.digital-hero-project .digital-project-meta {
    position: absolute;

    right: 430px;
    bottom: 50px;

    width: 180px;

    z-index: 3;
}


/* ================================
   LOWER PROJECTS
================================ */

.digital-project {
    position: relative;

    margin-bottom: 120px;
}

.digital-project .website-shot {
    width: 78%;

    border: 2px solid #d6d2c9;
    border-radius: 6px;

    overflow: hidden;

    background-color: #f7f5ef;

    box-shadow: 0 12px 35px rgba(11, 38, 56, 0.07);

    position: relative;

    padding-top: 32px;
}

.digital-project .website-shot img {
    width: 100%;
    height: auto;

    display: block;
}

/* Website screenshot interaction */

.website-shot {
    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.website-shot:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(11, 38, 56, 0.12);
}

.website-shot img {
    transition: transform 0.35s ease;
}

.website-shot:hover img {
    transform: scale(1.015);
}


/* Selected Work */

.digital-project-two .website-shot {
    margin-left: 0;
}

.digital-project-two .digital-project-meta {
    position: absolute;
    right: -30px;
    top: 18px;
    width: 180px;
}


/* Brand Statement */

.digital-project-three .website-shot {
    margin-left: auto;
}

.digital-project-three .digital-project-meta {
    position: absolute;
    left: -30px;
    top: 18px;
    width: 200px;
}


/* ================================
   BROWSER FRAME
================================ */

.digital-project .website-shot::before {
    content: "●  ●  ●";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 32px;

    display: flex;
    align-items: center;

    padding-left: 16px;

    box-sizing: border-box;

    background-color: #eeece6;

    border-bottom: 1px solid #d6d2c9;

    color: #a6a39c;

    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
}

.digital-project .website-shot::after {
    content: "greenpath.ca";

    position: absolute;
    top: 7px;
    left: 50%;

    transform: translateX(-50%);

    padding: 4px 24px;

    min-width: 160px;

    box-sizing: border-box;

    background-color: #f7f5ef;

    border: 1px solid #d6d2c9;
    border-radius: 4px;

    text-align: center;

    font-family: "Manrope", sans-serif;
    font-size: 0.52rem;
    letter-spacing: 0.03em;

    color: #5f6b73;
}


/* ================================
   PROJECT LABELS
================================ */

.digital-project-meta span {
    display: block;

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    color: #5f6b73;
}

.digital-project-meta p {
    margin-top: 6px;

    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;

    color: #242a30;
}


/* ================================
   MOBILE EXPERIENCE: HERO MOCKUP
================================ */

.digital-mobile-section {
    position: relative;

    width: 100cqw;
    margin-left: calc(50% - 50cqw);

    margin-top: 140px;

    min-height: 820px;

    overflow: hidden;
}


/* ================================
   MOBILE MOCKUP
================================ */

.digital-mobile-background {
    position: absolute;

    top: 0;
    left: 0;

    width: 78%;
    height: 820px;

    z-index: 0;

    overflow: visible;
}

.digital-mobile-background img {
    position: absolute;
    left: -80px;
    top: 50%;
    height: 620px;
    width: auto;

    transform: translateY(-50%);

    display: block;

    object-fit: contain;
    object-position: left center;

-webkit-mask-image: linear-gradient(
    to right,
    black 0%,
    black 48%,
    rgba(0, 0, 0, 0.8) 65%,
    rgba(0, 0, 0, 0.45) 80%,
    rgba(0, 0, 0, 0.15) 92%,
    transparent 100%
);

mask-image: linear-gradient(
    to right,
    black 0%,
    black 48%,
    rgba(0, 0, 0, 0.8) 65%,
    rgba(0, 0, 0, 0.45) 80%,
    rgba(0, 0, 0, 0.15) 92%,
    transparent 100%
);
}



/* ================================
   MOBILE TEXT
================================ */

.digital-mobile-content {
    position: relative;

    z-index: 2;

    width: 1200px;
    max-width: calc(100% - 80px);

    min-height: 820px;

    margin: 0 auto;

    padding-left: 0;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-right: 120px;
}

.digital-mobile-content > * {
    margin-left: 44%;
}

.digital-mobile-content h3 {
    margin-top: 24px;

    font-family: "DM Serif Display", serif;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: 0.98;

    letter-spacing: -0.03em;

    color: #1B3A2E;
}

.digital-mobile-content h3 em {
    color: #5A7C59;

    font-style: italic;
}

.digital-mobile-content p {
    max-width: 480px;

    margin-top: 28px;

    font-size: 1.05rem;

    line-height: 1.7;

    color: #242a30;
}


/* ================================
   MOBILE SCREENSHOTS
================================ */

.digital-mobile-section .mobile-showcase {
    position: relative;

    z-index: 2;

    width: 1280px;
    max-width: calc(100% - 80px);

    margin: 0 auto;

    padding-top: 40px;
    padding-bottom: 40px;

    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
}

.digital-mobile-section .mobile-project:nth-child(1) {
    grid-column: 1 / 5;
}

.digital-mobile-section .mobile-project:nth-child(2) {
    grid-column: 5 / 9;
    margin-top: 80px;
}

.digital-mobile-section .mobile-project:nth-child(3) {
    grid-column: 9 / 13;
}

.digital-mobile-section .mobile-project:nth-child(2) .mobile-shot img {
    transform: translateY(-40px);
}

.mobile-shot {
    position: relative;
    cursor: pointer;
    border: 1px solid #d6d2c9;
    border-radius: 14px;
    overflow: hidden;
    background-color: #f7f5ef;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.mobile-shot::before {
    content: "greenpath.ca";
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    background-color: #eeece6;
    border-bottom: 1px solid #d6d2c9;
    color: #5f6b73;
    font-family: "Manrope", sans-serif;
    font-size: .5rem;
    letter-spacing: .02em;
    position: relative;
    z-index: 2;
}

.mobile-shot:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(11, 38, 56, 0.12);
}

.mobile-shot img {
    width: 100%;
    height: auto;
    display: block;

    transition: transform 0.35s ease;
}

.mobile-shot:hover img {
    transform: scale(1.015);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.website-shot:focus-visible,
.mobile-shot:focus-visible,
.outcome-card:focus-visible {
    outline: 2px solid #123b55;
    outline-offset: 4px;
}

.mobile-project .mobile-shot {
    width: 150px;
    margin: 0 auto;
}

.mobile-project > span {
    display: block;

    margin-top: 16px;

    font-size: 0.62rem;
    font-weight: 700;

    letter-spacing: 0.14em;

    color: #5f6b73;
}

/* The duplicate label lives beside the desktop copy so the mobile layout
   can retain its existing label placement. */
.desktop-mobile-label {
    display: none;
}

@media (min-width: 901px) {
    .digital-mobile-content {
        isolation: isolate;
    }

    .digital-mobile-content::before {
        content: "";
        position: absolute;
        top: 50%;
        left: calc(44% - 42px);
        width: min(620px, calc(56% + 42px));
        height: 360px;
        transform: translateY(-50%);
        border-radius: 44px;
        background: linear-gradient(
            to right,
            rgba(247, 245, 239, 0.96) 0%,
            rgba(247, 245, 239, 0.88) 72%,
            rgba(247, 245, 239, 0) 100%
        );
        filter: blur(12px);
        pointer-events: none;
        z-index: -1;
    }

    .digital-mobile-background img {
        -webkit-mask-image: linear-gradient(
            to right,
            black 0%,
            black 64%,
            rgba(0, 0, 0, 0.8) 70%,
            rgba(0, 0, 0, 0.45) 76%,
            rgba(0, 0, 0, 0.18) 82%,
            transparent 90%
        );

        mask-image: linear-gradient(
            to right,
            black 0%,
            black 64%,
            rgba(0, 0, 0, 0.8) 70%,
            rgba(0, 0, 0, 0.45) 76%,
            rgba(0, 0, 0, 0.18) 82%,
            transparent 90%
        );
    }

    .digital-mobile-background > .digital-label {
        display: none;
    }

    .digital-mobile-content .desktop-mobile-label {
        display: block;
        margin-top: 20px;
    }

    .mobile-project .mobile-shot {
        width: 260px;
    }

    .mobile-project > span {
        width: 260px;
        margin: 16px auto 0;
        text-align: center;
    }
}

/* ================================
   PROJECT OUTCOME
================================ */

.outcome-section {
    padding: 160px 40px;

    background-color: #f7f5ef;
    color: #0b2638;
}

.outcome-inner {
    max-width: 900px;
    margin: 0 auto;
}

.outcome-section .section-label {
    color: #5f6b73;
}

.outcome-section h2 {
    max-width: 850px;
    margin-top: 42px;

    font-family: "DM Serif Display", serif;
    font-size: clamp(4rem, 7vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
}

.outcome-section h2 em {
    font-style: italic;
}

.outcome-section p {
    max-width: 620px;
    margin-top: 48px;

    font-size: 1.1rem;
    line-height: 1.7;
}

.outcome-gallery {
    margin-top: 90px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}

.outcome-gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;

    padding: 0;
    box-sizing: border-box;

    background-color: #f7f5ef;
    border: 1px solid #d6d2c9;
    border-radius: 16px;

    box-shadow: 0 12px 30px rgba(11, 38, 56, 0.06);
}

.outcome-gallery img:nth-child(3) {
    object-fit: contain;
    padding: 0;
}

.outcome-card {
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.outcome-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(11, 38, 56, 0.12);
}




/* ================================
   FINAL CTA
================================ */

.final-cta {
    width: 100%;
    padding: 120px 40px;

    background-color: #123b55;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;

    color: #ffffff;

    margin-bottom: 20px;
    max-width: 700px;
}

.cta-content .eyebrow {
    color: #ffffff;
}

.cta-content > p:not(.eyebrow) {
    font-size: 1.1rem;
    line-height: 1.6;

    color: #ffffff;

    max-width: 600px;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;

    padding: 14px 24px;

    background-color: #f7f5ef;
    color: #123b55;

    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;

    text-decoration: none;
}

.cta-button:hover {
    background-color: #e2e0da;
}


/* ================================
   FOOTER
================================ */

footer {
    padding: 72px 40px 32px;

    background-color: #f7f5ef;

    border-top: 1px solid #e2e0da;
}

.footer-main {
    display: flex;
    justify-content: space-between;

    gap: 80px;

    max-width: 1200px;
    margin: 0 auto;

    padding-bottom: 64px;
}

.footer-right {
    display: flex;
    gap: 100px;
}

.footer-brand img {
    width: 190px;
    height: auto;

    margin-bottom: 24px;
}

.footer-brand p {
    max-width: 320px;

    font-size: 1rem;
    line-height: 1.6;

    margin: 0;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    margin: 0 0 20px;

    color: #123b55;
}

.footer-links a,
.footer-contact a {
    color: #123b55;

    text-decoration: none;

    font-size: 0.95rem;

    margin-bottom: 12px;

    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #5f6b73;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;

    padding-top: 24px;

    border-top: 1px solid #e2e0da;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 24px;
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;

    font-size: 0.8rem;

    color: #123b55;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
}


/* ================================
   LOGO LIGHTBOX
================================ */

.logo-lightbox {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background-color: rgba(11, 38, 56, 0.92);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0s linear 0.25s;

    z-index: 2000;
}

.logo-lightbox.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.logo-lightbox-image {
    width: auto;
    max-width: 90vw;
    max-height: 80vh;

    object-fit: contain;

    background-color: #f7f5ef;

    padding: 60px;

    border-radius: 6px;

    transform: scale(0.96);

    transition: transform 0.25s ease;
}

.logo-lightbox.active .logo-lightbox-image {
    transform: scale(1);
}

.logo-lightbox-close {
    position: absolute;

    top: 28px;
    right: 32px;

    width: 44px;
    height: 44px;

    border: none;
    background: transparent;

    color: #f7f5ef;

    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    opacity: 0.8;

    transition: opacity 0.2s ease;
}

.logo-lightbox-close:hover {
    opacity: 1;
}


/* ================================
   TABLET
================================ */

@media (max-width: 900px) {

    .case-hero {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .case-hero-meta {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .brand-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-showcase {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-right {
        gap: 60px;
    }

}


/* ================================
   MOBILE
================================ */

@media (min-width: 961px) and (max-width: 1100px) {
    nav {
        padding-inline: 24px;
    }

    .logo img {
        width: 210px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-cta {
        margin-left: 20px;
        padding-inline: 16px;
    }

    .desktop-language-selector {
        flex-basis: 108px;
        margin-left: 14px;
    }

    .language-trigger {
        min-width: 104px;
        gap: 7px;
        font-size: 0.68rem;
    }
}

@media (max-width: 960px) {
    nav {
        padding: 20px 24px;
        gap: 16px;
    }

    .logo {
        min-width: 0;
    }

    .logo img {
        width: clamp(180px, 62vw, 250px);
        max-width: 100%;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 24px;
        background-color: #f7f5ef;
        border-bottom: 1px solid #e2e0da;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .desktop-language-selector {
        display: none;
    }

    .nav-links .mobile-language-switch {
        width: 100%;
        margin-top: 4px;
        padding-top: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        border-top: 1px solid #e2e0da;
        color: #123b55;
    }

    .mobile-language-switch .language-icon {
        width: 18px;
        height: 18px;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        flex: 0 0 32px;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 24px;
        padding: 0;
        border: none;
        background: none;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #123b55;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .hamburger.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}

@media (max-width: 768px) {

    /* Navigation */

    nav {
        padding: 20px 24px;
        gap: 16px;
    }

    .logo img {
        width: clamp(180px, 62vw, 250px);
        max-width: 100%;
    }

    .logo {
        min-width: 0;
        transform: translateX(-5px);
    }

    .nav-links {
        display: flex;
        flex-direction: column;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background-color: #f7f5ef;

        padding: 24px;

        border-bottom: 1px solid #e2e0da;

        width: 100%;
        z-index: 100;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0s linear 0.2s;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        width: 32px;
        height: 24px;

        padding: 0;

        border: none;
        background: none;

        cursor: pointer;
        flex: 0 0 32px;
    }

    .hamburger span {
        display: block;

        width: 100%;
        height: 2px;

        background-color: #123b55;

        transition:
            transform 0.2s ease,
            opacity 0.2s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }


    /* Hero */

    .case-hero {
        grid-template-columns: 1fr;
        gap: 48px;

        padding: 40px 24px 56px;
    }

    .case-hero::before {
        width: 450px;
        height: 450px;

        right: -170px;
        top: 45%;

        opacity: 0.04;
    }

    .case-hero h1 {
        font-size: clamp(3.5rem, 14vw, 5rem);
    }

    .case-hero-description {
        font-size: 1rem;
    }

    .case-hero-meta {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;

        border-top: 1px solid #d6d2c9;
        padding-top: 28px;
    }

    .case-hero-logo {
        margin-left: 0;
        max-width: 360px;
    }

    .case-hero-logo .hero-logo-horizontal {
        display: none;
    }

    .case-hero-logo .hero-logo-stacked {
        display: block;
    }


    /* Hero image */

    .case-hero-image {
        width: calc(100% - 48px);
        margin-bottom: 80px;
    }


    /* Project intro */

    .case-intro {
        padding: 80px 24px;

        grid-template-columns: 1fr;
        gap: 32px;
    }

    .case-intro-content h2 {
        font-size: clamp(3rem, 13vw, 4.5rem);
        margin-bottom: 32px;
    }


    /* Brand identity */

    .brand-section {
        padding: 80px 24px;
    }

    .brand-section .section-heading {
        margin-top: 36px;
    }

    .brand-section .section-heading h2 {
        font-size: clamp(3rem, 13vw, 4.5rem);
    }

    .brand-logo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 56px;
    }

    .brand-logo-card {
        min-height: 220px;
        padding: 40px;
    }

    .brand-logo-card img {
        max-width: 300px;
    }


    /* Applications */

    .applications-section {
        padding: 80px 24px;
    }

    .applications-section .section-heading {
        margin-top: 36px;
    }

    .applications-section .section-heading h2 {
        font-size: clamp(3rem, 13vw, 4.5rem);
    }

    .application-grid {
        grid-template-columns: 1fr;
        gap: 40px;

        margin-top: 56px;
    }

    


    /* ================================
       DIGITAL DESIGN: MOBILE
    ================================ */

    .website-section {
        padding: 80px 24px;
    }

    .website-section .section-heading {
        margin-top: 36px;
    }

    .website-section .section-heading h2 {
        font-size: clamp(3rem, 13vw, 4.5rem);
    }

    .digital-subsection {
        margin-top: 64px;
    }

    .digital-subsection-heading {
        margin-bottom: 32px;
    }



/* ================================
   DIGITAL DESIGN: MOBILE HERO
================================ */

.digital-hero-project {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    min-height: auto;
    margin-bottom: 72px;

    display: flex;
    flex-direction: column;
}

.digital-hero-background {
    position: relative;
    inset: auto;

    width: 100%;
    height: auto;

    display: block;

    order: 2;
}

.digital-hero-background img {
    position: static;
    top: -45px;
    width: 100%;
    height: auto;

    margin: 0;
    transform: none;

    object-fit: contain;

    -webkit-mask-image: none;
    mask-image: none;
}

.digital-hero-background::after {
    display: none;
}

.digital-hero-content {
    position: relative;

    width: 100%;
    max-width: none;
    height: auto;

    margin: 0;

    order: 1;
}

.digital-hero-project .digital-project-meta {
    position: static;

    width: auto;

    margin-top: 20px;
    padding: 0;

    order: 3;
}


    /* Lower desktop projects */

    .digital-project {
        margin-bottom: 72px;
    }

    .digital-project .website-shot {
        width: 100%;
        margin-left: 0;
        margin-right: 0;

        padding-top: 28px;
    }

    .digital-project-two .digital-project-meta,
    .digital-project-three .digital-project-meta {
        position: static;

        width: auto;

        margin-bottom: 20px;
    }

    .digital-project-three .website-shot {
        margin-left: 0;
    }

    .digital-project .website-shot::before {
        height: 28px;
        padding-left: 12px;
    }

    .digital-project .website-shot::after {
        top: 6px;

        padding: 3px 18px;

        min-width: 130px;

        font-size: 0.48rem;
    }


    /* Mobile experience */

.digital-mobile-section {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-top: 96px;
    min-height: auto;
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

.digital-mobile-background {
    position: relative;

    width: 100%;
    height: auto;

    margin-top: 48px;
    order: 2;
}

.digital-mobile-background .digital-label {
    display: block;
    margin-bottom: 34px;
}

.digital-mobile-background img {
    position: static;

    width: 100%;
    height: auto;

    display: block;

    margin: 0;
    transform: none;

    object-fit: contain;

    -webkit-mask-image: none;
    mask-image: none;
}

.digital-mobile-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: none;
    min-height: auto;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
    order: 1;
}

.digital-mobile-content > * {
    margin-left: 0;
}

/* Keep the mobile captures at their natural aspect ratio.  The desktop
   twelve-column placement above is too narrow for a phone viewport, so
   present the screens as a compact, readable gallery instead. */
.digital-mobile-section .mobile-showcase {
    order: 3;

    width: 100%;
    max-width: none;

    margin: 64px 0 0;
    padding: 0 0 16px;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
}

.digital-mobile-section .mobile-project:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
}

.digital-mobile-section .mobile-project:nth-child(3) {
    grid-column: 1 / -1;
    width: calc((100% - 16px) / 2);
    justify-self: center;
}

.digital-mobile-section .mobile-project:nth-child(2) .mobile-shot img {
    transform: none;
}

.mobile-project .mobile-shot {
    width: 100%;
}

.mobile-project > span {
    margin-top: 12px;
    text-align: center;
}


    /* Outcome */

    .outcome-section {
        padding: 100px 24px;
    }

    .outcome-section h2 {
        font-size: clamp(3.5rem, 14vw, 5rem);
    }

    .outcome-section p {
        margin-top: 36px;
        font-size: 1rem;
    }

    .outcome-gallery {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 56px;
    }

    .outcome-gallery img {
        height: auto;
        object-fit: contain;
    }


    /* CTA */

    .final-cta {
        padding: 80px 24px;
    }

    .cta-content h2 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .cta-content > p:not(.eyebrow) {
        font-size: 1rem;
    }


    /* Footer */

    footer {
        padding: 56px 24px 24px;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;

        padding-bottom: 48px;
    }

    .footer-brand img {
        width: min(300px, 100%);
        max-width: 100%;
        display: block;

        margin-bottom: 36px;
    }

    .footer-right {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links,
    .footer-contact {
        gap: 0;
    }

    .footer-label {
        margin-bottom: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 16px 24px;
    }

}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 560px) {

    .case-hero-meta {
        grid-template-columns: 1fr 1fr;
    }

    .case-hero-meta > div:last-child {
        grid-column: 1 / -1;
    }

    .case-hero-image {
        width: calc(100% - 32px);
    }

    .brand-logo-card {
        min-height: 200px;
        padding: 32px;
    }

    .application-image {
        aspect-ratio: 3 / 2;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .footer-brand img {
        width: 260px;
    }

}
