
/* =========================================
   OUR WORK PAGE — PREMIUM ANIMATED CSS
   Theme: Navy Blue + Orange Gradient
========================================= */

:root {
    --work-navy: #11182a;
    --work-dark: #0c1322;
    --work-orange: #ff9200;
    --work-red: #ff503b;
    --work-text: #182136;
    --work-muted: #737d90;
    --work-light: #f6f8fc;
    --work-white: #ffffff;
    --work-radius: 16px;
    --work-shadow: 0 15px 40px rgba(16, 24, 42, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--work-text);
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

/* =========================================
   HERO SECTION
========================================= */

.work-hero {
    min-height: 510px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 85px clamp(25px, 9%, 135px) 75px;
    color: white;
    background:
        radial-gradient(
            circle at 82% 40%,
            rgba(255, 135, 0, 0.10),
            transparent 23%
        ),
        radial-gradient(
            circle at 65% 85%,
            rgba(72, 89, 140, 0.18),
            transparent 35%
        ),
        linear-gradient(120deg, #101728, #1c2438 58%, #101625);
}

.work-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, black, transparent 95%);
}

.work-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 330px;
    height: 330px;
    top: -200px;
    right: 12%;
    border: 1px solid rgba(255, 146, 0, 0.22);
    border-radius: 50%;
    box-shadow:
        0 0 0 30px rgba(255,146,0,.025),
        0 0 0 65px rgba(255,146,0,.018);
    animation: workOrbit 18s linear infinite;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 30px 0px;
    max-width: 590px;
    animation: workFadeUp .9s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffb65b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.eyebrow i {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 2px;
    background: var(--work-orange);
    box-shadow: 0 0 14px rgba(255,146,0,.8);
    animation: workBlink 2s infinite;
}

.work-hero h1 {
    margin: 22px 0 18px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2.5px;
}

.work-hero h1 span,
.section-heading h2 span,
.intro-strip h2 span,
.cta-content h2 span {
    color: var(--work-orange);
    background: linear-gradient(90deg, #ffb323, #ff503b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy > p {
    max-width: 475px;
    margin: 0;
    color: #b8c1d1;
    font-size: 13px;
    line-height: 1.95;
}

/* HERO BUTTONS */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 28px;
}

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 0 21px;
    border-radius: 30px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .7px;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.btn-primary {
    color: white;
    background: linear-gradient(105deg, #ff9700, #ff503b);
    box-shadow: 0 8px 22px rgba(255, 100, 35, .25);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(255, 100, 35, .38);
}

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.025);
}

.btn-outline:hover {
    color: #ffb04b;
    border-color: var(--work-orange);
    background: rgba(255,146,0,.06);
    transform: translateY(-3px);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 30px;
    color: #9ba6ba;
    font-size: 10px;
}

.note-line {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, #ff9b16, transparent);
}

/* FLOATING HERO CARD */

.hero-feature {
    position: absolute;
    z-index: 2;
    top: 95px;
    right: clamp(35px, 12%, 180px);
    width: 225px;
    min-height: 270px;
    padding: 27px 23px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 60%, rgba(255,146,0,.13), transparent 55%),
        linear-gradient(145deg, #232d43, #111827);
    box-shadow: 0 28px 70px rgba(0,0,0,.35);
    animation: workFloat 5s ease-in-out infinite;
}

.feature-icon {
    color: var(--work-orange);
    font-size: 30px;
}

.feature-kicker {
    display: block;
    margin-top: 17px;
    color: #aeb9cb;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero-feature h2 {
    position: relative;
    z-index: 1;
    margin: 10px 0;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.08;
}

.hero-feature h2 em {
    color: var(--work-orange);
    font-style: normal;
}

.hero-feature p {
    position: relative;
    z-index: 1;
    color: #aeb8c9;
    font-size: 10px;
    line-height: 1.8;
}

.feature-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
    padding: 10px 14px;
    border-radius: 30px;
    color: white;
    background: linear-gradient(100deg, #ff9700, #ff503b);
    font-size: 8px;
    font-weight: 900;
    transition: .3s ease;
}

.feature-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255,100,35,.3);
}

