@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all 0.2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar { width: 0.8rem; }
html::-webkit-scrollbar-track { background: #00003a; }
html::-webkit-scrollbar-thumb { background: #FFD700; border-radius: 4px; }

body {
    background: #010124;
    font-family: 'Poppins', sans-serif;
}

*::selection {
    background: #FFD700;
    color: #010124;
}

/* ===== NAVBAR ===== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.7rem 10%;
    height: 6.5rem;
    background: rgba(1, 1, 36, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

header .logo {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

header .logo i {
    color: #FFD700;
    margin-right: 0.5rem;
}

header .logo:hover { color: #FFD700; }

header .navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

header .navbar ul li a {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    letter-spacing: 0.04rem;
    text-transform: capitalize;
}

header .navbar ul li a.active,
header .navbar ul li a:hover {
    color: #FFD700;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 0.4rem;
}

#menu {
    font-size: 3rem;
    cursor: pointer;
    color: #fff;
    display: none;
}

@media (max-width: 768px) {
    #menu { display: block; }
    header .navbar {
        position: fixed;
        top: 6.5rem; right: -120%;
        width: 75%; height: 100%;
        background: #0a0a2e;
        border-left: 1px solid rgba(255,215,0,0.2);
        transition: right 0.3s ease;
    }
    header .navbar ul {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }
    header .navbar ul li {
        width: 100%;
        margin: 1rem 0;
    }
    header .navbar ul li a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.8rem;
        color: #fff;
        border-radius: 0.5rem;
    }
    header .navbar ul li a.active,
    header .navbar ul li a:hover {
        background: rgba(255,215,0,0.1);
        color: #FFD700;
        border-bottom: none;
        border-left: 3px solid #FFD700;
    }
    .fa-times { transform: rotate(180deg); }
    header .navbar.nav-toggle { right: 0; }
}

/* ===== WORK SECTION ===== */
section.work {
    min-height: 100vh;
    padding: 10rem 5% 5rem;
    background: linear-gradient(160deg, #010136 0%, #00003a 50%, #020120 100%);
}

.heading {
    font-size: 3.8rem;
    color: #fff;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
    text-transform: capitalize;
}

.heading i {
    color: #FFD700;
    margin-right: 1rem;
}

.heading span { color: #FFD700; }

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.filter-btn {
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.03rem;
    text-transform: capitalize;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: rgba(255,215,0,0.1);
    border-color: #FFD700;
    color: #FFD700;
}

.filter-btn.active {
    background: #FFD700;
    border-color: #FFD700;
    color: #010124;
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(34rem, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto 5rem;
}

/* ===== PROJECT CARD ===== */
.project-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.2rem;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 2rem 4rem rgba(0,0,0,0.4);
}

/* ===== SLIDESHOW ===== */
.slideshow {
    position: relative;
    height: 22rem;
    overflow: hidden;
    background: #0a0a2e;
}

.slideshow-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* placeholder when no image provided */
.slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: linear-gradient(135deg, #0d0d35, #1a1a50);
}

.slide-placeholder .ph-icon {
    font-size: 4.5rem;
    opacity: 0.2;
    color: #FFD700;
}

.slide-placeholder .ph-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.25);
    font-family: monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* nav arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    padding: 0;
}

.slide-arrow:hover {
    background: #FFD700;
    color: #010124;
}

.slide-arrow.prev { left: 0.8rem; }
.slide-arrow.next { right: 0.8rem; }

/* dots */
.slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.dot.active {
    background: #FFD700;
    transform: scale(1.3);
}

/* counter */
.slide-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-family: monospace;
    z-index: 10;
}

/* ===== CARD BODY ===== */
.card-body {
    padding: 2rem 2.2rem;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-category {
    display: inline-block;
    background: rgba(255, 215, 0, 0.12);
    color: #FFD700;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(255,215,0,0.25);
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.9rem;
    line-height: 1.35;
    text-transform: capitalize;
}

.card-desc {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.7;
    margin-bottom: 1.6rem;
    text-transform: none;
}

/* tech pills */
.card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.8rem;
}

.tech-pill {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
    font-size: 1.1rem;
    padding: 0.3rem 0.9rem;
    border-radius: 4px;
    font-family: monospace;
    letter-spacing: 0.02rem;
    text-transform: none;
}

/* action buttons */
.card-links {
    display: flex;
    gap: 1rem;
}

.card-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem 1.5rem;
    border-radius: 0.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    text-transform: capitalize;
}

