*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #07080a;
    --surface: #0e1117;
    --panel: #141820;
    --border: rgba(255, 255, 255, 0.075);
    --border-strong: rgba(255, 255, 255, 0.13);
    --text: #f2f5f8;
    --muted: #9aa3b2;
    --muted-soft: #687181;
    --accent: #7ed957;
    --accent-glow: rgba(126, 217, 87, 0.16);
    --radius: 30px;
    --radius-sm: 18px;
    --public-header-height: 72px;
}

html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse at 18% 8%, rgba(126, 217, 87, 0.07) 0%, transparent 44%),
        radial-gradient(ellipse at 92% 76%, rgba(126, 217, 87, 0.045) 0%, transparent 38%),
        linear-gradient(180deg, #07080a 0%, #0b0e14 56%, #07080a 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    display: block;
}

button,
a {
    touch-action: manipulation;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 24px;
}

@media (min-width: 768px) {
    .container {
        padding-inline: 36px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding-inline: 48px;
    }
}

@media (max-width: 430px) {
    .container {
        padding-inline: 24px;
    }
}

@media (max-width: 380px) {
    .container {
        padding-inline: 20px;
    }
}

.section {
    padding-block: 74px;
}

.section-sm {
    padding-block: 58px;
}

@media (max-width: 768px) {
    .section {
        padding-block: 74px;
    }

    .section-sm {
        padding-block: 62px;
    }
}

@media (min-width: 768px) {
    .section {
        padding-block: 108px;
    }

    .section-sm {
        padding-block: 78px;
    }
}

.glass {
    background: rgba(14, 17, 23, 0.68);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition:
        opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal {
    transform: translateY(34px);
}

.reveal-left {
    transform: translateX(-24px);
}

.reveal-right {
    transform: translateX(24px);
}

.reveal-scale {
    transform: scale(0.96);
}

.reveal.show,
.reveal-left.show,
.reveal-right.show,
.reveal-scale.show {
    opacity: 1;
    transform: translate(0) scale(1);
}

.heading-xl {
    font-size: clamp(42px, 6.5vw, 78px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.065em;
}

.heading-lg {
    font-size: clamp(31px, 5vw, 62px);
    font-weight: 850;
    line-height: 0.97;
    letter-spacing: -0.052em;
}

.heading-md {
    font-size: clamp(24px, 3.1vw, 38px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

@media (max-width: 430px) {
    .heading-xl {
        font-size: clamp(39px, 10.5vw, 48px);
        line-height: 1.02;
        letter-spacing: -0.048em;
    }

    .heading-lg {
        font-size: clamp(30px, 8.3vw, 39px);
        line-height: 1.08;
        letter-spacing: -0.035em;
    }
}

.text-balance {
    text-wrap: balance;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 24%, rgba(255, 255, 255, 0.56) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-accent {
    background: linear-gradient(135deg, var(--accent), #4aa638);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 9999px;
    font-weight: 850;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
    border: 0;
    background: #ffffff;
    color: #07080a;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
}

@media (max-width: 430px) {
    .btn-primary,
    .btn-outline {
        width: 100%;
    }
}

@media (min-width: 640px) {
    .btn-primary,
    .btn-outline {
        min-height: 56px;
        padding: 16px 34px;
        font-size: 13px;
    }
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--accent);
    box-shadow: 0 20px 50px rgba(126, 217, 87, 0.22);
}

.btn-outline:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.24);
}

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 110;
    padding-block: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    background: rgba(7, 8, 10, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
    background: rgba(7, 8, 10, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: var(--border);
}

@media (min-width: 768px) {
    .header {
        padding-block: 14px;
    }
}

.header-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .header-logo {
        height: 68px;
    }
}

@media (min-width: 1200px) {
    .header-logo {
        height: 74px;
    }
}

.nav-link {
    position: relative;
    padding-block: 5px;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    transition: all 0.25s ease;
}

.menu-button:hover {
    background: rgba(255, 255, 255, 0.09);
}

.mobile-menu {
    position: fixed;
    top: 86px;
    left: 28px;
    right: 28px;
    z-index: 120;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 24px;
    background: rgba(7, 8, 10, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
    transform: translateY(-10px);
    transition:
        max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        transform 0.28s ease,
        border-color 0.28s ease;
}

.mobile-menu.open {
    max-height: 390px;
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.09);
    transform: translateY(0);
}

.mobile-menu .menu-inner {
    width: 100%;
    padding: 14px;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.026);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: all 0.25s ease;
}

.mobile-menu a + a {
    margin-top: 8px;
}

.mobile-menu a::after {
    content: "→";
    color: var(--accent);
    font-size: 13px;
}

.mobile-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.058);
}