.feature-ring {
    position: absolute;
    top: -85px;
    right: -100px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255,146,0,.22);
    border-radius: 50%;
    box-shadow:
        0 0 0 20px rgba(255,146,0,.04),
        0 0 0 42px rgba(255,146,0,.025);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb-one {
    top: 15%;
    right: 42%;
    width: 7px;
    height: 7px;
    background: #ff9c16;
    box-shadow: 0 0 20px #ff9c16;
    animation: workBlink 2.5s infinite;
}

.orb-two {
    right: 8%;
    bottom: 13%;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255,255,255,.07);
    animation: workOrbit 15s linear infinite reverse;
}

.hero-bottom {
    position: absolute;
    left: clamp(25px, 9%, 135px);
    right: clamp(25px, 9%, 135px);
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8490a5;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.bottom-rule {
    width: 55px;
    height: 1px;
    background: linear-gradient(90deg, #ff9200, transparent);
}

/* =========================================
   INTRODUCTION SECTION
========================================= */

.intro-strip {
    display: grid;
    grid-template-columns: 1.05fr 1.3fr auto;
    align-items: center;
    gap: 40px;
    padding: 70px clamp(25px, 9%, 135px);
    background: #fff;
}

.dark-eyebrow {
    color: #858e9e;
}

.intro-strip h2 {
    margin: 14px 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.intro-strip > p {
    margin: 0;
    color: var(--work-muted);
    font-size: 16px;
    line-height: 1.95;
}

.intro-stat {
    min-width: 120px;
    padding-left: 24px;
    border-left: 1px solid #e7eaf0;
}

.intro-stat strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 900;
}

.intro-stat strong span {
    color: var(--work-red);
}

.intro-stat small {
    display: block;
    margin-top: 7px;
    color: #8b94a3;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* =========================================
   PORTFOLIO SECTION
========================================= */

.portfolio-section {
    padding: 80px clamp(22px, 7%, 105px) 95px;
    background:
        radial-gradient(circle at 5% 20%, rgba(255,146,0,.035), transparent 22%),
        #f7f9fc;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading h2 {
    margin: 13px 0 10px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 900;
    letter-spacing: -1.8px;
}

.section-heading > p {
    margin: 0;
    color: var(--work-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* CATEGORY FILTERS */

.filter-wrap > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 auto 35px;
}

.filters label {
    padding: 13px 24px;
    border: 1px solid #e3e7ee;
    border-radius: 30px;
    color: #697386;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition:
        color .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.filters label:hover {
    color: var(--work-red);
    border-color: var(--work-orange);
    transform: translateY(-2px);
}

#all:checked ~ .filters label[for="all"],
#branding:checked ~ .filters label[for="branding"],
#digital:checked ~ .filters label[for="digital"],
#social:checked ~ .filters label[for="social"],
#campaigns:checked ~ .filters label[for="campaigns"] {
    color: white;
    border-color: transparent;
    background: linear-gradient(105deg, #ff9700, #ff503b);
    box-shadow: 0 7px 18px rgba(255,100,35,.22);
}

/* PROJECT GRID */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px 23px;
}

.project-card {
    min-width: 0;
    animation: workFadeUp .65s ease both;
}

.project-card:nth-child(2) {
    animation-delay: .08s;
}

.project-card:nth-child(3) {
    animation-delay: .16s;
}

.project-card:nth-child(4) {
    animation-delay: .10s;
}

.project-card:nth-child(5) {
    animation-delay: .18s;
}

.project-card:nth-child(6) {
    animation-delay: .26s;
}

.project-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.38 / 1;
    border-radius: var(--work-radius);
    background: #e5e8ee;
    isolation: isolate;
    box-shadow: 0 8px 24px rgba(18,28,48,.07);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .7s cubic-bezier(.2,.75,.25,1),
        filter .45s ease;
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(
        0deg,
        rgba(12,19,34,.88),
        rgba(12,19,34,.02) 75%
    );
    transition: opacity .4s ease;
}

.project-image:hover img {
    transform: scale(1.09);
    filter: saturate(1.12);
}

.project-image:hover::after {
    opacity: 1;
}

.project-number {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 13px;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 9px;
    color: white;
    background: rgba(17,24,42,.72);
    backdrop-filter: blur(8px);
    font-size: 9px;
    font-weight: 900;
}

.image-overlay {
    position: absolute;
    z-index: 3;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(12px);
    transition: .35s ease;
}

.image-overlay b {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(100deg, #ff9700, #ff503b);
    font-size: 15px;
    transition: transform .3s ease;
}

.project-image:hover .image-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-image:hover .image-overlay b {
    transform: rotate(45deg);
}

/* PROJECT TITLES */

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 17px;
}

.project-type {
    color: #f47720;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.project-meta h3 {
    margin: 7px 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.3px;
    transition: color .25s ease;
}

.project-card:hover .project-meta h3 {
    color: #f36b26;
}

.project-card > p {
    margin: 8px 0 0;
    color: #000000;
    font-size: 16px;
    line-height: 1.8;
}

.round-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    border: 1px solid #e2e6ed;
    border-radius: 50%;
    color: #536074;
    background: white;
    transition: .3s ease;
}

.round-arrow:hover {
    color: white;
    border-color: transparent;
    background: linear-gradient(100deg, #ff9700, #ff503b);
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(255,100,35,.22);
}

/* CSS CATEGORY FILTERING */

#branding:checked ~ .project-grid .project-card:not(.branding),
#digital:checked ~ .project-grid .project-card:not(.digital),
#social:checked ~ .project-grid .project-card:not(.social),
#campaigns:checked ~ .project-grid .project-card:not(.campaigns) {
    display: none;
}

/* =========================================
   WORK PROCESS SECTION
========================================= */

.process-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 85px clamp(22px, 9%, 135px) 95px;
    color: white;
    background:
        radial-gradient(ellipse at 50% 0%, #29344d, transparent 55%),
        linear-gradient(120deg, #101728, #182238);
}

.process-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .12;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 25px 25px;
    mask-image: linear-gradient(90deg, transparent, black, transparent);
}

.light-heading h2 {
    color: white;
}

.light-heading > p {
    color: #aab4c6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 55px;
}

.process-step {
    position: relative;
    padding: 25px 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.process-step::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff9700, #ff503b);
    transition: width .4s ease;
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(255,146,0,.45);
    background: rgba(255,255,255,.07);
}

.process-step:hover::after {
    width: 100%;
}

.step-num {
    position: absolute;
    top: 19px;
    right: 19px;
    color: #737f95;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.step-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    margin-bottom: 23px;
    border-radius: 12px;
    color: #ffb23d;
    background: rgba(255,146,0,.12);
    font-size: 22px;
    transition: transform .3s ease, background .3s ease;
}

.process-step:hover .step-icon {
    transform: translateY(-3px) rotate(-5deg);
    background: rgba(255,146,0,.20);
}

.process-step h3 {
    margin: 0 0 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.process-step p {
    margin: 0;
    color: #a8b3c6;
    font-size: 16px;
    line-height: 1.9;
}

/* =========================================
   CONTACT CTA SECTION
========================================= */

.cta-section {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
    overflow: hidden;
    padding: 85px clamp(25px, 9%, 135px);
    background: #f7f9fc;
}

.cta-glow {
    position: absolute;
    z-index: -1;
    top: -230px;
    left: 25%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,146,0,.09);
    filter: blur(45px);
    animation: workFloat 7s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 550px;
}

.cta-content h2 {
    margin: 16px 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(35px, 4vw, 51px);
    font-weight: 900;
    line-height: 1.13;
    letter-spacing: -2px;
    color: #fff !important;
}

.cta-content > p {
    max-width: 450px;
    margin: 0 0 24px;
    color: var(--work-muted);
    font-size: 16px;
    line-height: 1.9;
}

.cta-card {
    position: relative;
    width: min(330px, 38%);
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    color: white;
    background:
        radial-gradient(circle at 80% 10%, rgba(255,146,0,.15), transparent 45%),
        linear-gradient(145deg, #202b40, #101727);
    box-shadow: 0 22px 50px rgba(16,24,42,.20);
    transition: transform .35s ease, box-shadow .35s ease;
}

.cta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 55px rgba(16,24,42,.25);
}

.cta-card-icon {
    display: block;
    margin-bottom: 25px;
    color: var(--work-orange);
    font-size: 30px;
    animation: workBlink 3s infinite;
}

.cta-card small {
    color: #b7c0cf;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.cta-card h3 {
    margin: 12px 0 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.25;
}

.cta-card h3 span {
    color: #ffab29;
}

.cta-card-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #ff9200, transparent);
}

.cta-card p {
    margin: 15px 0 0;
    color: #adb7c7;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes workFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes workFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes workOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes workBlink {
    0%, 100% {
        opacity: .55;
    }

    50% {
        opacity: 1;
    }
}

/* =========================================
   RESPONSIVE CSS — OUR WORK PAGE
   Add this at the END of your existing CSS
========================================= */

/* Prevent horizontal overflow */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
}

