/* Reset / Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Root Variables */
:root {
    --color-accent: #ef902d;
    --color-accent-rgb: 239, 144, 45;
    --color-text-primary: #1f242d;
    --color-text-secondary: #3a404b;
    --color-border: rgba(217, 222, 230, 0.72);
    --color-border-strong: rgba(217, 222, 230, 0.9);
    --color-border-accent: rgba(var(--color-accent-rgb), 0.25);
    --color-surface: #ffffff;
    --color-surface-soft: #f7f8fb;
    --color-shadow-soft: rgba(24, 24, 33, 0.08);
    --color-shadow-base: rgba(24, 24, 33, 0.12);
    --color-shadow-strong: rgba(24, 24, 33, 0.16);
    --layout-max: 1280px;
    --layout-edge: clamp(20px, 4vw, 40px);
    --section-space: clamp(50px, 5vw, 96px);
    --section-space-mobile: clamp(54px, 9vw, 68px);
    --section-gap: 20px;
    --grid-gap: 28px;
    --card-pad: 28px;
    --motion-fast: 0.34s;
    --motion-base: 0.34s;
    --motion-slow: 0.34s;
    --radius-pill: 999px;
    --radius-section: 20px;
    --radius-card: 16px;
    --radius-control: 10px;
    --radius-chip: 8px;
    --type-heading-section-size: clamp(32px, 3vw, 36px);
    --type-heading-section-weight: 700;
    --type-heading-section-tracking: -0.3px;
    --type-card-title-size: 21px;
    --type-card-title-weight: 600;
    --type-body-size: 16px;
    --type-body-line: 1.65;
    --type-body-weight: 400;
    --type-body-color: var(--color-text-secondary);
    --type-heading-gap: 26px;
    --type-paragraph-gap: 20px;
    --type-footer-size: 13px;
}

@media (max-width: 768px) {
    :root {
        --layout-edge: 20px;
        --section-gap: 16px;
        --grid-gap: 20px;
        --card-pad: 24px;
        --type-heading-section-size: 30px;
        --type-card-title-size: 20px;
        --type-heading-gap: 24px;
        --type-paragraph-gap: 18px;
    }
}

/* Layout */
.container,
.hero-box,
.client-box,
.wm-grid {
    width: min(100%, var(--layout-max));
    margin-inline: auto;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}


body {
    background:
        radial-gradient(circle at 8% 6%, rgba(36, 42, 53, 0.05), transparent 24%),
        radial-gradient(circle at 90% 2%, rgba(36, 42, 53, 0.03), transparent 22%),
        var(--color-surface);
}

p {
    font-size: var(--type-body-size);
    line-height: var(--type-body-line);
    font-weight: var(--type-body-weight);
    color: var(--type-body-color);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    padding: 20px 40px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(250, 251, 253, 0.72));
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    border-bottom: 1px solid rgba(217, 222, 230, 0.74);
    box-shadow: 0 6px 18px rgba(24, 24, 33, 0.05);
    transition:
        padding var(--motion-base) ease,
        box-shadow var(--motion-base) ease,
        background-color var(--motion-base) ease,
        border-color var(--motion-base) ease,
        backdrop-filter var(--motion-base) ease;
}

.navbar.is-scrolled {
    padding: 14px 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 249, 252, 0.88));
    border-bottom-color: rgba(217, 222, 230, 0.92);
    box-shadow:
        0 14px 28px rgba(24, 24, 33, 0.1),
        0 2px 0 rgba(255, 255, 255, 0.55) inset;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.logo img {
    height: 46px;
    width: 55px;
}

.logo-text span {
    color: var(--color-accent);
}

nav {
    height: 46px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: auto;

}

nav a {
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 540;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--motion-base) ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}


nav a:hover {
    color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.08);
}

