:root {
    --project-ink: #111111;
    --project-ink-soft: #4b5563;
    --project-paper: #fffdfa;
    --project-panel: #ffffff;
    --project-line: rgba(17, 17, 17, 0.09);
    --project-gold: #d4af37;
    --project-gold-deep: #9f7412;
    --project-accent: #143642;
    --project-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
    --project-shadow-soft: 0 10px 24px rgba(17, 17, 17, 0.07);
    --project-radius: 24px;
    --project-radius-sm: 18px;
    --project-max: 1200px;
}

body {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 28%),
        linear-gradient(180deg, #fffdfa 0%, #f7f2e7 100%);
    color: var(--project-ink);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--project-max);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-pad {
    padding: 5rem 1rem;
}

.section-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-copy {
    margin: 1rem auto 0;
    color: var(--project-ink-soft);
    font-size: 1.03rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    color: var(--project-gold-deep);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.project-hero {
    position: relative;
    min-height: clamp(520px, 72vh, 760px);
    overflow: hidden;
    background: #000;
}

.project-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.project-hero .banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(9, 11, 15, 0.88) 0%, rgba(9, 11, 15, 0.66) 40%, rgba(9, 11, 15, 0.32) 100%);
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(760px, 100%);
    color: #fff;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.04;
}

.hero-copy p {
    margin: 1.2rem 0 0;
    font-size: clamp(1rem, 2vw, 1.16rem);
    color: rgba(255, 255, 255, 0.84);
    max-width: 62ch;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.stat-card strong {
    display: block;
    font-size: 1.9rem;
    line-height: 1;
    color: #fff;
}

.stat-card span {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-actions .btn,
.feature-actions .btn,
.cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.9rem 1.45rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #e6c552 0%, #c79a22 100%);
    color: #111;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 24px rgba(212, 175, 55, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.hero-actions .btn:hover,
.feature-actions .btn:hover,
.cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(212, 175, 55, 0.28);
}

.btn-ghost {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: none !important;
}

.project-jump-wrap {
    position: relative;
    margin-top: -4.2rem;
    z-index: 5;
}

.project-jump {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--project-radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--project-shadow);
    backdrop-filter: blur(18px);
}

.jump-copy h2 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.jump-copy p {
    margin: 0.9rem 0 0;
    color: var(--project-ink-soft);
}

.jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-content: start;
}

.jump-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(20, 54, 66, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--project-ink);
    text-decoration: none;
    box-shadow: var(--project-shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.jump-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.5);
}

.jump-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.16);
    color: var(--project-gold-deep);
    font-size: 0.8rem;
    font-weight: 700;
}

.featured-stack {
    display: grid;
    gap: 2rem;
}

.feature-card,
.archive-card {
    scroll-margin-top: 6.5rem;
}

.feature-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(20, 54, 66, 0.1);
    border-radius: var(--project-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, #ffffff 100%);
    box-shadow: var(--project-shadow);
}

.feature-card:nth-child(even) .feature-media {
    order: 2;
}

.feature-card:nth-child(even) .feature-body {
    order: 1;
}

.feature-media {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.feature-hero,
.archive-media,
.thumb-grid button,
.lb-thumb {
    border: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
}

.feature-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--project-radius-sm);
}

.feature-hero img {
    width: 100%;
    min-height: 360px;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.feature-hero:hover img,
.archive-media:hover img {
    transform: scale(1.03);
}

.hero-viewer {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.7);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.thumb-grid button {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--project-shadow-soft);
}

.thumb-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.thumb-grid button:hover img {
    transform: scale(1.05);
    opacity: 0.92;
}

.feature-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(20, 54, 66, 0.08);
    color: var(--project-accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.pill-status {
    background: rgba(212, 175, 55, 0.18);
    color: var(--project-gold-deep);
}

.feature-body h3 {
    margin: 1rem 0 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.08;
}

.feature-location {
    margin: 0.9rem 0 0;
    color: var(--project-accent);
    font-weight: 600;
}

.feature-summary {
    margin: 1rem 0 0;
    color: var(--project-ink-soft);
    font-size: 1rem;
    line-height: 1.75;
}

.feature-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.meta-item {
    min-height: 100%;
    padding: 1rem;
    border-radius: 18px;
    background: #f7f2e7;
    border: 1px solid rgba(212, 175, 55, 0.16);
}

.meta-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--project-gold-deep);
}

