/* ══════════════════════════════════════
   OAKEN EVENTS — Portfolio Page
   Brand System v2
══════════════════════════════════════ */
:root {
    --ink: #0C0C0A;
    --ink-soft: #161612;
    --ink-mid: #1e1e1a;
    --forest: #1A4A2E;
    --forest-deep: #112e1c;
    --forest-mid: #254d35;
    --gold: #B09A6B;
    --gold-light: #C8B48A;
    --gold-pale: #e8dcc8;
    --ivory: #F4EFE4;
    --ivory-soft: #EDE7D8;
    --warm-mid: #9a9080;
    --social: #7a9e7e;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    background: var(--ink);
    color: var(--ivory);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

/* ── Cursor ── */
#cur {
    position: fixed;
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s;
}

#cur-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(176, 154, 107, .45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
}

body:has(a:hover) #cur,
body:has(button:hover) #cur {
    width: 12px;
    height: 12px;
}

body:has(a:hover) #cur-ring,
body:has(button:hover) #cur-ring {
    width: 48px;
    height: 48px;
    border-color: rgba(176, 154, 107, .8);
}

/* ── NAV ── */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 72px;
    background: rgba(12, 12, 10, .96);
    border-bottom: 1px solid rgba(176, 154, 107, .12);
    backdrop-filter: blur(12px);
}

.nav-logo img {
    height: 30px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-family: 'Syne', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(244, 239, 228, .45);
    text-decoration: none;
    transition: color .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-cta {
    font-family: 'Syne', sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--gold);
    padding: 11px 28px;
    text-decoration: none;
    cursor: none;
    transition: background .3s, transform .2s;
}

.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.nav-mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: none;
}

.nav-hamburger {
    width: 22px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    height: 1.5px;
    background: var(--ivory);
    border-radius: 2px;
}

/* ── MOBILE MENU ── */
#mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(12, 12, 10, .98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

#mobile-nav.open {
    opacity: 1;
    pointer-events: all;
    display: flex;
}

#mobile-nav a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--ivory);
    text-decoration: none;
    transition: color .3s;
}

#mobile-nav a:hover {
    color: var(--gold);
}

#mobile-nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: none;
    color: var(--gold);
    font-size: 1.4rem;
}

/* ── PAGE HERO ── */
#page-hero {
    position: relative;
    padding: 140px 48px 72px;
    overflow: hidden;
    border-bottom: 1px solid rgba(176, 154, 107, .1);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 90% 40%, rgba(26, 74, 46, .18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 5% 90%, rgba(176, 154, 107, .06) 0%, transparent 50%),
        var(--ink);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    font-family: 'Syne', sans-serif;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.page-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    line-height: .95;
    letter-spacing: -.01em;
}

.page-hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.page-hero-sub {
    font-size: .95rem;
    color: rgba(244, 239, 228, .45);
    line-height: 1.8;
    max-width: 440px;
    margin-top: 24px;
}

.page-hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 48px;
    gap: 32px;
    flex-wrap: wrap;
}

.page-hero-stats {
    display: flex;
    gap: 48px;
}

.ph-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 2.8rem;
    color: var(--gold-light);
    line-height: 1;
    display: block;
}

.ph-stat-label {
    font-family: 'Syne', sans-serif;
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(244, 239, 228, .3);
    margin-top: 4px;
    display: block;
}

.page-hero-divider {
    width: 100%;
    height: 1px;
    margin-top: 48px;
    background: linear-gradient(to right, rgba(176, 154, 107, .4) 0%, rgba(176, 154, 107, .1) 50%, transparent 100%);
}

/* ── FILTER BAR ── */
#filter-bar {
    position: sticky;
    top: 72px;
    z-index: 100;
    background: rgba(12, 12, 10, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    backdrop-filter: blur(16px);
    padding: 0 48px;
    display: flex;
    align-items: stretch;
    gap: 0;
}

.filter-tabs {
    display: flex;
    align-items: stretch;
    flex: 1;
    gap: 0;
}

.filter-tab {
    font-family: 'Syne', sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(244, 239, 228, .3);
    padding: 20px 24px;
    cursor: none;
    border: none;
    background: transparent;
    transition: color .3s;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.filter-tab:hover {
    color: rgba(244, 239, 228, .65);
}

.filter-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: rgba(176, 154, 107, .12);
    border-radius: 10px;
    font-size: .52rem;
    color: var(--gold);
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, .05);
}

.sort-label {
    font-family: 'Syne', sans-serif;
    font-size: .58rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(244, 239, 228, .2);
}

/* ── CATEGORY SECTION HEADER ── */
.cat-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 56px 48px 32px;
}