.cta {
    background: linear-gradient(135deg, #ec8a22 0%, var(--color-accent) 62%, #f2a14a 100%);
    color: #ffffff;
    font-weight: 800;
    border: none;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(var(--color-accent-rgb), 0.26);
    transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.cta:hover {
    background-color: rgba(var(--color-accent-rgb), 0.12);
    color: rgb(42, 41, 41);
    border: 1px solid var(--color-accent);
    font-weight: 800;
    border: none;
    border-radius: var(--radius-pill);
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(var(--color-accent-rgb), 0.18);
}

.menu-toggle,
.mobile-menu-overlay {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

@keyframes menuOverlayFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .navbar {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 251, 253, 0.8));
        border-bottom-color: rgba(217, 222, 230, 0.58);
        backdrop-filter: blur(12px) saturate(1.12);
        -webkit-backdrop-filter: blur(12px) saturate(1.12);
    }

    .navbar.is-scrolled {
        padding: 12px 20px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 253, 0.92));
        box-shadow: 0 10px 20px rgba(24, 24, 33, 0.09);
    }

    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .navbar .logo {
        align-items: center;
        gap: 0;
    }

    .navbar .logo-text {
        display: none;
    }

    .navbar nav,
    .navbar .cta {
        display: none;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        border: 1px solid var(--color-border-accent);
        border-radius: var(--radius-control);
        background: rgba(255, 255, 255, 0.84);
        backdrop-filter: none;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        margin-left: auto;
        cursor: pointer;
        z-index: 1200;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
        background: var(--color-accent);
        border-radius: var(--radius-pill);
        transition: transform var(--motion-base) cubic-bezier(0.22, 1, 0.36, 1), opacity var(--motion-base) cubic-bezier(0.22, 1, 0.36, 1);
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1190;
        background: rgba(255, 255, 255, 0.35);
        transition: opacity var(--motion-slow) cubic-bezier(0.22, 1, 0.36, 1), visibility var(--motion-slow) cubic-bezier(0.22, 1, 0.36, 1);
        backdrop-filter: blur(4px);
    }

    .mobile-menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-panel {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: min(86vw, 360px);
        padding: 24px 20px;
        border-left: none;
        background: var(--color-surface);
        backdrop-filter: none;
        box-shadow: -14px 0 34px var(--color-shadow-soft);
        transform: translateX(106%);
        transition: transform var(--motion-slow) cubic-bezier(0.22, 1, 0.36, 1);
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .mobile-menu-overlay.is-open .mobile-menu-panel {
        transform: translateX(0);
    }

    .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu-head h3 {
        color: var(--color-text-primary);
        font-size: 22px;
        letter-spacing: 0.04em;
    }

    .menu-close {
        border: 1px solid var(--color-border-strong);
        background: #ffffff;
        color: var(--color-text-primary);
        width: 38px;
        height: 38px;
        border-radius: var(--radius-control);
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-menu-link {
        color: var(--color-text-primary);
        text-decoration: none;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0.01em;
        padding: 12px 14px;
        border-radius: var(--radius-control);
        border: 1px solid var(--color-border-strong);
        background: #ffffff;
        opacity: 0;
        transform: translateY(14px);
        transition:
            transform var(--motion-fast) cubic-bezier(0.22, 1, 0.36, 1),
            opacity var(--motion-fast) cubic-bezier(0.22, 1, 0.36, 1),
            background-color var(--motion-fast) ease,
            border-color var(--motion-fast) ease;
    }

    .mobile-menu-overlay.is-open .mobile-menu-link {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.is-open .mobile-menu-link:nth-child(1) {
        transition-delay: 0.08s;
    }

    .mobile-menu-overlay.is-open .mobile-menu-link:nth-child(2) {
        transition-delay: 0.14s;
    }

    .mobile-menu-overlay.is-open .mobile-menu-link:nth-child(3) {
        transition-delay: 0.2s;
    }

    .mobile-menu-overlay.is-open .mobile-menu-link:nth-child(4) {
        transition-delay: 0.26s;
    }

    .mobile-menu-link:hover,
    .mobile-menu-link.is-magnetic {
        background: #ffffff;
        border-color: var(--color-accent);
        box-shadow: 0 6px 14px var(--color-shadow-soft);
        transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
    }

    .mobile-menu-cta {
        margin-top: auto;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        height: 48px;
        border-radius: var(--radius-pill);
        text-decoration: none;
        color: var(--color-accent);
        font-weight: 700;
        background: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.75);
        box-shadow: 0 10px 22px rgba(19, 8, 0, 0.2);
        opacity: 0;
        transform: translateY(14px);
        transition: opacity var(--motion-base) cubic-bezier(0.22, 1, 0.36, 1), transform var(--motion-base) cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mobile-menu-overlay.is-open .mobile-menu-cta {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.32s;
    }
}

@media (max-width: 900px) {

    .navbar {
        padding: 15px 20px;
    }

    .navbar.is-scrolled {
        padding: 12px 20px;
    }

    .container {
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        justify-content: center;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cta {
        width: 100%;
        max-width: 220px;
    }
}

/* Work Section */
.section-shell {
    width: min(var(--layout-max), 100%);
    margin: 0 auto;
}

.work-section {
    padding: var(--section-space) var(--layout-edge);
}

.section-header {
    margin-bottom: clamp(28px, 5vw, 46px);
    max-width: 760px;
}

.section-kicker {
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 10px;
}

.section-header h1 {
    font-size: clamp(32px, 5vw, 44px);
    line-height: 1.1;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.7;
}

.work-layout {
    display: flex;
    gap: clamp(26px, 5vw, 64px);
}

.glass-sidebar {
    width: 250px;
    position: sticky;
    top: 36px;
    align-self: flex-start;
    padding: 24px 18px;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(var(--color-accent-rgb), 0.14);
    box-shadow: 0 18px 35px var(--color-shadow-soft);
}

.glass-sidebar h3 {
    margin-bottom: 16px;
    font-size: 18px;
}

.glass-sidebar ul {
    list-style: none;
}

.glass-sidebar li {
    padding: 11px 14px;
    margin-bottom: 8px;
    border-radius: var(--radius-chip);
    cursor: pointer;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: background var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.glass-sidebar li:hover {
    background: rgba(var(--color-accent-rgb), 0.1);
    color: var(--color-accent);
    transform: translateX(3px);
}

.glass-sidebar li.active {
    color: var(--color-accent);
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.16), rgba(var(--color-accent-rgb), 0.05));
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    font-weight: 600;
}

.pricing-side-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-chip);
    text-decoration: none;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
}