@media (max-width: 380px) {
    .mobile-menu {
        left: 22px;
        right: 22px;
    }
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 7px 13px 7px 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
}

@media (max-width: 430px) {
    .hero-badge {
        font-size: 9px;
        letter-spacing: 0.115em;
    }
}

@media (min-width: 640px) {
    .hero-badge {
        padding: 8px 18px 8px 12px;
        font-size: 11px;
        letter-spacing: 0.16em;
    }
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.42;
        transform: scale(0.72);
    }
}

#ballina .container > .grid {
    gap: clamp(2.5rem, 4.2vw, 4rem);
}

@media (min-width: 1024px) {
    #ballina .container > .grid {
        gap: clamp(3rem, 5.6vw, 5.5rem);
    }
}

#ballina .reveal {
    max-width: 650px;
}

.hero-image-wrap {
    position: relative;
    overflow: hidden;
    max-width: 540px;
    margin-left: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.hero-image-wrap .hero-logo-image {
    object-fit: contain;
    object-position: center;
    padding: 34px;
    background: #0e1117;
}

@media (min-width: 768px) {
    .hero-image-wrap .hero-logo-image {
        padding: 48px;
    }
}

@media (min-width: 1200px) {
    .hero-image-wrap .hero-logo-image {
        padding: 58px;
    }
}

@media (max-width: 1023px) {
    .hero-image-wrap {
        max-width: 100%;
        margin-left: 0;
    }
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(126, 217, 87, 0.07) 0%, transparent 48%);
}

.hero-image-wrap .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 42%, rgba(7, 8, 10, 0.68) 100%);
}

.hero-image-wrap img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .hero-image-wrap img {
        height: 460px;
    }
}

@media (min-width: 1200px) {
    .hero-image-wrap img {
        height: 500px;
    }
}

.marquee {
    width: 100%;
    overflow: hidden;
    user-select: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.016);
    padding-block: 14px;
}

@media (min-width: 768px) {
    .marquee {
        padding-block: 18px;
    }
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 40px;
    animation: marquee 32s linear infinite;
}

@media (min-width: 768px) {
    .marquee-track {
        gap: 60px;
    }
}

.marquee-track span {
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
}

@media (min-width: 768px) {
    .marquee-track span {
        font-size: 14px;
        letter-spacing: 0.2em;
    }
}

.marquee-track span .accent {
    color: var(--accent);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 28px 24px 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.022);
    transition: all 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 640px) {
    .service-card {
        padding: 26px 22px 24px;
    }
}

@media (min-width: 768px) {
    .service-card {
        padding: 36px 32px 32px;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: opacity 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.046);
    border-color: rgba(255, 255, 255, 0.11);
}

.service-card:hover::before {
    opacity: 1;
}

.icon-box {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 17px;
    background: rgba(126, 217, 87, 0.075);
    border: 1px solid rgba(126, 217, 87, 0.13);
    color: var(--accent);
}

@media (min-width: 768px) {
    .icon-box {
        width: 54px;
        height: 54px;
        margin-bottom: 22px;
    }
}

.icon-box svg {
    width: 23px;
    height: 23px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 850;
}

@media (min-width: 768px) {
    .service-card h3 {
        font-size: 20px;
    }
}

.service-card p {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.72;
    color: var(--muted);
}

@media (min-width: 768px) {
    .service-card p {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.8;
    }
}

