/* =========================================================
   WELLS HAMILTON MEDIA
   GRAPHIC DESIGN SHOWCASE
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --graphic-bg: #f2f2f2;
    --graphic-white: #ffffff;

    --graphic-dark: #080808;
    --graphic-dark-2: #151515;
    --graphic-dark-3: #222222;

    --graphic-text: #171717;
    --graphic-muted: #6a6a6a;

    --graphic-accent: #b5b5b5;
    --graphic-blue: #3f3f3f;
    --graphic-light-blue: #e3e3e3;

    --graphic-border: rgba(8, 8, 8, 0.12);

    --graphic-ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--graphic-bg);
    color: var(--graphic-text);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--graphic-accent);
    color: var(--graphic-dark);
}


/* =========================================================
   INTRO
========================================================= */

.graphic-intro {
    position: relative;
    padding: 140px 0;
    background: var(--graphic-bg);
}

.graphic-intro-grid {
    width: min(1250px, 90%);
    margin: auto;

    display: grid;
    grid-template-columns: 0.35fr 1fr;
    gap: 100px;
}

.graphic-intro-label {
    position: relative;
    padding-top: 8px;

    color: var(--graphic-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.graphic-intro-label::before {
    content: "";

    position: absolute;
    left: 0;
    top: -18px;

    width: 35px;
    height: 2px;

    background: var(--graphic-accent);
}

.graphic-intro-content {
    max-width: 850px;
}

.graphic-intro-content h2 {
    margin-bottom: 30px;

    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.graphic-intro-content h2 span,
.graphic-intro-content h2 em {
    color: var(--graphic-blue);
}

.graphic-intro-content h2 em {
    font-style: italic;
}

.graphic-intro-content p {
    max-width: 720px;

    color: var(--graphic-muted);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    line-height: 1.55;
}


/* =========================================================
   PROJECT SECTION
========================================================= */

.graphic-projects {
    position: relative;

    padding: 110px 0 140px;

    background: var(--graphic-white);

    contain: layout paint;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.graphic-section-header {
    width: min(1250px, 90%);
    margin: 0 auto 65px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 70px;
}

.graphic-section-header > div {
    flex: 1;

    opacity: 0;
    transform: translate3d(-60px, 0, 0);

    transition:
        opacity 0.7s ease,
        transform 0.7s var(--graphic-ease);

    will-change: opacity, transform;
}

.graphic-section-header > p {
    flex: 0 0 390px;

    max-width: 390px;
    margin: 0;

    color: var(--graphic-muted);

    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    line-height: 1.5;

    opacity: 0;
    transform: translate3d(60px, 0, 0);

    transition:
        opacity 0.7s ease,
        transform 0.7s var(--graphic-ease);

    will-change: opacity, transform;
}

.graphic-section-header.is-visible > div,
.graphic-section-header.is-visible > p {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


/* =========================================================
   SECTION TYPOGRAPHY
========================================================= */

.graphic-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 20px;

    color: var(--graphic-blue);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.graphic-section-eyebrow::before {
    content: "";

    width: 40px;
    height: 1px;

    background: var(--graphic-accent);
}

.graphic-section-header h2 {
    max-width: 800px;
    margin: 0;

    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.graphic-section-header h2 em {
    color: var(--graphic-blue);
    font-style: italic;
}


/* =========================================================
   PROJECT GRID
   REFERENCE STYLE:
   THREE CLEAN COLUMNS
========================================================= */

.graphic-project-grid {
    width: min(1100px, 90%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 34px 18px;

    counter-reset: graphic-project;

    align-items: start;
}


/* =========================================================
   PROJECT CARD
========================================================= */

.graphic-project-card {
    position: relative;

    min-width: 0;

    display: flex;
    flex-direction: column;

    background: #111111;

    opacity: 0;
    transform: translate3d(0, 35px, 0);

    transition:
        opacity 0.7s ease,
        transform 0.7s var(--graphic-ease);

    content-visibility: auto;
    contain-intrinsic-size: 600px;

    contain: layout paint style;

    will-change: opacity, transform;

    counter-increment: graphic-project;
}

.graphic-project-card.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


/* =========================================================
   REMOVE OLD UNEVEN CARD OFFSETS
========================================================= */

.graphic-project-card:nth-child(2),
.graphic-project-card:nth-child(4),
.graphic-project-card:nth-child(6) {
    margin-top: 0;
}


/* =========================================================
   PROJECT IMAGE
========================================================= */

.graphic-project-image {
    position: relative;

    width: 100%;

    /*
       Portrait/editorial ratio similar to
       the reference screenshot.
    */
    aspect-ratio: 0.80 / 1;

    min-height: 0;

    overflow: hidden;

    background: #eeeeee;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    isolation: isolate;
}


/* =========================================================
   PROJECT IMAGE
   SHOW COMPLETE ARTWORK
========================================================= */

.graphic-project-image img {
    display: block;

    width: 100%;
    height: 100%;

    /*
       IMPORTANT:
       Keeps the complete poster/design visible.
    */
    object-fit: contain;
    object-position: center;

    background: #eeeeee;

    transform: translate3d(0, 0, 0);

    transition:
        transform 0.6s var(--graphic-ease);

    will-change: transform;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    filter: none !important;
}


/* =========================================================
   IMAGE LOADED
========================================================= */

.graphic-project-image img.image-loaded {
    opacity: 1;
}


/* =========================================================
   PROJECT OVERLAY
========================================================= */

.graphic-project-overlay {
    position: absolute;
    inset: 0;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    background: rgba(8, 8, 8, 0.55);

    opacity: 0;

    transition: opacity 0.35s ease;

    cursor: pointer;

    will-change: opacity;
}

.graphic-project-overlay span {
    width: 76px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;

    color: #ffffff;

    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;

    transform: scale(0.82);

    transition:
        transform 0.35s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}

.graphic-project-overlay i {
    position: absolute;

    right: 20px;
    bottom: 20px;

    color: #ffffff;

    font-size: 0.95rem;
}


/* =========================================================
   DESKTOP HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .graphic-project-card:hover .graphic-project-image img {
        transform: scale(1.025);
    }

    .graphic-project-card:hover .graphic-project-overlay {
        opacity: 1;
    }

    .graphic-project-card:hover .graphic-project-overlay span {
        transform: scale(1);
    }

    .graphic-project-overlay span:hover {
        background: #ffffff;
        color: #080808;
    }
}


/* =========================================================
   PROJECT INFORMATION
   BLACK EDITORIAL FOOTER
========================================================= */

.graphic-project-info {
    position: relative;

    min-height: 128px;

    display: grid;

    grid-template-columns: 38px 1fr;

    gap: 10px;

    padding: 18px 18px 20px;

    background: #111111;

    color: #ffffff;

    overflow: hidden;
}


/* =========================================================
   PROJECT NUMBER
========================================================= */

.graphic-project-category {
    position: relative;

    margin: 0;

    padding-top: 3px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0;

    font-weight: 500;

    letter-spacing: 0.08em;
}

.graphic-project-category::before {
    content: counter(graphic-project, decimal-leading-zero);

    display: block;

    color: rgba(255, 255, 255, 0.7);

    font-family: "Inter", sans-serif;

    font-size: 0.55rem;

    font-weight: 600;

    letter-spacing: 0.08em;
}


/* =========================================================
   PROJECT TITLE
========================================================= */

.graphic-project-info > div:last-child {
    min-width: 0;
}

.graphic-project-info h3 {
    margin: 0 0 7px;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: clamp(1.15rem, 1.6vw, 1.45rem);

    font-weight: 500;

    line-height: 1.15;

    letter-spacing: -0.02em;
}


/* =========================================================
   PROJECT DESCRIPTION
========================================================= */

.graphic-project-info p {
    max-width: 280px;

    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-family: "Inter", sans-serif;

    font-size: 0.58rem;

    font-weight: 400;

    line-height: 1.55;
}


/* =========================================================
   PROCESS
========================================================= */

.graphic-process {
    position: relative;
    overflow: hidden;

    padding: 150px 0;

    background: linear-gradient(
        135deg,
        var(--graphic-dark),
        var(--graphic-dark-2)
    );

    color: #ffffff;
}

.graphic-process-background {
    position: absolute;
    inset: 0;

    pointer-events: none;
    overflow: hidden;

    contain: strict;
}

.graphic-process-circle {
    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -180px;

    border: 1px solid rgba(181, 181, 181, 0.2);
    border-radius: 50%;
}

.graphic-process-circle::before,
.graphic-process-circle::after {
    content: "";

    position: absolute;

    border: 1px solid rgba(181, 181, 181, 0.1);
    border-radius: 50%;
}

.graphic-process-circle::before {
    inset: 70px;
}

.graphic-process-circle::after {
    inset: 140px;
}

.graphic-process-line {
    position: absolute;

    width: 1px;
    height: 100%;

    left: 35%;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(181, 181, 181, 0.25),
        transparent
    );
}

.graphic-process-grid {
    position: relative;
    z-index: 2;

    width: min(1250px, 90%);
    margin: auto;

    display: grid;
    grid-template-columns: 0.4fr 1fr;
    gap: 100px;
}

.graphic-process-number {
    color: var(--graphic-accent);

    font-family: "Playfair Display", serif;
    font-size: 1rem;
    letter-spacing: 0.15em;
}

.graphic-process-content {
    max-width: 900px;
}

.graphic-process-content h2 {
    margin-bottom: 60px;

    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.graphic-process-content h2 em {
    color: var(--graphic-accent);
    font-style: italic;
}

.graphic-process-list {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.graphic-process-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;

    padding: 30px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    transition:
        padding-left 0.3s ease,
        background-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {

    .graphic-process-item:hover {
        padding-left: 15px;
    }
}

.graphic-process-item span {
    color: var(--graphic-accent);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.graphic-process-item h3 {
    margin-bottom: 8px;

    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 500;
}

.graphic-process-item p {
    max-width: 650px;

    color: rgba(255, 255, 255, 0.62);

    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    line-height: 1.45;
}


/* =========================================================
   SERVICES
========================================================= */

.graphic-services {
    padding: 140px 0;
    background: var(--graphic-bg);
}

.graphic-services-header {
    width: min(1250px, 90%);
    margin: 0 auto 65px;
}

.graphic-services-header h2 {
    max-width: 850px;

    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.graphic-services-header h2 em {
    color: var(--graphic-blue);
    font-style: italic;
}

.graphic-services-grid {
    width: min(1250px, 90%);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--graphic-border);
    border-left: 1px solid var(--graphic-border);
}

.graphic-service-item {
    min-height: 240px;

    padding: 35px 30px;

    border-right: 1px solid var(--graphic-border);
    border-bottom: 1px solid var(--graphic-border);

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {

    .graphic-service-item:hover {
        background: var(--graphic-white);
        transform: translate3d(0, -6px, 0);
    }
}

.graphic-service-item > span {
    display: block;
    margin-bottom: 20px;

    color: var(--graphic-muted);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.graphic-service-item i {
    margin-bottom: 35px;

    color: var(--graphic-blue);
    font-size: 1.5rem;
}

.graphic-service-item h3 {
    margin-bottom: 12px;

    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    font-weight: 500;
}

.graphic-service-item p {
    color: var(--graphic-muted);

    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    line-height: 1.45;
}


/* =========================================================
   CTA
========================================================= */

.graphic-cta {
    position: relative;

    padding: 145px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #151515 0%,
            #080808 60%,
            #050505 100%
        );
}

.graphic-cta-glow {
    position: absolute;

    width: 650px;
    height: 650px;

    right: -240px;
    top: -260px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    filter: blur(10px);

    animation: ctaGlowMove 14s ease-in-out infinite alternate;

    pointer-events: none;

    will-change: transform;
}

@keyframes ctaGlowMove {

    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(-60px, 70px, 0) scale(1.1);
    }
}

.graphic-cta-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
    margin: 0 auto;

    text-align: center;
}

.graphic-cta-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;
    margin-bottom: 20px;

    color: var(--graphic-accent);

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.graphic-cta-eyebrow span {
    display: block;

    width: 34px;
    height: 1px;

    background: var(--graphic-accent);
}

.graphic-cta-content h2 {
    margin: 0 auto 28px;

    color: #ffffff;

    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.graphic-cta-content h2 em {
    color: var(--graphic-accent);

    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
}

.graphic-cta-content p {
    max-width: 680px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
}

.graphic-cta-button {
    display: inline-flex;
    align-items: center;

    gap: 20px;

    margin-top: 40px;

    padding: 16px 22px 16px 27px;

    border: 1px solid var(--graphic-accent);

    color: #ffffff;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        gap 0.3s ease;
}

.graphic-cta-button i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background: var(--graphic-accent);
    color: var(--graphic-dark);

    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {

    .graphic-cta-button:hover {
        gap: 27px;

        background: var(--graphic-accent);
        color: var(--graphic-dark);

        transform: translate3d(0, -3px, 0);
    }

    .graphic-cta-button:hover i {
        transform: translate3d(4px, 0, 0);
    }
}


/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.graphic-intro-content,
.graphic-process-content,
.graphic-services-header,
.graphic-services-grid,
.graphic-cta-content {
    opacity: 0;

    transform: translate3d(-50px, 0, 0);

    transition:
        opacity 0.75s ease,
        transform 0.75s var(--graphic-ease);

    will-change: opacity, transform;
}

.graphic-intro-content.is-visible,
.graphic-process-content.is-visible,
.graphic-services-header.is-visible,
.graphic-services-grid.is-visible,
.graphic-cta-content.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


/* =========================================================
   PROJECT STAGGER
========================================================= */

.graphic-project-card:nth-child(1) {
    transition-delay: 0.03s;
}

.graphic-project-card:nth-child(2) {
    transition-delay: 0.08s;
}

.graphic-project-card:nth-child(3) {
    transition-delay: 0.13s;
}

.graphic-project-card:nth-child(4) {
    transition-delay: 0.18s;
}

.graphic-project-card:nth-child(5) {
    transition-delay: 0.23s;
}

.graphic-project-card:nth-child(6) {
    transition-delay: 0.28s;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.graphic-lightbox {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 30px;

    background: rgba(4, 4, 4, 0.97);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    contain: strict;
}

.graphic-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.graphic-lightbox-content {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: scale(0.95);

    transition: transform 0.35s var(--graphic-ease);
}

.graphic-lightbox.active .graphic-lightbox-content {
    transform: scale(1);
}

.graphic-lightbox-content img {
    display: block;

    width: auto;
    height: auto;

    max-width: 96vw;
    max-height: 94vh;

    object-fit: contain;

    border-radius: 2px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);

    user-select: none;
    -webkit-user-drag: none;

    cursor: zoom-out;
}


/* =========================================================
   LIGHTBOX CLOSE
========================================================= */

.graphic-lightbox-close {
    position: fixed;

    top: 25px;
    right: 30px;

    z-index: 100000;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    font-size: 1.2rem;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {

    .graphic-lightbox-close:hover {
        background: #ffffff;
        color: #080808;

        transform: rotate(90deg);
    }
}


/* =========================================================
   HERO
========================================================= */

.graphic-hero {
    position: relative;

    min-height: 92vh;
    min-height: 92svh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding: 100px 20px;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255, 255, 255, 0.1),
            transparent 32%
        ),
        radial-gradient(
            circle at 50% 90%,
            rgba(255, 255, 255, 0.07),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #050505 0%,
            #0b0b0b 50%,
            #181818 100%
        );

    color: #ffffff;

    isolation: isolate;
}

.graphic-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    opacity: 0.5;

    pointer-events: none;
}

.graphic-hero::after {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    left: 50%;
    bottom: -450px;

    transform: translate3d(-50%, 0, 0);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.04) 40%,
            transparent 70%
        );

    filter: blur(10px);

    pointer-events: none;
}

.graphic-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(4, 4, 4, 0.15) 45%,
            rgba(4, 4, 4, 0.5) 100%
        );

    pointer-events: none;
}

.graphic-hero-content {
    position: relative;
    z-index: 5;

    width: min(1000px, 92%);

    margin: 0 auto;
    padding: 60px 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


/* =========================================================
   HERO TYPOGRAPHY
========================================================= */

.graphic-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-bottom: 28px;

    color: #b5b5b5;

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;

    opacity: 0;

    transform: translate3d(0, -50px, 0);

    transition:
        opacity 1s ease,
        transform 1s var(--graphic-ease);

    will-change: opacity, transform;
}

.graphic-eyebrow span {
    display: block;

    width: 42px;
    height: 2px;

    background: #b5b5b5;
}

.graphic-hero h1 {
    max-width: 1000px;

    margin: 0 0 28px;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: clamp(4rem, 9vw, 8.5rem);

    font-weight: 800;

    line-height: 0.88;

    letter-spacing: -0.055em;

    text-align: center;

    opacity: 0;

    transform: translate3d(-70px, 0, 0);

    transition:
        opacity 1s ease 0.15s,
        transform 1.1s var(--graphic-ease) 0.15s;

    will-change: opacity, transform;
}

.graphic-hero h1 em {
    display: block;

    margin-top: 5px;

    color: #b5b5b5;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.08em;
    font-weight: 700;

    font-style: italic;

    letter-spacing: -0.025em;

    opacity: 0;

    transform: translate3d(70px, 0, 0);

    transition:
        opacity 1s ease 0.3s,
        transform 1.1s var(--graphic-ease) 0.3s;

    will-change: opacity, transform;
}

.graphic-hero-content > p {
    max-width: 650px;

    margin: 0 auto 38px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.95rem;
    line-height: 1.85;

    text-align: center;

    opacity: 0;

    transform: translate3d(0, 50px, 0);

    transition:
        opacity 1s ease 0.5s,
        transform 1s var(--graphic-ease) 0.5s;

    will-change: opacity, transform;
}


/* =========================================================
   HERO ACTIVE
========================================================= */

.graphic-hero.hero-visible .graphic-eyebrow,
.graphic-hero.hero-visible h1,
.graphic-hero.hero-visible h1 em,
.graphic-hero.hero-visible .graphic-hero-content > p {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


/* =========================================================
   DISABLED DECORATIVE HERO ELEMENTS
========================================================= */

.graphic-hero-shape,
.graphic-grid-pattern {
    display: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .graphic-intro-grid {
        grid-template-columns: 0.3fr 1fr;
        gap: 60px;
    }

    .graphic-process-grid {
        grid-template-columns: 0.25fr 1fr;
        gap: 60px;
    }

    .graphic-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .graphic-cta {
        padding: 110px 0;
    }

    /* PROJECTS */

    .graphic-project-grid {
        width: min(900px, 90%);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 25px 14px;
    }

    .graphic-project-image {
        aspect-ratio: 0.79 / 1;
    }

    .graphic-project-info {
        min-height: 135px;
        padding: 16px 15px 18px;
    }

    .graphic-project-info {
        grid-template-columns: 32px 1fr;
        gap: 8px;
    }

    .graphic-project-info h3 {
        font-size: 1.2rem;
    }

    .graphic-project-info p {
        font-size: 0.56rem;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .graphic-intro {
        padding: 100px 0;
    }

    .graphic-intro-grid {
        width: 88%;
        display: block;
    }

    .graphic-intro-label {
        margin-bottom: 55px;
    }


    /* =====================================================
       PROJECT SECTION
    ===================================================== */

    .graphic-projects {
        padding: 90px 0 100px;
    }

    .graphic-section-header {
        width: 88%;

        display: block;

        margin-bottom: 50px;
    }

    .graphic-section-header > div {
        transform: translate3d(-40px, 0, 0);
    }

    .graphic-section-header > p {
        max-width: 520px;

        margin-top: 25px;

        transform: translate3d(40px, 0, 0);
    }

    .graphic-section-header h2 {
        font-size: clamp(3rem, 13vw, 5rem);
    }

    .graphic-project-grid {
        width: 88%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 45px;
    }

    .graphic-project-card {
        margin-top: 0 !important;
        margin-bottom: 0;

        transform: translate3d(0, 30px, 0);
    }

    .graphic-project-card.is-visible {
        transform: translate3d(0, 0, 0);
    }


    /* =====================================================
       MOBILE IMAGE
    ===================================================== */

    .graphic-project-image {
        width: 100%;

        aspect-ratio: 0.80 / 1;

        min-height: 0;

        background: #eeeeee;
    }

    .graphic-project-image img {
        width: 100%;
        height: 100%;

        object-fit: contain;
        object-position: center;
    }


    /* =====================================================
       MOBILE PROJECT INFO
    ===================================================== */

    .graphic-project-info {
        min-height: 125px;

        grid-template-columns: 38px 1fr;

        padding: 18px 18px 20px;
    }

    .graphic-project-info h3 {
        font-size: 1.35rem;
    }

    .graphic-project-info p {
        max-width: 420px;

        font-size: 0.65rem;

        line-height: 1.55;
    }


    /* =====================================================
       PROCESS
    ===================================================== */

    .graphic-process {
        padding: 100px 0;
    }

    .graphic-process-grid {
        width: 88%;
        display: block;
    }

    .graphic-process-number {
        margin-bottom: 50px;
    }

    .graphic-process-content h2 {
        margin-bottom: 45px;
    }

    .graphic-process-item {
        grid-template-columns: 55px 1fr;
        gap: 15px;
    }

    .graphic-process-item h3 {
        font-size: 1.6rem;
    }


    /* =====================================================
       SERVICES
    ===================================================== */

    .graphic-services {
        padding: 100px 0;
    }

    .graphic-services-header {
        width: 88%;
    }

    .graphic-services-grid {
        width: 88%;

        grid-template-columns: 1fr;
    }

    .graphic-service-item {
        min-height: auto;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .graphic-hero {
        min-height: 780px;
        padding: 70px 18px;
    }

    .graphic-hero-content {
        width: 94%;
        padding: 40px 0;
    }

    .graphic-eyebrow {
        gap: 10px;
        margin-bottom: 22px;

        font-size: 0.56rem;
        letter-spacing: 0.2em;
    }

    .graphic-eyebrow span {
        width: 28px;
    }

    .graphic-hero h1 {
        margin-bottom: 24px;

        font-size: clamp(3.4rem, 15vw, 5.5rem);

        line-height: 0.9;
    }

    .graphic-hero-content > p {
        max-width: 520px;

        margin-bottom: 32px;

        font-size: 0.82rem;
        line-height: 1.8;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .graphic-cta {
        padding: 95px 0;
    }

    .graphic-cta-content h2 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }

    .graphic-cta-content p {
        font-size: 0.84rem;
        line-height: 1.8;
    }

    .graphic-cta-button {
        margin-top: 32px;

        padding: 14px 18px 14px 22px;

        font-size: 0.62rem;
    }


    /* =====================================================
       LIGHTBOX
    ===================================================== */

    .graphic-lightbox {
        padding: 20px;
    }

    .graphic-lightbox-content img {
        max-width: 94vw;
        max-height: 88vh;
    }

    .graphic-lightbox-close {
        top: 15px;
        right: 15px;

        width: 46px;
        height: 46px;

        font-size: 1rem;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .graphic-section-header h2,
    .graphic-services-header h2 {
        font-size: 2.8rem;
    }

    .graphic-intro-content h2 {
        font-size: 2.8rem;
    }

    .graphic-project-info h3 {
        font-size: 1.25rem;
    }

    .graphic-process-content h2 {
        font-size: 2.9rem;
    }

    .graphic-section-header > div {
        transform: translate3d(-30px, 0, 0);
    }

    .graphic-section-header > p {
        transform: translate3d(30px, 0, 0);
    }

    .graphic-process-item {
        display: block;
    }

    .graphic-process-item span {
        display: block;
        margin-bottom: 12px;
    }


    /* =====================================================
       SMALL MOBILE PROJECTS
    ===================================================== */

    .graphic-project-grid {
        width: 90%;
        gap: 40px;
    }

    .graphic-project-image {
        aspect-ratio: 0.80 / 1;
        min-height: 0;
    }

    .graphic-project-image img {
        object-fit: contain;
    }

    .graphic-project-info {
        min-height: 120px;

        padding: 16px 16px 18px;

        grid-template-columns: 34px 1fr;
    }

    .graphic-project-info h3 {
        font-size: 1.18rem;
    }

    .graphic-project-info p {
        font-size: 0.59rem;
    }

    .graphic-project-overlay span {
        width: 68px;
        height: 68px;

        font-size: 0.58rem;
    }

    .graphic-project-overlay i {
        right: 18px;
        bottom: 18px;

        font-size: 1rem;
    }


    /* =====================================================
       LIGHTBOX
    ===================================================== */

    .graphic-lightbox {
        padding: 12px;
    }

    .graphic-lightbox-content img {
        max-width: 96vw;
        max-height: 84vh;
    }

    .graphic-lightbox-close {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;

        font-size: 0.95rem;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .graphic-hero {
        min-height: 720px;
        padding: 60px 15px;
    }

    .graphic-hero-content {
        width: 96%;
    }

    .graphic-eyebrow {
        font-size: 0.5rem;
        letter-spacing: 0.17em;
    }

    .graphic-hero h1 {
        font-size: 3.35rem;
        line-height: 0.92;
    }

    .graphic-hero-content > p {
        font-size: 0.78rem;
        line-height: 1.75;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .graphic-project-card,
    .graphic-intro-content,
    .graphic-process-content,
    .graphic-services-header,
    .graphic-services-grid,
    .graphic-cta-content,
    .graphic-section-header > div,
    .graphic-section-header > p,
    .graphic-eyebrow,
    .graphic-hero h1,
    .graphic-hero h1 em,
    .graphic-hero-content > p {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* =========================================================
   IMAGE PERFORMANCE
========================================================= */

.graphic-project-image img {
    filter: none !important;
}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none), (pointer: coarse) {

    .graphic-project-image img {
        transform: none !important;
        transition: none !important;
    }

    .graphic-project-overlay {
        opacity: 0 !important;
    }
}


/* =========================================================
   FINAL PROJECT CONTAINMENT
========================================================= */

.graphic-project-card {
    overflow: hidden;

    content-visibility: auto;

    contain-intrinsic-size: 600px;
}

.graphic-project-image {
    overflow: hidden;
}

.graphic-project-info {
    overflow: hidden;
}


/* =========================================================
   FINAL PROJECT ALIGNMENT
========================================================= */

.graphic-project-grid {
    align-items: start;
}

.graphic-project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.graphic-project-card .graphic-project-image {
    flex-shrink: 0;
}


/* =========================================================
   DESKTOP FINAL PROJECT RULE
========================================================= */

@media (min-width: 769px) {

    .graphic-project-card:nth-child(1),
    .graphic-project-card:nth-child(2),
    .graphic-project-card:nth-child(3),
    .graphic-project-card:nth-child(4),
    .graphic-project-card:nth-child(5),
    .graphic-project-card:nth-child(6) {
        margin-top: 0;
    }
}


/* =========================================================
   TABLET PROJECT RULE
========================================================= */

@media (max-width: 1100px) and (min-width: 769px) {

    .graphic-project-image {
        aspect-ratio: 0.79 / 1;
    }
}


/* =========================================================
   MOBILE PROJECT RULE
========================================================= */

@media (max-width: 768px) {

    .graphic-project-image {
        width: 100%;

        height: auto;

        min-height: 0;

        aspect-ratio: 0.80 / 1;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .graphic-project-image img {
        width: 100%;
        height: 100%;

        object-fit: contain;
    }

    .graphic-project-info {
        min-height: 125px;
    }
}


/* =========================================================
   END
========================================================= */





















/* =========================================================
   WELLS HAMILTON MEDIA
   GRAPHIC DESIGN SHOWCASE
   IMAGE PROJECTS
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --graphic-white: #ffffff;
    --graphic-black: #111111;
    --graphic-black-soft: #151515;

    --graphic-text: #101010;
    --graphic-muted: #777777;

    --graphic-light: #f7f7f7;
    --graphic-border: rgba(17, 17, 17, 0.14);

    --graphic-grey: #b9b9b9;

    --graphic-ease:
        cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   RESET
========================================================= */

.graphic-projects *,
.graphic-projects *::before,
.graphic-projects *::after {
    box-sizing: border-box;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.graphic-projects {

    position: relative;

    width: 100%;

    padding: 95px 0 130px;

    background: var(--graphic-white);

    color: var(--graphic-text);

    overflow: hidden;

    isolation: isolate;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.graphic-projects-container {

    width: min(1375px, calc(100% - 80px));

    margin: 0 auto;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.graphic-projects-header {

    position: relative;

    display: grid;

    grid-template-columns: 1fr 390px;

    align-items: end;

    column-gap: 90px;

    min-height: 155px;

    margin-bottom: 55px;
}


/* =========================================================
   EYEBROW
========================================================= */

.graphic-projects-eyebrow {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 24px;

    color: #a2a2a2;

    font-family: "Inter", sans-serif;

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.25em;

    line-height: 1;

    text-transform: uppercase;
}

.graphic-projects-eyebrow span {

    display: block;

    width: 36px;

    height: 1px;

    background: #bcbcbc;
}


/* =========================================================
   MAIN HEADING
========================================================= */

.graphic-projects-heading h2 {

    margin: 0;

    color: #111111;

    font-family: "Playfair Display", serif;

    font-size: clamp(4.5rem, 4.4vw, 7rem);

    font-weight: 500;

    line-height: 0.86;

    letter-spacing: -0.055em;

    white-space: nowrap;
}

.graphic-projects-heading h2 em {

    color: #bcbcbc;

    font-family: "Playfair Display", serif;

    font-style: italic;

    font-weight: 400;
}


/* =========================================================
   HEADER DESCRIPTION
========================================================= */

.graphic-projects-description {

    position: relative;

    display: flex;

    align-items: center;

    gap: 25px;

    align-self: center;

    margin-top: 25px;

    padding-right: 45px;

    z-index: 2;
}

.graphic-description-line {

    display: block;

    width: 1px;

    min-width: 1px;

    height: 70px;

    background: #bdbdbd;
}

.graphic-projects-description p {

    max-width: 300px;

    margin: 0;

    color: #676767;

    font-family: "Inter", sans-serif;

    font-size: 0.72rem;

    font-weight: 400;

    line-height: 1.75;
}


/* =========================================================
   DECORATIVE DIAMOND
========================================================= */

.graphic-header-diamond {

    position: absolute;

    top: -45px;

    right: -20px;

    width: 95px;

    height: 95px;

    border: 1px solid rgba(140, 140, 140, 0.32);

    transform: rotate(45deg);

    pointer-events: none;

    z-index: 0;
}

.graphic-header-diamond::before {

    content: "";

    position: absolute;

    inset: 19px;

    border: 1px solid rgba(160, 160, 160, 0.13);
}


/* =========================================================
   PROJECT GRID
========================================================= */

.graphic-project-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: 28px;

    row-gap: 28px;

    width: 100%;

    align-items: start;
}


/* =========================================================
   PROJECT CARD
========================================================= */

.graphic-project-card {

    position: relative;

    min-width: 0;

    background: #111111;

    overflow: hidden;

    opacity: 1;

    transform: translate3d(0, 0, 0);

    transition:
        transform 0.55s var(--graphic-ease),
        box-shadow 0.55s var(--graphic-ease);

    contain: layout paint;
}


/* =========================================================
   CARD HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .graphic-project-card:hover {

        transform:
            translate3d(0, -5px, 0);

        box-shadow:
            0 18px 45px rgba(0, 0, 0, 0.13);
    }
}


/* =========================================================
   PROJECT IMAGE
========================================================= */

.graphic-project-image {

    position: relative;

    width: 100%;

    aspect-ratio: 0.795 / 1;

    overflow: hidden;

    background: #eeeeee;

    cursor: pointer;

    isolation: isolate;
}


/* =========================================================
   IMAGE
========================================================= */

.graphic-project-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    margin: 0;

    padding: 0;

    border: 0;

    opacity: 1;

    transform: translate3d(0, 0, 0);

    transition:
        transform 0.75s var(--graphic-ease);

    backface-visibility: hidden;

    -webkit-backface-visibility: hidden;

    will-change: transform;
}


/* =========================================================
   IMAGE HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .graphic-project-card:hover
    .graphic-project-image img {

        transform:
            scale(1.025);
    }
}


/* =========================================================
   PROJECT OVERLAY
========================================================= */

.graphic-project-overlay {

    position: absolute;

    inset: 0;

    z-index: 4;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    padding: 0;

    border: 0;

    background:
        rgba(8, 8, 8, 0.48);

    color: #ffffff;

    opacity: 0;

    cursor: pointer;

    transition:
        opacity 0.4s ease;

    appearance: none;
}

.graphic-project-overlay span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 74px;

    height: 74px;

    border: 1px solid
        rgba(255, 255, 255, 0.8);

    border-radius: 50%;

    color: #ffffff;

    font-family: "Inter", sans-serif;

    font-size: 0.53rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-align: center;

    transform: scale(0.82);

    transition:
        transform 0.4s var(--graphic-ease);
}

.graphic-project-overlay i {

    position: absolute;

    right: 20px;

    bottom: 20px;

    color: #ffffff;

    font-size: 0.85rem;
}


/* =========================================================
   OVERLAY HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .graphic-project-card:hover
    .graphic-project-overlay {

        opacity: 1;
    }

    .graphic-project-card:hover
    .graphic-project-overlay span {

        transform: scale(1);
    }
}


/* =========================================================
   PROJECT INFORMATION
========================================================= */

.graphic-project-info {

    display: grid;

    grid-template-columns: 42px 1fr;

    gap: 14px;

    min-height: 132px;

    padding: 18px 20px 20px;

    background:
        linear-gradient(
            135deg,
            #111111 0%,
            #141414 100%
        );

    color: #ffffff;
}


/* =========================================================
   PROJECT NUMBER
========================================================= */

.graphic-project-number {

    padding-top: 4px;

    color: rgba(255, 255, 255, 0.82);

    font-family: "Cormorant Garamond", serif;

    font-size: 0.82rem;

    font-weight: 600;

    line-height: 1;

    letter-spacing: 0.02em;
}


/* =========================================================
   PROJECT DETAILS
========================================================= */

.graphic-project-details {

    min-width: 0;
}


/* =========================================================
   PROJECT TITLE
========================================================= */

.graphic-project-details h3 {

    margin: 0 0 7px;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: clamp(1.05rem, 1.35vw, 1.3rem);

    font-weight: 500;

    line-height: 1.1;

    letter-spacing: -0.025em;
}


/* =========================================================
   PROJECT DESCRIPTION
========================================================= */

.graphic-project-details p {

    max-width: 260px;

    margin: 0;

    color: rgba(255, 255, 255, 0.58);

    font-family: "Inter", sans-serif;

    font-size: 0.55rem;

    font-weight: 400;

    line-height: 1.55;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.graphic-lightbox {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    padding: 30px;

    background:
        rgba(5, 5, 5, 0.96);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.graphic-lightbox.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   LIGHTBOX CONTENT
========================================================= */

.graphic-lightbox-content {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    transform: scale(0.95);

    transition:
        transform 0.4s var(--graphic-ease);
}

.graphic-lightbox.active
.graphic-lightbox-content {

    transform: scale(1);
}

.graphic-lightbox-content img {

    display: block;

    width: auto;

    height: auto;

    max-width: 94vw;

    max-height: 92vh;

    object-fit: contain;

    user-select: none;

    -webkit-user-drag: none;

    cursor: zoom-out;
}


/* =========================================================
   LIGHTBOX CLOSE
========================================================= */

.graphic-lightbox-close {

    position: fixed;

    top: 30px;

    right: 30px;

    z-index: 100000;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #565b60;

    color: #ffffff;

    font-size: 1.1rem;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {

    .graphic-lightbox-close:hover {

        background: #222222;

        transform:
            rotate(90deg);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .graphic-projects-container {

        width: min(
            92%,
            1000px
        );
    }

    .graphic-projects-header {

        grid-template-columns:
            1fr 310px;

        column-gap: 45px;
    }

    .graphic-projects-heading h2 {

        font-size:
            clamp(
                4rem,
                7vw,
                5.8rem
            );
    }

    .graphic-project-grid {

        column-gap: 18px;

        row-gap: 22px;
    }

    .graphic-project-info {

        grid-template-columns:
            35px 1fr;

        gap: 10px;

        min-height: 125px;

        padding:
            16px 15px 18px;
    }

    .graphic-project-details h3 {

        font-size: 1.05rem;
    }

    .graphic-project-details p {

        font-size: 0.52rem;
    }

    .graphic-header-diamond {

        right: -5px;

        width: 75px;

        height: 75px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .graphic-projects {

        padding:
            75px 0 95px;
    }


    /* HEADER */

    .graphic-projects-container {

        width: 88%;
    }

    .graphic-projects-header {

        display: block;

        min-height: auto;

        margin-bottom: 45px;
    }

    .graphic-projects-heading {

        position: relative;

        z-index: 3;
    }

    .graphic-projects-eyebrow {

        margin-bottom: 20px;

        font-size: 0.56rem;

        letter-spacing: 0.2em;
    }

    .graphic-projects-heading h2 {

        font-size:
            clamp(
                3.2rem,
                15vw,
                5rem
            );

        line-height: 0.9;

        white-space: normal;
    }

    .graphic-projects-description {

        display: flex;

        align-items: center;

        gap: 18px;

        margin-top: 35px;

        padding-right: 0;
    }

    .graphic-description-line {

        height: 60px;
    }

    .graphic-projects-description p {

        max-width: 330px;

        font-size: 0.68rem;

        line-height: 1.65;
    }

    .graphic-header-diamond {

        top: -10px;

        right: -30px;

        width: 70px;

        height: 70px;

        opacity: 0.65;
    }


    /* GRID */

    .graphic-project-grid {

        grid-template-columns: 1fr;

        gap: 38px;
    }


    /* IMAGE */

    .graphic-project-image {

        aspect-ratio:
            0.795 / 1;
    }


    /* INFORMATION */

    .graphic-project-info {

        grid-template-columns:
            40px 1fr;

        gap: 12px;

        min-height: 125px;

        padding:
            17px 17px 19px;
    }

    .graphic-project-number {

        font-size: 0.78rem;
    }

    .graphic-project-details h3 {

        font-size: 1.2rem;

        margin-bottom: 8px;
    }

    .graphic-project-details p {

        max-width: 350px;

        font-size: 0.58rem;

        line-height: 1.55;
    }


    /* OVERLAY */

    .graphic-project-overlay span {

        width: 68px;

        height: 68px;

        font-size: 0.5rem;
    }

    .graphic-project-overlay i {

        right: 16px;

        bottom: 16px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .graphic-projects {

        padding:
            65px 0 80px;
    }

    .graphic-projects-container {

        width: 90%;
    }

    .graphic-projects-eyebrow {

        font-size: 0.5rem;

        gap: 10px;
    }

    .graphic-projects-eyebrow span {

        width: 28px;
    }

    .graphic-projects-heading h2 {

        font-size: 3.25rem;
    }

    .graphic-projects-description {

        margin-top: 28px;
    }

    .graphic-projects-description p {

        font-size: 0.62rem;
    }

    .graphic-project-grid {

        gap: 32px;
    }

    .graphic-project-info {

        grid-template-columns:
            34px 1fr;

        gap: 9px;

        min-height: 118px;

        padding:
            15px 15px 17px;
    }

    .graphic-project-number {

        font-size: 0.7rem;
    }

    .graphic-project-details h3 {

        font-size: 1.08rem;
    }

    .graphic-project-details p {

        font-size: 0.55rem;
    }

    .graphic-header-diamond {

        width: 58px;

        height: 58px;

        right: -22px;
    }

    .graphic-lightbox {

        padding: 12px;
    }

    .graphic-lightbox-content img {

        max-width: 96vw;

        max-height: 86vh;
    }

    .graphic-lightbox-close {

        top: 12px;

        right: 12px;

        width: 42px;

        height: 42px;
    }
}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none), (pointer: coarse) {

    .graphic-project-card:hover {

        transform: none;

        box-shadow: none;
    }

    .graphic-project-card:hover
    .graphic-project-image img {

        transform: none;
    }

    .graphic-project-overlay {

        opacity: 0;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .graphic-project-card,
    .graphic-project-image img,
    .graphic-project-overlay,
    .graphic-project-overlay span,
    .graphic-lightbox,
    .graphic-lightbox-content,
    .graphic-lightbox-close {

        transition: none !important;
    }
}


/* =========================================================
   IMAGE PERFORMANCE
========================================================= */

.graphic-project-image img {

    content-visibility: auto;

    backface-visibility: hidden;

    -webkit-backface-visibility: hidden;
}








/* =========================================================
   GRAPHIC PROJECTS — LARGER CONTENT WIDTH
========================================================= */

.graphic-projects-container {
    width: min(1280px, calc(100% - 90px));
    margin: 0 auto;
}
body {
    padding-top: 105px;
}