.cat-header-name {
    font-family: 'Syne', sans-serif;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cat-header-name.corp {
    color: var(--gold);
}

.cat-header-name.soc {
    color: var(--social);
}

.cat-header-rule {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .06);
}

.cat-header-count {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(244, 239, 228, .2);
    white-space: nowrap;
}

/* ── PORTFOLIO GRID ── */
.portfolio-area {
    padding: 0 48px 80px;
}

/* ── CATEGORY FEATURED ROW ── */
.cat-feature {
    display: grid;
    gap: 3px;
    margin-bottom: 3px;
}

.cat-feature.corp-feature {
    grid-template-columns: 1.55fr 1fr 1fr;
}

.cat-feature.soc-feature {
    grid-template-columns: 1fr 1fr 1.4fr;
}

.cat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-bottom: 3px;
}

.cat-row-wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    margin-bottom: 3px;
}

/* ── CARD ── */
.card {
    position: relative;
    overflow: hidden;
    background: var(--ink-soft);
    cursor: none;
    display: block;
}

.card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s cubic-bezier(.25, .46, .45, .94);
}

.card:hover .card-img {
    transform: scale(1.06);
}

.card-sizer {
    width: 100%;
}

/* Aspect ratios via padding-bottom */
.ar-landscape { padding-bottom: 62%;  }
.ar-portrait  { padding-bottom: 128%; }
.ar-square    { padding-bottom: 78%;  }
.ar-wide      { padding-bottom: 48%;  }
.ar-cinema    { padding-bottom: 55%;  }

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 8, .92) 0%, rgba(10, 10, 8, .25) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 28px 32px;
    transition: background .4s;
}

.card:hover .card-overlay {
    background: linear-gradient(to top, rgba(10, 10, 8, .97) 0%, rgba(10, 10, 8, .45) 60%, rgba(10, 10, 8, .1) 100%);
}

.card-type {
    font-family: 'Syne', sans-serif;
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-type::before {
    content: '';
    display: block;
    width: 14px;
    height: 1px;
}

.card-type.corp { color: var(--gold); }
.card-type.corp::before { background: var(--gold); }

.card-type.soc { color: var(--social); }
.card-type.soc::before { background: var(--social); }

.card-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.6vw, 1.5rem);
    line-height: 1.15;
    color: var(--ivory);
    margin-bottom: 6px;
}

.card-meta {
    font-size: .72rem;
    color: rgba(244, 239, 228, .38);
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.card-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(244, 239, 228, .2);
}

/* Hover reveal: CTA arrow */
.card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(176, 154, 107, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    transform: translateY(-8px) scale(.9);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease, background .3s;
}

.card:hover .card-arrow {
    transform: none;
    opacity: 1;
}

.card-arrow:hover {
    background: var(--gold);
    color: var(--ink);
}

/* Count badge always visible */
.card-count {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(244, 239, 228, .06);
    pointer-events: none;
    letter-spacing: -.02em;
}

/* ── SEPARATOR BAND ── */
.section-band {
    background: var(--forest-deep);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-top: 1px solid rgba(176, 154, 107, .12);
    border-bottom: 1px solid rgba(176, 154, 107, .12);
    flex-wrap: wrap;
}

.band-quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(244, 239, 228, .65);
    max-width: 520px;
    line-height: 1.5;
    flex: 1;
    min-width: 220px;
}

.band-stat {
    text-align: right;
}

.band-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 3rem;
    color: var(--gold-light);
    line-height: 1;
}

.band-stat-label {
    font-family: 'Syne', sans-serif;
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(244, 239, 228, .3);
    margin-top: 4px;
}

/* ── LIGHTBOX ── */
#lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(8, 8, 6, .97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}

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

.lb-inner {
    width: min(92vw, 1080px);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    max-height: 88vh;
    transform: translateY(20px);
    transition: transform .4s ease;
    border: 1px solid rgba(176, 154, 107, .1);
}

#lightbox.open .lb-inner {
    transform: none;
}

.lb-visual {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background: var(--ink-soft);
}

.lb-visual-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.lb-visual-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(8, 8, 6, .6) 100%);
}

.lb-info {
    background: var(--ink-mid);
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-left: 1px solid rgba(176, 154, 107, .08);
}

.lb-tag {
    font-family: 'Syne', sans-serif;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid;
    display: inline-block;
    width: fit-content;
    margin-bottom: 28px;
}

.lb-tag.corp {
    border-color: rgba(176, 154, 107, .5);
    color: var(--gold);
}

.lb-tag.soc {
    border-color: rgba(122, 158, 126, .5);
    color: var(--social);
}