.portfolio-grid-track {
    padding-inline: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

@media (min-width: 640px) {
    .portfolio-grid-track {
        padding-inline: 32px;
    }
}

@media (max-width: 1023px) {
    .portfolio-grid-track {
        padding-inline: 28px;
        scroll-padding-inline: 28px;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid-track {
        padding-inline: 0;
        margin-inline: 0;
    }
}

.portfolio-grid-track::-webkit-scrollbar {
    display: none;
}

.portfolio-item {
    position: relative;
    flex: 0 0 72%;
    max-width: 280px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    scroll-snap-align: start;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    transition: all 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 640px) {
    .portfolio-item {
        flex: 0 0 78%;
        max-width: 78%;
    }
}

@media (max-width: 430px) {
    .portfolio-item {
        flex: 0 0 84%;
        max-width: 84%;
    }
}

@media (min-width: 480px) {
    .portfolio-item {
        flex-basis: 58%;
    }
}

@media (min-width: 768px) {
    .portfolio-item {
        flex-basis: 240px;
        max-width: 260px;
        border-radius: var(--radius);
    }
}

@media (min-width: 1024px) {
    .portfolio-item {
        flex-basis: 276px;
        max-width: 276px;
    }
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}

.portfolio-project-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}

.portfolio-lightbox-trigger {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    color: #fff;
    background: rgba(7,8,10,.68);
    backdrop-filter: blur(10px);
    cursor: zoom-in;
    transition: background .25s ease, transform .25s ease;
}

.portfolio-lightbox-trigger:hover {
    background: var(--accent);
    color: #071006;
    transform: scale(1.05);
}

.portfolio-project-link:focus-visible,
.portfolio-lightbox-trigger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -3px;
}

.portfolio-all-projects {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.portfolio-item:hover img {
    transform: scale(1.055);
    filter: brightness(1.05);
}

.portfolio-item .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 1;
    background: linear-gradient(180deg, transparent 52%, rgba(7, 8, 10, 0.72) 100%);
    transition: opacity 0.35s ease;
}

@media (min-width: 768px) {
    .portfolio-item .overlay {
        opacity: 0;
        padding: 24px;
    }

    .portfolio-item:hover .overlay {
        opacity: 1;
    }
}

.portfolio-item .overlay span {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

@media (min-width: 768px) {
    .portfolio-item .overlay span {
        padding: 10px 18px;
        font-size: 12px;
    }
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.process-step {
    padding: 24px 20px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.018);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .process-step {
        padding: 32px 28px;
        border-radius: var(--radius);
    }
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.034);
    border-color: rgba(255, 255, 255, 0.1);
}

.process-step .num {
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
}

.process-step h3 {
    margin-top: 10px;
    font-size: 19px;
    font-weight: 800;
}

.process-step p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.72;
    color: var(--muted);
}

.stat-number {
    font-size: 30px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #4fa83a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 38px;
    }
}

.stat-label {
    margin-top: 2px;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-mini-card {
    padding: 22px 18px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

@media (min-width: 768px) {
    .about-mini-card {
        padding: 28px 24px;
        border-radius: 26px;
    }
}

.cta-block {
    position: relative;
    overflow: hidden;
    padding: 38px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background:
        radial-gradient(ellipse at 18% 44%, rgba(126, 217, 87, 0.065) 0%, transparent 58%),
        var(--surface);
}

@media (min-width: 768px) {
    .cta-block {
        padding: 64px 56px;
    }
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -18%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126, 217, 87, 0.045) 0%, transparent 70%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .cta-block::before {
        width: 520px;
        height: 520px;
    }
}

.cta-title {
    font-size: clamp(26px, 3.7vw, 42px);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    min-width: 0;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.018);
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
    .contact-card {
        gap: 18px;
        padding: 20px 24px;
        border-radius: 24px;
    }
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(126, 217, 87, 0.07);
    border: 1px solid rgba(126, 217, 87, 0.11);
    color: var(--accent);
}

@media (min-width: 768px) {
    .contact-icon {
        width: 46px;
        height: 46px;
    }
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-card .label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--muted);
}

.contact-card .value {
    margin-top: 2px;
    font-weight: 750;
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    word-break: break-word;
}

@media (min-width: 768px) {
    .contact-card .value {
        font-size: 15px;
    }
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 18px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 9999px;
    background: #ffffff;
    color: #07080a;
    font-weight: 850;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-decoration: none;
    box-shadow: 0 14px 46px rgba(0, 0, 0, 0.52);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 430px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        gap: 6px;
        padding: 10px 12px;
        font-size: 10px;
    }

    .whatsapp-float .icon-wrap {
        width: 22px;
        height: 22px;
    }
}

@media (min-width: 768px) {
    .whatsapp-float {
        right: 24px;
        bottom: 24px;
        gap: 12px;
        padding: 14px 24px;
        font-size: 12px;
    }
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background: var(--accent);
}

.whatsapp-float .icon-wrap {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #07080a;
    color: #ffffff;
}