.card-link.github {
    background: rgba(255,255,255,0.07);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}

.card-link.github:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
}

.card-link.live {
    background: #FFD700;
    color: #010124;
    font-weight: 700;
}

.card-link.live:hover {
    background: #ffe84d;
}

/* ===== BACK BUTTON ===== */
.backbtn {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.backbtn .btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 3.5rem;
    border-radius: 0.6rem;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s;
    text-transform: capitalize;
}

.backbtn .btn i { font-size: 1.5rem; transition: transform 0.3s; }

.backbtn .btn:hover {
    background: #FFD700;
    border-color: #FFD700;
    color: #010124;
}

.backbtn .btn:hover i { transform: translateX(-5px); }

/* ===== SCROLL TOP ===== */
#scroll-top {
    position: fixed;
    top: -140%;
    right: 2rem;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    background: #FFD700;
    color: #010124;
    border-radius: 5rem;
    transition: top 0.4s ease;
    z-index: 999;
}

#scroll-top.active { top: calc(100% - 10rem); }

/* ===== CARD HIDDEN STATE ===== */
.project-card.hidden {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    section.work { padding: 9rem 3% 4rem; }
    .projects-grid { grid-template-columns: 1fr; gap: 2rem; }
    .heading { font-size: 3rem; }
    .filter-bar { gap: 0.8rem; }
    .filter-btn { font-size: 1.3rem; padding: 0.8rem 1.5rem; }
}

@media (max-width: 450px) {
    html { font-size: 55%; }
    .card-links { flex-direction: column; }
}

/* =============================================
   LIGHTBOX / SCREENSHOT MODAL
   ============================================= */

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#lightbox.active {
    display: flex;
}

.lb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 5, 0.92);
    backdrop-filter: blur(8px);
}

.lb-container {
    position: relative;
    z-index: 1;
    width: 92vw;
    max-width: 1000px;
    background: #0a0a2e;
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 1.4rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
}

/* header */
.lb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255,255,255,0.03);
    flex-shrink: 0;
}

.lb-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: capitalize;
}

.lb-counter {
    font-size: 1.3rem;
    color: #FFD700;
    font-family: monospace;
    font-weight: 600;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.25);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
}

/* close button */
.lb-close {
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.lb-close:hover {
    background: #FFD700;
    color: #010124;
    border-color: #FFD700;
}

/* main image stage */
.lb-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1;
    min-height: 0;
    padding: 1rem 5rem;
    background: #050515;
}

.lb-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30rem;
    max-height: 55vh;
}

.lb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.8rem;
    transition: opacity 0.25s ease;
    display: block;
}

.lb-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #FFD700;
    display: none;
}

/* prev / next arrows */
.lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    font-size: 2.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 5;
    line-height: 1;
}

.lb-arrow:hover {
    background: #FFD700;
    color: #010124;
    border-color: #FFD700;
}

.lb-prev { left: 0.8rem; }
.lb-next { right: 0.8rem; }

/* dots row */
.lb-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 2rem 0.4rem;
    flex-shrink: 0;
}

.lb-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.lb-dot.active {
    background: #FFD700;
    transform: scale(1.35);
}

/* thumbnail strip */
.lb-thumbs {
    display: flex;
    gap: 0.8rem;
    padding: 1rem 1.5rem 1.5rem;
    overflow-x: auto;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: #FFD700 transparent;
}