/* Large laptops and tablets */
@media (max-width: 1100px) {
    .work-hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-feature {
        right: 5%;
        width: 205px;
    }

    .hero-copy {
        max-width: 55%;
    }

    .intro-strip {
        padding-left: 5%;
        padding-right: 5%;
        gap: 24px;
    }

    .portfolio-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .project-grid {
        gap: 26px 16px;
    }

    .project-meta h3 {
        font-size: 15px;
    }

    .project-card > p {
        font-size: 14px;
    }

    .process-section,
    .cta-section {
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .work-hero {
        min-height: auto;
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .work-hero h1 {
        font-size: clamp(36px, 5.5vw, 50px);
        letter-spacing: -1.5px;
    }

    .hero-copy {
        max-width: 52%;
    }

    .hero-feature {
        top: 90px;
        right: 5%;
        width: 200px;
        padding: 22px 18px;
    }

    .hero-feature h2 {
        font-size: 21px;
    }

    .hero-bottom {
        left: 5%;
        right: 5%;
    }

    .intro-strip {
        grid-template-columns: 1fr auto;
        gap: 22px;
        padding: 55px 5%;
    }

    .intro-strip h2 {
        font-size: 30px;
    }

    .intro-strip > p {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 14px;
    }

    .intro-stat {
        grid-column: 2;
        grid-row: 1;
        min-width: 85px;
        padding-left: 16px;
    }

    .intro-stat strong {
        font-size: 32px;
    }

    .portfolio-section {
        padding: 60px 4% 70px;
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .project-image {
        aspect-ratio: 1.25 / 1;
    }

    .project-meta h3 {
        font-size: 14px;
    }

    .project-card > p {
        font-size: 12px;
    }

    .process-section {
        padding: 60px 4% 70px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        margin-top: 35px;
    }

    .process-step {
        padding: 22px 18px;
    }

    .process-step h3 {
        font-size: 15px;
    }

    .process-step p {
        font-size: 13px;
    }

    .cta-section {
        padding: 60px 5%;
        gap: 25px;
    }

    .cta-content h2 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .cta-content > p {
        font-size: 14px;
    }

    .cta-card {
        width: 40%;
        padding: 24px;
    }

    .cta-card h3 {
        font-size: 23px;
    }

    .cta-card p {
        font-size: 13px;
    }
}

/* Mobile phones */
@media (max-width: 760px) {
    .work-hero {
        padding: 55px 22px 75px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .work-hero h1 {
        margin: 18px 0 15px;
        font-size: clamp(34px, 8vw, 48px);
        line-height: 1.12;
        letter-spacing: -1.4px;
        overflow-wrap: anywhere;
    }

    .hero-copy > p {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.8;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 22px;
    }

    .btn {
        min-height: 42px;
        padding: 0 17px;
        gap: 10px;
        font-size: 9px;
    }

    .hero-note {
        margin-top: 22px;
        font-size: 9px;
    }

    .hero-feature {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 330px;
        min-height: 0;
        margin: 35px 0 0 auto;
        padding: 24px;
    }

    .hero-feature h2 {
        font-size: 23px;
    }

    .hero-feature p {
        font-size: 11px;
    }

    .hero-bottom {
        left: 22px;
        right: 22px;
        bottom: 20px;
        font-size: 7px;
        letter-spacing: 1px;
    }

    .intro-strip {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 45px 22px;
        gap: 18px;
    }

    .intro-strip h2 {
        font-size: clamp(24px, 6vw, 30px);
        letter-spacing: -1px;
    }

    .intro-strip > p {
        grid-column: 1 / -1;
        grid-row: auto;
        font-size: 13px;
        line-height: 1.8;
    }

    .intro-stat {
        min-width: 0;
        padding-left: 13px;
    }

    .intro-stat strong {
        font-size: 29px;
    }

    .intro-stat small {
        font-size: 15px;
        letter-spacing: .5px;
        text-align: center !important;
    }

    .portfolio-section {
        padding: 50px 18px 60px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: clamp(25px, 6vw, 34px);
        letter-spacing: -1px;
        line-height: 1.2;
    }

    .section-heading > p {
        font-size: 13px;
        line-height: 1.8;
    }

    .filters {
        gap: 7px;
        margin-bottom: 25px;
    }

    .filters label {
        padding: 9px 13px;
        font-size: 10px;
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 12px;
    }

    .project-image {
        aspect-ratio: 1 / 1;
        border-radius: 11px;
    }

    .project-number {
        top: 8px;
        left: 8px;
        width: 27px;
        height: 27px;
        font-size: 8px;
    }

    .image-overlay {
        right: 9px;
        bottom: 9px;
        left: 9px;
        font-size: 7px;
        letter-spacing: .5px;
    }

    .image-overlay b {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .project-meta {
        align-items: flex-start;
        gap: 7px;
        margin-top: 11px;
    }

    .project-type {
        font-size: 7px;
        letter-spacing: .7px;
    }

    .project-meta h3 {
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .round-arrow {
        flex: 0 0 27px;
        width: 27px;
        height: 27px;
    }

    .project-card > p {
        margin-top: 6px;
        font-size: 10px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .process-section {
        padding: 50px 20px 60px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 30px;
    }

    .process-step {
        padding: 19px 14px;
        border-radius: 12px;
    }

    .step-icon {
        width: 39px;
        height: 39px;
        margin-bottom: 16px;
        font-size: 19px;
    }

    .step-num {
        top: 14px;
        right: 13px;
        font-size: 11px;
    }

    .process-step h3 {
        font-size: 13px;
        line-height: 1.4;
    }

    .process-step p {
        font-size: 11px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    .cta-section {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
        padding: 50px 22px;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-content h2 {
        font-size: clamp(29px, 7vw, 38px);
        line-height: 1.18;
        letter-spacing: -1px;
        overflow-wrap: anywhere;
    }

    .cta-content > p {
        font-size: 13px;
        line-height: 1.8;
    }

    .cta-card {
        width: 100%;
        max-width: 100%;
        padding: 24px;
        border-radius: 15px;
    }

    .cta-card h3 {
        font-size: 24px;
    }

    .cta-card p {
        font-size: 12px;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .work-hero {
        padding: 45px 18px 70px;
    }

    .work-hero h1 {
        font-size: clamp(31px, 9vw, 40px);
        letter-spacing: -1px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 240px;
    }

    .btn {
        width: 100%;
        font-size: 14px !important;
        justify-content: space-between;
    }

    .hero-feature {
        margin-top: 28px;
        padding: 21px;
    }

    .hero-feature h2 {
        font-size: 21px;
    }

    .intro-strip {
        padding: 38px 18px;
        gap: 14px;
    }

    .intro-strip h2 {
        font-size: 24px;
    }

    .intro-stat strong {
        font-size: 25px;
    }

    .intro-stat small {
        max-width: 80px;
        line-height: 1.5;
    }

    .portfolio-section {
        padding: 45px 15px 50px;
    }

    .filters {
        justify-content: center;
        gap: 6px;
    }

    .filters label {
        padding: 8px 10px;
        font-size: 9px;
    }

    .project-grid {
        gap: 23px 10px;
    }

    .project-image {
        aspect-ratio: 0.95 / 1;
    }

    .project-meta h3 {
        font-size: 11px;
    }

    .project-card > p {
        font-size: 9px;
    }

    .process-section {
        padding: 45px 15px 50px;
    }

    .process-grid {
        gap: 9px;
    }

    .process-step {
        padding: 17px 11px;
    }

    .process-step h3 {
        font-size: 12px;
    }

    .process-step p {
        font-size: 10px;
    }

    .cta-section {
        padding: 45px 18px;
    }

    .cta-content h2 {
        font-size: 30px;
    }

    .cta-card {
        padding: 21px;
    }
}

/* Extra-small screens */
@media (max-width: 350px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .intro-stat{
        width: 100%;
        text-align: center;
    }
    .project-image {
        aspect-ratio: 1.3 / 1;
    }

    .project-meta h3 {
        font-size: 14px;
    }

    .project-card > p {
        font-size: 11px;
    }

    .intro-strip {
        grid-template-columns: 1fr;
    }

    .intro-stat {
        grid-column: 1;
        grid-row: auto;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid #e7eaf0;
        padding-top: 15px;
    }

    .intro-strip > p {
        grid-column: 1;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .filters label {
        padding: 8px 9px;
    }
}

/* Accessibility: respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