.meta-value {
    display: block;
    margin-top: 0.45rem;
    color: var(--project-ink);
    line-height: 1.55;
}

.feature-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.6rem;
}

.text-link {
    color: var(--project-accent);
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.project-archive {
    padding-top: 1rem;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
}

.archive-card {
    overflow: hidden;
    border: 1px solid rgba(20, 54, 66, 0.1);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--project-shadow-soft);
}

.archive-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.archive-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.archive-count {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.74);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.archive-body {
    padding: 1.25rem 1.2rem 1.35rem;
}

.archive-kicker span {
    display: inline-flex;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(20, 54, 66, 0.08);
    color: var(--project-accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.archive-body h3 {
    margin: 0.85rem 0 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.archive-location {
    margin: 0.55rem 0 0;
    color: var(--project-accent);
    font-weight: 600;
}

.archive-summary {
    margin: 0.85rem 0 0;
    color: var(--project-ink-soft);
    line-height: 1.65;
}

.archive-empty {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px dashed rgba(20, 54, 66, 0.2);
    border-radius: var(--project-radius);
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.archive-empty h3 {
    margin: 0;
    font-size: 1.6rem;
}

.archive-empty p {
    margin: 0.9rem 0 0;
    color: var(--project-ink-soft);
}

.cta {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    background:
        linear-gradient(135deg, rgba(11, 15, 18, 0.9) 0%, rgba(11, 15, 18, 0.82) 100%),
        url('/images/abikhero.jpg') center / cover no-repeat;
    color: #fff;
    text-align: center;
}

.cta .container {
    max-width: 860px;
    padding: 4.2rem 1rem;
}

.cta h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta p {
    margin: 1rem auto 0;
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.84);
}

.cta .btn {
    margin-top: 1.8rem;
}

.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: rgba(9, 11, 15, 0.88);
    backdrop-filter: blur(10px);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-shell {
    width: min(1100px, 100%);
    max-height: calc(100vh - 2.4rem);
    padding: 1.25rem;
    border-radius: 28px;
    background: rgba(12, 16, 21, 0.96);
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.lb-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-left: auto;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.lightbox-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-top: 1rem;
}

.lb-kicker {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
}

.lightbox-top h3 {
    margin: 0.35rem 0 0;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.lb-counter {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.lightbox-stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.lb-image-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0.75rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
}

.lb-image-frame img {
    max-width: 100%;
    max-height: 66vh;
    border-radius: 18px;
    object-fit: contain;
}

.lb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.lightbox-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
}

.lb-thumb {
    overflow: hidden;
    border-radius: 14px;
    border: 2px solid transparent;
    opacity: 0.74;
}

.lb-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.lb-thumb.is-active {
    border-color: var(--project-gold);
    opacity: 1;
}

@media (max-width: 980px) {
    .project-jump,
    .feature-card {
        grid-template-columns: 1fr;
    }

    .feature-card:nth-child(even) .feature-media,
    .feature-card:nth-child(even) .feature-body {
        order: initial;
    }

    .feature-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .section-pad {
        padding: 4rem 1rem;
    }

    .project-jump-wrap {
        margin-top: -2.4rem;
    }

    .project-jump,
    .feature-card,
    .lightbox-shell {
        padding: 1.1rem;
    }

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

    .feature-meta {
        grid-template-columns: 1fr;
    }

    .lightbox-top,
    .lightbox-stage {
        grid-template-columns: 1fr;
        display: grid;
    }

    .lightbox-top {
        align-items: start;
    }

    .lb-counter {
        justify-self: start;
    }

    .lb-btn {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 560px) {
    .project-hero {
        min-height: 560px;
    }

    .hero-copy h1 {
        font-size: 2.25rem;
    }

    .hero-actions,
    .feature-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .jump-links {
        flex-direction: column;
    }

    .jump-links a {
        width: 100%;
    }

    .feature-hero img,
    .archive-media img {
        min-height: 0;
    }

    .lightbox {
        padding: 0.75rem;
    }

    .lightbox-shell {
        max-height: calc(100vh - 1.5rem);
        border-radius: 22px;
    }

    .lb-image-frame img {
        max-height: 52vh;
    }
}