.footer {
    padding-block: 26px;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .footer {
        padding-block: 34px;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.89);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
    .lightbox {
        padding: 24px;
    }
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 92vw;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 18px;
    transform: scale(0.94);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
    .lightbox img {
        max-height: 86vh;
        border-radius: var(--radius);
    }
}

.lightbox.open img {
    transform: scale(1);
}

.lightbox-btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.13);
}

.lightbox-btn.close {
    top: 18px;
    right: 18px;
}

.lightbox-btn.nav {
    display: none;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .lightbox-btn {
        width: 54px;
        height: 54px;
    }

    .lightbox-btn.close {
        top: 28px;
        right: 28px;
    }

    .lightbox-btn.nav {
        display: grid;
    }

    .lightbox-btn.prev {
        left: 24px;
    }

    .lightbox-btn.next {
        right: 24px;
    }
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.overflow-fix {
    width: 100%;
    overflow-x: hidden;
}

/* Public portfolio catalogue and case studies */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.portfolio-page,
.case-page {
    padding-top: 88px;
}

.page-eyebrow,
.catalogue-category {
    color: var(--accent);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.catalogue-hero {
    padding: 78px 0 64px;
    border-bottom: 1px solid var(--border);
}

.catalogue-hero-grid {
    display: grid;
    gap: 26px;
    margin-top: 20px;
}

.catalogue-hero h1,
.case-heading-copy h1 {
    max-width: 850px;
    font-size: clamp(42px, 8.4vw, 92px);
    font-weight: 850;
    letter-spacing: -.065em;
    line-height: .96;
}

.catalogue-hero-grid > div p {
    max-width: 570px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.project-count {
    display: block;
    margin-top: 22px;
    color: rgba(255,255,255,.65);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.catalogue-section {
    padding: 42px 0 90px;
}

.filter-scroll {
    display: flex;
    gap: 9px;
    margin-inline: -24px;
    padding: 2px 24px 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.filter-scroll::-webkit-scrollbar { display: none; }

.filter-chip {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    min-height: 43px;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255,255,255,.018);
    font-size: 12px;
    font-weight: 750;
    transition: .28s ease;
}

.filter-chip span { color: var(--muted-soft); font-size: 10px; }
.filter-chip:hover,
.filter-chip.active { color: #071006; border-color: var(--accent); background: var(--accent); }
.filter-chip.active span,
.filter-chip:hover span { color: rgba(7,16,6,.6); }

.catalogue-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
}

.catalogue-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255,255,255,.02);
}

.catalogue-card-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
}

.catalogue-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface);
}

.catalogue-card--large .catalogue-card-media { aspect-ratio: 5 / 4; }

.catalogue-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .36s cubic-bezier(.22,1,.36,1), filter .36s ease;
}

.catalogue-card-overlay {
    position: absolute;
    inset: 0;
    opacity: .45;
    background: linear-gradient(180deg, transparent 45%, rgba(7,8,10,.38));
    transition: opacity .32s ease;
}