.lb-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.1;
    color: var(--ivory);
    margin-bottom: 8px;
}

.lb-location {
    font-family: 'Syne', sans-serif;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--warm-mid);
    margin-bottom: 28px;
}

.lb-desc {
    font-size: .9rem;
    color: rgba(244, 239, 228, .5);
    line-height: 1.85;
    flex: 1;
}

.lb-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.lb-detail-label {
    font-family: 'Syne', sans-serif;
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.lb-detail-val {
    font-size: .82rem;
    color: rgba(244, 239, 228, .55);
}

.lb-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: none;
    cursor: none;
    color: rgba(244, 239, 228, .45);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .3s, color .3s;
    z-index: 10;
}

.lb-close:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.lb-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.lb-nav-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: none;
    cursor: none;
    color: rgba(244, 239, 228, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .3s, color .3s;
    font-size: .95rem;
}

.lb-nav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ── CTA ── */
#port-cta {
    background: var(--forest-deep);
    padding: 96px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#port-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(176, 154, 107, .07) 0%, transparent 70%);
    pointer-events: none;
}

.cta-eyebrow {
    font-family: 'Syne', sans-serif;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cta-eyebrow::before,
.cta-eyebrow::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(176, 154, 107, .35);
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 18px;
    position: relative;
}

.cta-title em {
    font-style: italic;
    color: var(--gold-light);
}

.cta-sub {
    font-size: .93rem;
    color: rgba(244, 239, 228, .4);
    line-height: 1.75;
    max-width: 420px;
    margin: 0 auto 44px;
    position: relative;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-gold {
    font-family: 'Syne', sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--ink);
    padding: 15px 36px;
    text-decoration: none;
    cursor: none;
    transition: background .3s, transform .2s;
    display: inline-block;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-forest {
    font-family: 'Syne', sans-serif;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    background: transparent;
    color: var(--ivory);
    border: 1px solid rgba(244, 239, 228, .2);
    padding: 15px 36px;
    text-decoration: none;
    cursor: none;
    transition: border-color .3s, color .3s;
    display: inline-block;
}

.btn-forest:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ── FOOTER ── */
footer {
    background: #080806;
    padding: 48px 48px 32px;
    border-top: 1px solid rgba(176, 154, 107, .12);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 26px;
    width: auto;
    display: block;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-family: 'Syne', sans-serif;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(244, 239, 228, .28);
    text-decoration: none;
    transition: color .3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    font-size: .72rem;
    color: rgba(244, 239, 228, .18);
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.rd1 { transition-delay: .08s; }
.rd2 { transition-delay: .16s; }
.rd3 { transition-delay: .24s; }

/* ── HIDDEN (filter) ── */
.cat-block.hidden {
    display: none;
}

/* ── RESPONSIVE ── */
@media(max-width:960px) {
    .cat-feature.corp-feature,
    .cat-feature.soc-feature {
        grid-template-columns: 1fr 1fr;
    }

    .cat-row {
        grid-template-columns: 1fr 1fr;
    }

    .cat-row-wide {
        grid-template-columns: 1fr;
    }

    .lb-inner {
        grid-template-columns: 1fr;
    }

    .lb-visual {
        min-height: 280px;
    }

    .lb-info {
        max-height: 50vh;
    }

    .section-band {
        flex-direction: column;
    }

    .band-stat {
        text-align: left;
    }
}

@media(max-width:700px) {
    #nav {
        padding: 0 20px;
        height: 60px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-mobile-btn {
        display: flex;
        align-items: center;
    }

    #page-hero {
        padding: 100px 20px 52px;
    }

    .page-hero-stats {
        gap: 28px;
    }

    .ph-stat-num {
        font-size: 2rem;
    }

    #filter-bar {
        padding: 0 20px;
        overflow-x: auto;
    }

    .filter-tab {
        padding: 18px 14px;
        font-size: .58rem;
    }

    .filter-right {
        display: none;
    }

    .cat-header {
        padding: 40px 20px 24px;
    }

    .portfolio-area {
        padding: 0 20px 60px;
    }

    .cat-feature.corp-feature,
    .cat-feature.soc-feature,
    .cat-row,
    .cat-row-wide {
        grid-template-columns: 1fr;
    }

    .ar-portrait {
        padding-bottom: 90%;
    }

    .section-band {
        padding: 36px 20px;
    }

    #port-cta {
        padding: 72px 20px;
    }

    footer {
        padding: 36px 20px 24px;
    }

    .footer-links {
        display: none;
    }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px) }
    to   { opacity: 1; transform: none             }
}

@keyframes fadeIn {
    from { opacity: 0 }
    to   { opacity: 1 }
}