.work-content {
    flex: 1;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--grid-gap);
    align-items: stretch;
}

.work-card {
    min-height: 296px;
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-radius: var(--radius-card);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 252, 0.9));
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 25px var(--color-shadow-soft);
    transition: transform var(--motion-base) ease, border-color var(--motion-base) ease, box-shadow var(--motion-base) ease;
}

.work-card:hover {
    transform: translateY(-7px);
    border-color: rgba(var(--color-accent-rgb), 0.6);
    box-shadow: 0 20px 35px var(--color-shadow-base);
}

.work-card.is-hidden {
    display: none;
}

.work-card img {
    cursor: zoom-in;
}

.logo-card,
.Business-card,
.Flyers-card,
.Bills-card,
.Pamphlets-card {
    justify-content: center;
}

.logo-wrapper,
.Business-wrapper,
.Flyers-wrapper,
.Bills-wrapper,
.Pamphlets-wrapper {
    width: 100%;
    border-radius: var(--radius-chip);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.07), rgba(var(--color-accent-rgb), 0.02));
    border: 1px solid rgba(var(--color-accent-rgb), 0.14);
    overflow: hidden;
}

.logo-wrapper {
    height: 170px;
}

.Business-wrapper,
.Flyers-wrapper,
.Bills-wrapper,
.Pamphlets-wrapper {
    height: 250px;
}