.lb-thumbs::-webkit-scrollbar { height: 0.4rem; }
.lb-thumbs::-webkit-scrollbar-thumb { background: #FFD700; border-radius: 4px; }

.lb-thumb {
    min-width: 8rem;
    height: 5.5rem;
    border-radius: 0.6rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.5;
    background: #1a1a50;
    flex-shrink: 0;
}

.lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.lb-thumb:hover { opacity: 0.8; }
.lb-thumb.active {
    border-color: #FFD700;
    opacity: 1;
}

/* ---- View Screenshots button & hint ---- */
.card-link.linkedin {
    background: #0a66c2;
    color: #fff;
    font-weight: 700;
    border: 1px solid #0a66c2;
}

.card-link.linkedin:hover {
    background: #0958a8;
    border-color: #0958a8;
}

.slide-expand-hint {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.03rem;
}

.slide-expand-hint i { font-size: 1rem; margin-right: 0.3rem; }

/* mobile lightbox tweaks */
@media (max-width: 600px) {
    .lb-stage { padding: 0.8rem 3.8rem; }
    .lb-arrow { width: 3.2rem; height: 3.2rem; font-size: 2rem; }
    .lb-prev { left: 0.4rem; }
    .lb-next { right: 0.4rem; }
    .lb-title { font-size: 1.4rem; max-width: 60%; }
    .lb-thumb { min-width: 6rem; height: 4rem; }
    .card-links { flex-wrap: wrap; }
}

/* Make all cards same height */
.project-card{
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card body layout */
.card-body{
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Fixed description area */
.card-desc{
    min-height: 150px; /* adjust as needed */
}

/* Push buttons to bottom */
.card-links{
    margin-top: auto;
}
/* Main portfolio visual identity — responsive redesign */
:root{--navy:#09082d;--ink:#10283a;--purple:#3500bf;--yellow:#ffb800;--page:#e5ecfc;--muted:#59667c}
html{scroll-padding-top:8rem}body{background:var(--page);color:var(--ink)}
header{background:rgba(255,255,255,.96);border-bottom:1px solid #dfe5f1;box-shadow:0 2px 12px #101a3010;padding:1.4rem clamp(2rem,8vw,16rem)}
header .logo{color:var(--ink)}header .logo i{color:var(--ink)}header .logo:hover{color:var(--purple)}header .navbar ul li a{color:var(--ink)}header .navbar ul li a.active,header .navbar ul li a:hover{color:#172cff;border-bottom-color:#172cff}#menu{color:var(--ink)}
section.work{background:radial-gradient(circle at 90% 4%,#d6dffc 0,transparent 36%),linear-gradient(180deg,#f6f8ff 0%,#e5ecfc 62%,#edf1ff 100%);padding:12rem clamp(1.6rem,5vw,8rem) 6rem}
.projects-intro{text-align:center;max-width:78rem;margin:0 auto 3.4rem}.eyebrow{display:inline-block;color:var(--purple);font-weight:800;letter-spacing:.22em;font-size:1.15rem;margin-bottom:1.2rem}.heading{color:var(--ink);font-size:clamp(3rem,4vw,5rem);margin-bottom:1.4rem;letter-spacing:-.04em}.heading i{color:var(--purple)}.heading span{color:var(--purple)}.projects-intro p{font-size:1.55rem;line-height:1.85;color:var(--muted)}
.filter-bar{margin-bottom:3.5rem;gap:.9rem}.filter-btn{background:#fff;color:#39465a;border:1px solid #d7dff0;border-radius:999px;padding:1.1rem 2rem;box-shadow:0 3px 12px #10204008}.filter-btn:hover{background:#f0ebff;color:var(--purple);border-color:#b4a4f5}.filter-btn.active{background:var(--purple);color:#fff;border-color:var(--purple);box-shadow:0 7px 18px #3500bf35}
.projects-grid{max-width:1320px;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem}.project-card{background:#fff;border:1px solid #e0e5f2;border-radius:1.8rem;box-shadow:0 12px 35px #182b4812;min-width:0}.project-card:hover{border-color:#b5a2f6;box-shadow:0 22px 45px #182b4824;transform:translateY(-5px)}.slideshow{height:auto;aspect-ratio:16/10;background:#e9edf7}.slide img{object-fit:contain;object-position:center;background:#eef1f8}.slide-placeholder{background:linear-gradient(135deg,#e9edff,#d9e1f6)}.slide-placeholder .ph-icon{color:var(--purple);opacity:.4}.slide-placeholder .ph-label{color:var(--muted)}.slide-arrow{background:#0b103ab8}.slide-arrow:hover{background:var(--yellow);color:var(--navy)}.dot.active{background:var(--yellow)}.slide-expand-hint{color:#fff;background:#0c123d99;border-radius:20px;padding:.3rem .8rem}.card-body{padding:2.4rem}.card-category{color:var(--purple);background:#eee9ff;border:1px solid #ded4ff}.card-title{color:var(--ink);font-size:2rem}.card-desc{color:var(--muted);min-height:0;font-size:1.3rem;line-height:1.8;flex:1}.card-tech{margin-top:1rem}.tech-pill{color:#4c5870;background:#f1f4fa;border:1px solid #e1e7f2;border-radius:7px}.card-links{flex-wrap:wrap}.card-link{flex:1 1 auto;min-height:4.2rem;cursor:pointer;border-radius:9px}.card-link.github{color:var(--ink);background:#f3f5fa;border:1px solid #e0e5ee}.card-link.github:hover{background:#e9eaf5;border-color:#c6cde2}.card-link.live{background:var(--yellow);color:var(--navy)}.card-link.view-btn{background:var(--purple);color:white}.card-link.view-btn:hover{background:#230082}.backbtn .btn{color:var(--purple);border:2px solid #c2b6ee;background:#fff;border-radius:12px}.backbtn .btn:hover{background:var(--purple);border-color:var(--purple);color:white}#scroll-top{background:var(--yellow);color:var(--navy)}
.portfolio-footer{background:var(--navy);color:#fff;padding:4rem clamp(2rem,10vw,16rem);display:flex;align-items:center;justify-content:space-between;gap:2rem}.portfolio-footer strong{font-size:2rem}.portfolio-footer p{font-size:1.3rem;color:#c1c5df;margin-top:.7rem}.portfolio-footer a{color:var(--yellow);font-size:1.5rem;font-weight:700}.empty-projects{grid-column:1/-1;text-align:center;font-size:1.6rem;color:var(--muted);padding:5rem 2rem}
#lightbox .lb-container{background:#fff;border:1px solid #deddf5}#lightbox .lb-header{background:#f6f7ff}#lightbox .lb-title{color:var(--ink)}#lightbox .lb-counter{color:var(--purple);background:#eee9ff;border-color:#ded4ff}#lightbox .lb-close{color:var(--ink);background:#edf0f7}#lightbox .lb-stage{background:#f0f3fa}#lightbox .lb-thumb.active{border-color:var(--purple)}#lightbox .lb-dot.active{background:var(--purple)}
@media(max-width:1100px){.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}header{padding-inline:4%}header .navbar ul{gap:1.3rem}}
@media(max-width:768px){header .navbar{top:6.5rem;height:calc(100dvh - 6.5rem);background:#fff;box-shadow:-12px 10px 25px #1723411c;overflow-y:auto}header .navbar ul li a{color:var(--ink)}header .navbar ul li a.active,header .navbar ul li a:hover{color:var(--purple);background:#f0ebff;border-left-color:var(--purple)}section.work{padding:10rem 1.6rem 4rem}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.card-body{padding:1.7rem}.portfolio-footer{padding:3rem 2rem}.projects-intro p{font-size:1.4rem}}
@media(max-width:580px){.projects-grid{grid-template-columns:minmax(0,1fr);max-width:44rem}.filter-bar{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:.5rem .2rem 1.2rem;scrollbar-width:thin}.filter-btn{white-space:nowrap;flex:none}.card-links{flex-direction:row}.portfolio-footer{flex-direction:column;text-align:center}.lb-container{width:96vw}.lb-stage{padding:.8rem 3.6rem}.lb-img-wrap{min-height:18rem}.heading{font-size:3.1rem}}
@media(max-height:500px) and (orientation:landscape){section.work{padding-top:9rem}.lb-container{max-height:95dvh}.lb-img-wrap{min-height:10rem;max-height:45dvh}.lb-thumbs{padding:.4rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