.catalogue-card-copy { padding: 20px; }
.catalogue-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-top: 9px; }
.catalogue-card-heading h2 { font-size: clamp(20px, 3vw, 30px); font-weight: 820; letter-spacing: -.035em; line-height: 1.08; }
.catalogue-arrow { color: var(--accent); font-size: 22px; line-height: 1; transition: transform .3s ease; }
.catalogue-card-copy p { max-width: 56ch; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.catalogue-action { display: block; margin-top: 16px; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

@media (hover: hover) and (pointer: fine) {
    .catalogue-card-link:hover .catalogue-card-media img { transform: scale(1.035); filter: brightness(.92); }
    .catalogue-card-link:hover .catalogue-card-overlay { opacity: 1; }
    .catalogue-card-link:hover .catalogue-arrow { transform: translate(4px, -4px); }
}

.catalogue-pagination {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.pagination-link { padding: 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 800; }
.pagination-link.disabled { opacity: .35; }
.pagination-status { align-self: center; color: var(--muted); font-size: 12px; }
.catalogue-empty { max-width: 720px; margin: 48px auto 0; padding: 48px 24px; border: 1px dashed var(--border-strong); border-radius: 28px; text-align: center; }
.catalogue-empty h2 { margin: 12px 0 18px; font-size: clamp(26px, 5vw, 42px); letter-spacing: -.04em; }
.catalogue-empty > p:not(.page-eyebrow) { margin-bottom: 20px; color: var(--muted); }

.case-hero { padding: 42px 0 70px; }
.case-back { display: inline-flex; margin-bottom: 46px; color: var(--muted); font-size: 12px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.case-back:hover { color: var(--accent); }
.case-heading-grid { display: grid; gap: 32px; }
.case-heading-copy h1 { margin-top: 14px; }
.case-intro { max-width: 680px; margin-top: 24px; color: var(--muted); font-size: clamp(17px, 2.2vw, 22px); line-height: 1.65; }
.case-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; align-self: end; padding-top: 24px; border-top: 1px solid var(--border); }
.case-meta dt { color: var(--muted-soft); font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.case-meta dd { margin-top: 6px; color: rgba(255,255,255,.9); font-size: 14px; line-height: 1.45; }
.case-cover { position: relative; display: block; width: 100%; margin-top: 46px; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 26px; background: var(--surface); cursor: zoom-in; }
.case-cover img { width: 100%; max-height: 760px; object-fit: cover; }
.case-cover > span { position: absolute; right: 16px; bottom: 16px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 999px; color: #fff; background: rgba(7,8,10,.72); backdrop-filter: blur(12px); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-story { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.case-story-inner { padding-top: 26px; padding-bottom: 26px; }
.story-row { display: grid; gap: 18px; padding: 32px 0; }
.story-row + .story-row { border-top: 1px solid var(--border); }
.story-copy { max-width: 760px; }
.story-copy p { color: rgba(255,255,255,.82); font-size: clamp(17px, 2vw, 21px); line-height: 1.75; white-space: pre-line; }
.story-copy p + p { margin-top: 22px; }
.case-gallery-section,
.related-section { padding: 76px 0; }
.section-heading-line { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-heading-line h2 { margin-top: 9px; font-size: clamp(30px, 5vw, 54px); letter-spacing: -.05em; line-height: 1; }
.section-heading-line > span { color: var(--muted); font-size: 12px; }
.case-gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
.case-gallery-item { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); cursor: zoom-in; }
.case-gallery-item img { width: 100%; height: auto; max-height: 780px; object-fit: cover; transition: transform .35s ease; }
.case-gallery-item > span { position: absolute; inset: auto 12px 12px; padding: 9px 12px; border-radius: 12px; color: #fff; background: rgba(7,8,10,.75); font-size: 12px; text-align: left; }
.case-gallery-item:hover img { transform: scale(1.02); }
.related-section { border-top: 1px solid var(--border); }
.related-grid { display: grid; gap: 18px; }
.related-grid .catalogue-card { grid-column: auto; }
.case-navigation { display: grid; gap: 12px; padding-top: 24px; padding-bottom: 72px; }
.case-nav-link { display: flex; align-items: center; gap: 15px; min-width: 0; padding: 12px; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.018); }
.case-nav-link.next { justify-content: flex-end; text-align: right; }
.case-nav-link img { width: 74px; height: 74px; flex: 0 0 74px; border-radius: 13px; object-fit: cover; }
.case-nav-link span { min-width: 0; }
.case-nav-link small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.case-nav-link strong { display: block; margin-top: 5px; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.case-cta { padding-bottom: 78px; }
.case-cta-inner { display: grid; gap: 28px; padding: 38px 24px; border: 1px solid var(--border); border-radius: 28px; background: radial-gradient(circle at 85% 20%, rgba(126,217,87,.1), transparent 40%), var(--surface); }
.case-cta h2 { margin-top: 12px; font-size: clamp(28px, 5vw, 50px); letter-spacing: -.05em; line-height: 1.08; }
.case-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.lightbox-content { display: grid; gap: 12px; justify-items: center; max-width: 92vw; margin: 0; }
.lightbox-meta { display: flex; justify-content: space-between; gap: 22px; width: 100%; max-width: min(760px, 88vw); min-height: 20px; color: rgba(255,255,255,.75); font-size: 12px; }
#lightboxCaption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#lightboxCounter { flex: 0 0 auto; color: var(--accent); font-weight: 800; }
.lightbox[aria-hidden="true"] { visibility: hidden; }
.lightbox[aria-hidden="false"] { visibility: visible; }

.catalogue-card-link:focus-visible,
.filter-chip:focus-visible,
.case-cover:focus-visible,
.case-gallery-item:focus-visible,
.case-nav-link:focus-visible,
.lightbox-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

@media (min-width: 640px) {
    .catalogue-pagination { grid-template-columns: 1fr auto 1fr; }
    .catalogue-pagination .pagination-link:last-child { justify-self: end; }
    .catalogue-pagination .pagination-link:first-child { justify-self: start; }
    .case-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .case-gallery-item--wide { grid-column: 1 / -1; }
    .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .case-navigation { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .case-nav-link.next { grid-column: 2; }
}

@media (min-width: 768px) {
    .portfolio-page,
    .case-page { padding-top: 104px; }
    .catalogue-hero { padding: 104px 0 84px; }
    .catalogue-hero-grid { grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); align-items: end; gap: 52px; }
    .filter-scroll { margin-inline: -36px; padding-inline: 36px; }
    .catalogue-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
    .catalogue-card--wide,
    .catalogue-card--large { grid-column: span 2; }
    .catalogue-card--wide .catalogue-card-media { aspect-ratio: 16 / 9; }
    .case-heading-grid { grid-template-columns: minmax(0,1.4fr) minmax(300px,.6fr); gap: 70px; }
    .story-row { grid-template-columns: 180px minmax(0,1fr); gap: 50px; padding: 48px 0; }
    .related-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .case-cta-inner { grid-template-columns: minmax(0,1fr) auto; align-items: end; padding: 58px 52px; }
}

@media (min-width: 1024px) {
    .catalogue-grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 24px; grid-auto-flow: dense; }
    .catalogue-card--normal { grid-column: span 4; }
    .catalogue-card--wide,
    .catalogue-card--large { grid-column: span 8; }
    .catalogue-card--normal .catalogue-card-media { aspect-ratio: 4 / 5; }
    .catalogue-card--large .catalogue-card-media { min-height: 560px; }
    .case-cover { border-radius: 32px; }
}

@media (max-width: 430px) {
    .filter-scroll { margin-inline: -24px; }
    .case-meta { grid-template-columns: 1fr; }
    .case-nav-link img { width: 62px; height: 62px; flex-basis: 62px; }
    .case-cta-actions { display: grid; }
}

@media (max-width: 380px) {
    .filter-scroll { margin-inline: -20px; padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .catalogue-card-media img,
    .catalogue-arrow,
    .case-gallery-item img { transition: none; }
}

/* Compact public portfolio polish */
.container.portfolio-container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 48px);
}

.container.case-content-container {
    max-width: 1080px;
}

.portfolio-page,
.case-page {
    padding-top: var(--public-header-height);
}

.catalogue-hero {
    padding-block: 42px 52px;
}

.catalogue-hero h1 {
    max-width: 760px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: .98;
}

.catalogue-section {
    padding-block: 36px 80px;
}

.catalogue-grid {
    gap: 18px;
    margin-top: 20px;
}

.catalogue-card {
    width: 100%;
    max-width: 100%;
}

.catalogue-card-media {
    max-height: 500px;
}

.catalogue-card--normal .catalogue-card-media {
    aspect-ratio: 4 / 5;
    max-height: 460px;
}

.catalogue-card--wide .catalogue-card-media {
    aspect-ratio: 16 / 9;
    max-height: 460px;
}

.catalogue-card--large .catalogue-card-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: 560px;
}

.catalogue-card-copy {
    padding: 17px 18px 18px;
}

.catalogue-card-heading {
    margin-top: 7px;
}

.catalogue-card-heading h2 {
    font-size: clamp(19px, 2.3vw, 27px);
}

.catalogue-card-copy p {
    margin-top: 9px;
    font-size: 13px;
}

.catalogue-action {
    margin-top: 13px;
}

.case-hero {
    padding-block: 34px 64px;
}

.case-back {
    margin-bottom: 28px;
}

.case-hero-layout {
    display: grid;
    gap: 32px;
}

.case-heading-copy {
    align-self: center;
}

.case-heading-copy h1 {
    max-width: 850px;
    margin-top: 12px;
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1;
}

.case-intro {
    max-width: 720px;
    margin-top: 18px;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
}

.case-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin-top: 28px;
    padding-top: 20px;
}

.case-cover {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: min(520px, 68vh);
    min-height: 280px;
    max-height: 520px;
    margin-top: 0;
    border-radius: 22px;
    background: #101419;
}

.case-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.case-cover.is-landscape {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: 580px;
}

.case-cover.is-landscape img,
.case-cover.is-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-cover.is-square {
    height: auto;
    aspect-ratio: 1;
    max-height: 560px;
}

.case-cover.is-portrait img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
}

.case-story-inner {
    padding-block: 18px;
}

.story-row {
    gap: 15px;
    padding-block: 28px;
}

.story-copy {
    max-width: 720px;
}

.story-copy p {
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.7;
}

.case-gallery-section,
.related-section {
    padding-block: 64px;
}

.section-heading-line {
    margin-bottom: 24px;
}

.case-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.case-gallery-item {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 100%;
    max-height: 620px;
    border-radius: 20px;
    background: #101419;
}

.case-gallery-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 620px;
    object-fit: contain;
}