.logo-wrapper img,
.Business-wrapper img,
.Flyers-wrapper img,
.Bills-wrapper img,
.Pamphlets-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brochure-card,
.video-card {
    position: relative;
    min-height: 270px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.brochure-wrapper,
.video-thumb-wrapper {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: none;
    background: #f5f6f9;
    position: relative;
}

.brochure-wrapper::after,
.video-thumb-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 20, 0.82) 0%, rgba(10, 14, 20, 0.45) 34%, rgba(10, 14, 20, 0.02) 68%);
    pointer-events: none;
    transition: background 0.45s cubic-bezier(0.22, 0.74, 0.22, 1);
}

.brochure-wrapper::after {
    background: linear-gradient(to top, rgba(10, 14, 20, 0.72) 0%, rgba(10, 14, 20, 0.38) 28%, rgba(10, 14, 20, 0.03) 64%);
}

.brochure-card:hover .brochure-wrapper::after {
    background: linear-gradient(to top, rgba(10, 14, 20, 0.9) 0%, rgba(10, 14, 20, 0.72) 48%, rgba(10, 14, 20, 0.08) 82%);
}

.brochure-wrapper img,
.video-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--motion-base) ease;
}

.video-card {
    min-height: 250px;
}

.video-thumb-wrapper {
    background: #0d1118;
}

.video-thumb-wrapper img {
    object-fit: contain;
}

.brochure-card:hover .brochure-wrapper img,
.video-card:hover .video-thumb-wrapper img {
    transform: scale(1.06);
}

.brochure-content,
.video-content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.brochure-content {
    align-items: flex-start;
}

.brochure-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 70%;
}

.video-content {
    flex-direction: row;
    align-items: end;
}

.brochure-content h4,
.video-content h4 {
    font-size: 17px;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    line-height: 1.3;
    max-width: 58%;
}

.brochure-content h4 {
    max-width: 90%;
}

.brochure-content p,
.video-content p {
    margin: 0;
}

.brochure-content p {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.45;
    max-width: 92%;
    opacity: 0;
    max-height: 0;
    transform: translateY(6px);
    overflow: hidden;
    transition: opacity 0.32s ease, transform 0.32s ease, max-height 0.36s ease;
}

.video-content p {
    display: none;
}

.brochure-card:hover .brochure-content p {
    opacity: 1;
    max-height: 74px;
    transform: translateY(0);
}

.video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-play-icon::before {
    content: "";
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(12, 18, 27, 0.58);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    transition: transform var(--motion-fast) ease, background var(--motion-fast) ease;
}

.video-play-icon::after {
    content: "";
    position: absolute;
    border-left: 18px solid #ffffff;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 6px;
}

.video-card:hover .video-play-icon::before {
    transform: scale(1.06);
    background: rgba(239, 144, 45, 0.78);
}

.website-card {
    min-height: 220px;
    padding: 16px;
    justify-content: flex-start;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.website-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(var(--color-accent-rgb), 0.12), transparent 45%);
    pointer-events: none;
}

.website-card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.website-card-content h4 {
    font-size: 17px;
    line-height: 1.35;
    color: var(--color-text-primary);
}

.website-card-content p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--color-text-secondary);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.website-visit-btn {
    align-self: flex-start;
    margin-top: auto;
    text-decoration: none;
}

.website-visit-btn::before {
    content: "";
    width: 14px;
    height: 14px;
    background-color: currentColor;
    display: inline-block;
    flex-shrink: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 3h7v7h-2V6.41l-8.29 8.3-1.42-1.42 8.3-8.29H14V3ZM5 5h6v2H7v10h10v-4h2v6H5V5Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 3h7v7h-2V6.41l-8.29 8.3-1.42-1.42 8.3-8.29H14V3ZM5 5h6v2H7v10h10v-4h2v6H5V5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.website-card:hover .website-visit-btn {
    box-shadow: 0 12px 28px rgba(var(--color-accent-rgb), 0.35);
    filter: brightness(1.08);
}

.view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #ef902d, #de7f1d);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease, filter var(--motion-fast) ease;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--color-accent-rgb), 0.35);
    filter: brightness(1.03);
}

.brochure-card:hover .js-open-brochure {
    box-shadow: 0 12px 28px rgba(var(--color-accent-rgb), 0.5);
    filter: brightness(1.08);
}

.js-open-brochure::before,
.video-card .view-btn::before {
    content: "";
    width: 14px;
    height: 14px;
    background-color: currentColor;
    display: inline-block;
    flex-shrink: 0;
}

.js-open-brochure::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h9l5 5v15a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm8 1.5V8h4.5M8 12h8m-8 4h8m-8 4h5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h9l5 5v15a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm8 1.5V8h4.5M8 12h8m-8 4h8m-8 4h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.video-card .view-btn::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer {
    text-align: center;
    color: #5f6774;
    font-size: 13px;
    padding: 28px 16px 36px;
}

/* Modal Styles */
.media-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 36px);
    background: rgba(13, 18, 28, 0.68);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--motion-base) ease, visibility var(--motion-base) ease;
    z-index: 10000;
}

.media-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.media-dialog {
    position: relative;
    width: min(1024px, 100%);
    height: min(88vh, 920px);
    border-radius: 18px;
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
    display: flex;
    overflow: hidden;
    transform: translateY(22px) scale(0.97);
    opacity: 0;
    transition: transform var(--motion-base) ease, opacity var(--motion-base) ease;
}

.media-modal.is-open .media-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.media-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(12, 18, 27, 0.08);
    color: #2a3240;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    transition: background var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.media-close-btn:hover {
    background: rgba(var(--color-accent-rgb), 0.22);
    transform: scale(1.04);
}

.media-body {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-controls {
    position: absolute;
    top: 90%;
    left: 50%;
    right: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(var(--color-accent-rgb), 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 10px 24px rgba(13, 18, 28, 0.16);
    transform: translate(-50%, -50%);
}

.lightbox-controls.is-hidden {
    display: none;
}

.zoom-btn,
.zoom-reset-btn {
    border: none;
    height: 32px;
    border-radius: 999px;
    color: #1f242d;
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    font-weight: 600;
    transition: background var(--motion-fast) ease, transform var(--motion-fast) ease, color var(--motion-fast) ease;
}

.zoom-btn {
    width: 32px;
    font-size: 20px;
    line-height: 1;
}

.zoom-reset-btn {
    padding: 0 12px;
    font-size: 13px;
}

.zoom-btn:hover,
.zoom-reset-btn:hover {
    background: rgba(var(--color-accent-rgb), 0.18);
    color: #1a212c;
    transform: translateY(-1px);
}

.lightbox-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    touch-action: none;
    padding: 20px;
}

.lightbox-stage.is-panning {
    cursor: grabbing;
}

#lightboxImage {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(13, 18, 28, 0.22);
    transform-origin: center center;
    transition: transform 0.24s cubic-bezier(0.22, 0.74, 0.22, 1);
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
}

.lightbox-stage.is-panning #lightboxImage {
    transition: none;
}

.modal-pdf-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: #f2f3f6;
}

.video-frame-shell {
    width: min(100%, 980px);
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 16px 34px rgba(13, 18, 28, 0.25);
}