.case-gallery-item--pair {
    max-height: 520px;
}

.case-gallery-item--pair img {
    max-height: 520px;
}

.case-gallery-item.is-landscape img {
    width: 100%;
    object-fit: cover;
}

.case-gallery-item.is-portrait {
    justify-self: center;
    max-width: 560px;
    max-height: 680px;
}

.case-gallery-item.is-portrait img {
    max-height: 680px;
    object-fit: contain;
}

.case-gallery-item.is-square {
    max-width: 620px;
}

.case-navigation {
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 80px;
}

.case-cta {
    padding-bottom: 72px;
}

@media (min-width: 640px) {
    .catalogue-grid--count-1 {
        grid-template-columns: minmax(0, 560px);
        justify-content: center;
    }

    .catalogue-grid--count-2 {
        grid-template-columns: repeat(2, minmax(0, 520px));
        justify-content: center;
    }

    .catalogue-grid--count-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalogue-grid--count-1 .catalogue-card,
    .catalogue-grid--count-2 .catalogue-card,
    .catalogue-grid--count-3 .catalogue-card {
        grid-column: auto;
    }

    .catalogue-grid--count-3 .catalogue-card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 520px;
    }
}

@media (min-width: 768px) {
    :root {
        --public-header-height: 96px;
    }

    .catalogue-hero {
        padding-block: 54px 64px;
    }

    .catalogue-section {
        padding-block: 40px 88px;
    }

    .catalogue-grid {
        gap: 20px;
    }

    .catalogue-card-copy {
        padding: 20px 22px 22px;
    }

    .case-hero {
        padding-block: 50px 84px;
    }

    .case-hero-layout {
        grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
        align-items: center;
        gap: clamp(40px, 6vw, 76px);
    }

    .case-heading-copy h1 {
        font-size: clamp(42px, 5vw, 72px);
        line-height: .98;
    }

    .case-cover {
        height: min(620px, calc(100vh - var(--public-header-height) - 96px));
        min-height: 420px;
        max-height: 620px;
        border-radius: 24px;
    }

    .case-story-inner {
        padding-block: 24px;
    }

    .story-row {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 44px;
        padding-block: 40px;
    }

    .case-gallery-section,
    .related-section {
        padding-block: 80px;
    }

    .case-gallery {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 20px;
        align-items: start;
    }

    .case-gallery-item--feature,
    .case-gallery-item--centered {
        grid-column: 2 / 12;
        justify-self: center;
        max-width: 920px;
    }

    .case-gallery-item--pair {
        grid-column: span 6;
        height: clamp(340px, 38vw, 500px);
    }

    .case-gallery-item--pair img {
        max-height: 100%;
    }

    .case-gallery-item--pair.is-landscape img,
    .case-gallery-item--pair.is-square img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .case-gallery-item.is-portrait {
        grid-column: span 6;
        width: 100%;
        max-width: 520px;
        height: min(620px, 64vh);
    }

    .case-gallery-item.is-portrait img {
        max-height: 100%;
    }

    .case-navigation {
        padding-top: 20px;
        padding-bottom: 92px;
    }
}

@media (min-width: 1024px) {
    .catalogue-grid--count-1 {
        grid-template-columns: minmax(0, 580px);
    }

    .catalogue-grid--count-2 {
        grid-template-columns: repeat(2, minmax(0, 520px));
    }

    .catalogue-grid--count-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalogue-grid--count-3 .catalogue-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .catalogue-grid--count-4 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-auto-flow: dense;
    }
}

@media (min-width: 1200px) {
    :root {
        --public-header-height: 102px;
    }
}

@media (max-width: 639px) {
    .case-gallery-item,
    .case-gallery-item img {
        max-height: 520px;
    }

    .case-gallery-item.is-portrait,
    .case-gallery-item.is-portrait img {
        max-height: 560px;
    }
}