.video-frame-shell iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 992px) {
    .work-layout {
        flex-direction: column;
    }

    .glass-sidebar {
        width: 100%;
        position: static;
        padding: 14px;
    }

    .glass-sidebar ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 2px;
    }

    .glass-sidebar li {
        margin: 0;
        white-space: nowrap;
    }

    .pricing-side-link {
        margin-top: 14px;
    }

    .pricing-float-tag {
        right: 16px;
        bottom: 62px;
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-card,
    .brochure-card,
    .video-card {
        min-height: auto;
    }

    .brochure-card,
    .video-card {
        min-height: 235px;
    }

    .brochure-content,
    .video-content {
        left: 12px;
        right: 12px;
        bottom: 12px;
        gap: 10px;
    }

    .brochure-content {
        align-items: flex-start;
    }

    .brochure-content h4,
    .video-content h4 {
        font-size: 15px;
    }

    .video-content h4 {
        max-width: 56%;
    }

    .brochure-content h4 {
        max-width: 90%;
    }

    .brochure-content p {
        font-size: 12px;
    }

    .view-btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .media-dialog {
        height: 82vh;
        border-radius: 14px;
    }

    .lightbox-controls {
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 6px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(6px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .zoom-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .zoom-reset-btn {
        height: 30px;
        font-size: 12px;
    }

    .video-frame-shell {
        width: 100%;
        border-radius: 10px;
    }

    .lightbox-stage {
        padding: 12px;
    }
}

@media (hover: none) {
    .brochure-wrapper::after {
        background: linear-gradient(to top, rgba(10, 14, 20, 0.88) 0%, rgba(10, 14, 20, 0.68) 50%, rgba(10, 14, 20, 0.08) 84%);
    }

    .brochure-content p {
        opacity: 1;
        max-height: 74px;
        transform: translateY(0);
    }
}

/* Footer */
.site-footer {
    background: #16191f;
    color: #d5d9df;
    margin: 0;
    padding: 60px 40px 30px;
    width: 100%;
    font-family: Arial, sans-serif;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1 1 220px;
    border-radius: var(--radius-card);
    padding: 12px;
    transition: transform var(--motion-base) ease, background-color var(--motion-base) ease, box-shadow var(--motion-base) ease;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
}

.footer-col:hover {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.footer-logo {
    width: 140px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: var(--type-footer-size);
    line-height: 1.7;
    font-weight: 400;
    color: #b3bac4;
    margin-bottom: var(--type-paragraph-gap);
}

.footer-col h4 {
    color: #f2f4f7;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: var(--type-footer-size);
    line-height: 1.6;
    font-weight: 400;
    color: #bcc3cd;
}

.footer-col a {
    color: #c1c7d0;
    text-decoration: none;
    font-size: var(--type-footer-size);
    font-weight: 500;
    line-height: 1.6;
    transition: color var(--motion-base) ease;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-link {
    display: block;
    margin-top: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 40px;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: #9ca5b2;
}

@media (max-width: 768px) {

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }
}

#topBtn {
    height: 35px;
    width: 35px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-accent);
    color: white;
    border: none;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 999;
}

#topBtn:hover {
    background-color: rgba(var(--color-accent-rgb), 0.9);
}

.pricing-float-tag {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 999;
    background-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(var(--color-accent-rgb), 0.28);
}

.pricing-float-tag:hover {
    background-color: rgba(var(--color-accent-rgb), 0.92);
}

nav a.active {
    color: var(--color-accent);
    font-weight: 700;
}

/* Cursor */
body.cursor-enabled {
    cursor: none;
}

body.cursor-enabled a,
body.cursor-enabled button,
body.cursor-enabled [role="button"] {
    cursor: none;
}

body.cursor-enabled input,
body.cursor-enabled textarea,
body.cursor-enabled select {
    cursor: text;
}

.theme-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 42px;
    height: 46px;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
    transition: opacity var(--motion-fast) ease;
}

.theme-cursor svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(24, 24, 33, 0.18));
}

.theme-cursor svg path {
    fill: var(--color-accent) !important;
    stroke: var(--color-accent) !important;
}

.theme-cursor.hover svg {
    filter: drop-shadow(0 6px 16px rgba(24, 24, 33, 0.22));
}

.theme-cursor.hidden {
    opacity: 0;
}


/* Universal highlight effect for all card types */
.work-card:target,
article.work-card:target {
    border: 3px solid #ef902d !important;
    box-shadow: 0 0 30px rgba(239, 144, 45, 0.6) !important;
    transform: scale(1.03) !important;
    scroll-margin-top: 150px;
    transition: all 0.5s ease-in-out !important;
    z-index: 100 !important;
    position: relative !important;
}
