/* =========================================================================
   Feyfay Investment — stylesheet (light, clean & modern)
   ========================================================================= */

:root {
    --brand-primary: #7c3aed;
    --brand-primary-dark: #6d28d9;
    --brand-primary-light: #8b5cf6;

    --brand-entertainment: #d97706;
    --brand-entertainment-light: #f59e0b;
    --brand-empowerment: #0f766e;
    --brand-empowerment-light: #0d9488;
    --brand-sports: #dc2626;
    --brand-sports-light: #ef4444;
    --brand-awards: #7c3aed;

    --background: #f7f7fb;
    --background-card: #ffffff;
    --background-elevated: #f1f2f6;
    --foreground: #111827;
    --foreground-muted: #5b6472;
    --border: #e5e7ef;
    --border-strong: #d3d6e0;

    --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;

    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
    --shadow-lg: 0 20px 50px rgba(16, 24, 40, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main { flex: 1; }

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

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

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .75rem; letter-spacing: -0.02em; }

:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; border-radius: 4px; }

p { margin: 0 0 1rem; }

ul { padding: 0; margin: 0; list-style: none; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: .75rem 1rem;
    background: var(--brand-primary);
    color: #fff;
    border-radius: 0 0 var(--radius-lg) 0;
}
.skip-link:focus { left: 0; }

.container {
    max-width: 78rem;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.icon { width: 1em; height: 1em; flex-shrink: 0; }
.icon.flip { transform: rotate(180deg); }

/* Gradient helpers ------------------------------------------------------- */

.gradient-text {
    background: linear-gradient(92deg, var(--brand-primary), var(--brand-primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-text-entertainment {
    background: linear-gradient(92deg, var(--brand-entertainment), #b45309);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-gradient {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
}

.glow-brand { box-shadow: 0 0 45px rgba(124, 58, 237, .25); }

/* Buttons ---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.6rem;
    border-radius: var(--radius-xl);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
    border: 0;
    cursor: pointer;
    transition: opacity .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s;
    text-align: center;
}
.btn:hover { opacity: .92; }
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    color: #fff;
    box-shadow: 0 8px 20px rgba(124, 58, 237, .25);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(124, 58, 237, .32); opacity: 1; }

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .75);
    color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-white {
    background: #fff;
    color: var(--brand-primary-dark);
    font-weight: 700;
}
.btn-white:hover { background: rgba(255, 255, 255, .92); opacity: 1; }

.btn-bordered {
    background: #fff;
    border: 1px solid var(--border-strong);
    color: var(--foreground);
}
.btn-bordered:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

.btn-sm { padding: .5rem 1.1rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Header ----------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
}

.brand { display: flex; align-items: center; gap: .6rem; }
.brand-logo { height: 40px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; color: var(--foreground); }

.site-nav { display: flex; gap: 1.6rem; }

.nav-link {
    font-size: .925rem;
    color: var(--foreground-muted);
    transition: color .2s;
    padding: .25rem 0;
}
.nav-link:hover, .nav-link.is-active { color: var(--foreground); }
.nav-link.is-active { color: var(--brand-primary); }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .3rem; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav-dropdown[open] summary .icon { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + .5rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    min-width: 190px;
    padding: .45rem;
    display: grid;
    gap: .15rem;
    z-index: 40;
}
.nav-drop-item {
    padding: .6rem .9rem;
    border-radius: var(--radius-lg);
    font-size: .9rem;
    color: var(--foreground-muted);
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.nav-drop-item:hover { background: var(--background-elevated); color: var(--foreground); }
.nav-drop-item.is-active { color: var(--brand-primary); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
    display: none;
    background: #fff;
    border: 1px solid var(--border-strong);
    color: var(--foreground);
    border-radius: var(--radius-lg);
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
}
.nav-toggle .icon:last-child { display: none; }
.nav-toggle[aria-expanded="true"] .icon:first-child { display: none; }
.nav-toggle[aria-expanded="true"] .icon:last-child { display: block; }

/* Hero ------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 4rem;
    padding-bottom: 3rem;
    background: linear-gradient(180deg, #efe7ff, var(--background) 78%);
}
.hero > .container { position: relative; z-index: 1; }

/* Animated background ----------------------------------------------------- */

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    will-change: transform;
    transition: transform .3s ease-out;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    will-change: transform;
}
.orb-1 { width: 600px; height: 600px; top: -160px; left: -140px; background: rgba(124, 58, 237, .38); animation: orbFloat 12s ease-in-out infinite alternate; }
.orb-2 { width: 420px; height: 420px; top: 4%; right: -130px;  background: rgba(217, 119, 6, .28); animation: orbFloat 16s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 480px; height: 480px; bottom: -150px; right: 22%; background: rgba(15, 118, 110, .26); animation: orbFloat 14s ease-in-out infinite alternate; }
.orb-4 { width: 340px; height: 340px; top: 34%; left: 3%;     background: rgba(190, 18, 60, .18); animation: orbFloat 18s ease-in-out infinite alternate-reverse; }
.orb-5 { width: 260px; height: 260px; bottom: 8%; left: 26%;  background: rgba(59, 130, 246, .20); animation: orbFloat 10s ease-in-out infinite alternate; }

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(124, 58, 237, .30);
    will-change: transform;
}
.ring-1 { width: 110px; height: 110px; top: 18%; left: 12%;  animation: spin 18s linear infinite; }
.ring-2 { width: 170px; height: 170px; bottom: 24%; right: 8%; border-color: rgba(217, 119, 6, .36); animation: spin 22s linear infinite reverse; }
.ring-3 { width: 70px; height: 70px;   top: 30%; right: 14%; border-color: rgba(15, 118, 110, .40); animation: breathe 6s ease-in-out infinite alternate; }

.plus {
    position: absolute;
    width: 16px;
    height: 16px;
    will-change: transform;
}
.plus::before,
.plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.plus::after  { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.plus-1 { top: 26%; right: 20%; color: rgba(124, 58, 237, .6); animation: plusFloat 8s ease-in-out infinite; }
.plus-2 { bottom: 32%; left: 15%; color: rgba(15, 118, 110, .55); animation: plusFloat 10s ease-in-out infinite reverse; }
.plus-3 { top: 60%; left: 42%; color: rgba(217, 119, 6, .55);  animation: plusFloat 11s ease-in-out infinite; }

.dot {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    will-change: transform, opacity;
}
.dot-1 { width: 9px;  height: 9px;  left: 8%;  background: rgba(124, 58, 237, .55); animation: rise 12s ease-in-out infinite; }
.dot-2 { width: 7px;  height: 7px;  left: 20%; background: rgba(13, 148, 136, .55); animation: rise 16s ease-in-out 2s infinite; }
.dot-3 { width: 11px; height: 11px; left: 38%; background: rgba(217, 119, 6, .50); animation: rise 14s ease-in-out 1s infinite; }
.dot-4 { width: 6px;  height: 6px;  left: 55%; background: rgba(59, 130, 246, .6);  animation: rise 18s ease-in-out 4s infinite; }
.dot-5 { width: 10px; height: 10px; left: 72%; background: rgba(124, 58, 237, .45); animation: rise 13s ease-in-out 3s infinite; }
.dot-6 { width: 8px;  height: 8px;  left: 88%; background: rgba(190, 18, 60, .50); animation: rise 17s ease-in-out 1.5s infinite; }
.dot-7 { width: 6px;  height: 6px;  left: 14%; background: rgba(124, 58, 237, .5);  animation: rise 15s ease-in-out 5.5s infinite; }
.dot-8 { width: 9px;  height: 9px;  left: 46%; background: rgba(217, 119, 6, .45); animation: rise 19s ease-in-out 3.5s infinite; }
.dot-9 { width: 7px;  height: 7px;  left: 65%; background: rgba(15, 118, 110, .5);  animation: rise 16s ease-in-out 6s infinite; }

.twinkle {
    position: absolute;
    width: 18px;
    height: 18px;
    will-change: transform, opacity;
}
.twinkle::before,
.twinkle::after { content: ""; position: absolute; background: currentColor; }
.twinkle::before { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.twinkle::after  { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%) rotate(45deg); }
.twinkle-1 { top: 34%;   left: 30%; color: rgba(124, 58, 237, .65); animation: twinkle 4s ease-in-out infinite; }
.twinkle-2 { top: 22%;   right: 32%; color: rgba(217, 119, 6, .6);  animation: twinkle 5s ease-in-out 1.2s infinite; }
.twinkle-3 { bottom: 40%; right: 28%; color: rgba(15, 118, 110, .55); animation: twinkle 6s ease-in-out 2.5s infinite; }

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56rem;
    height: 56rem;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(124, 58, 237, .16), rgba(124, 58, 237, 0) 62%);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 7s ease-in-out infinite;
    will-change: transform, opacity;
}

/* Hero content ------------------------------------------------------------ */

.hero .eyeball {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--border);
    color: var(--foreground-muted);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}
.hero .eyeball .icon { color: var(--brand-primary); }

.hero h1 {
    font-size: clamp(2.6rem, 7vw, 6rem);
    font-weight: 900;
    letter-spacing: -.03em;
    margin: 1.5rem 0 1rem;
    line-height: 1.02;
    color: var(--foreground);
}
.hero .gradient-text {
    background: linear-gradient(92deg, var(--brand-primary), var(--brand-entertainment), var(--brand-empowerment), var(--brand-primary));
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShimmer 7s ease-in-out infinite;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--foreground-muted);
    max-width: 40rem;
    margin: 0 auto 2.5rem;
    line-height: 1.625;
}

.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 4rem; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 52rem;
    margin-inline: auto;
}
.hero-stat { padding: .25rem 1.5rem; }
.hero-stat + .hero-stat { border-left: 1px solid var(--border); }
.hero-stat .stat-value {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: .25rem;
    color: var(--foreground);
    letter-spacing: -0.02em;
}
.hero-stat .stat-label { font-size: .85rem; color: var(--foreground-muted); }

.hero-scroll {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: var(--foreground-muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: 3.5rem;
}
.hero-scroll .mouse {
    width: 20px;
    height: 36px;
    border: 2px solid rgba(17, 24, 39, .25);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding: 5px;
}
.hero-scroll .mouse span {
    width: 6px;
    height: 10px;
    background: var(--brand-primary);
    border-radius: 999px;
    animation: bounce 1.6s infinite;
}

/* Sections --------------------------------------------------------------- */

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-sm { padding-block: clamp(2rem, 4vw, 3rem); }

.section-head { text-align: center; margin-bottom: 3rem; }

.eyebrow {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--brand-primary);
    margin-bottom: .75rem;
}

.section-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.02em; }

.section-sub {
    color: var(--foreground-muted);
    max-width: 36rem;
    margin: .75rem auto 0;
}

.section-head-left { text-align: left; margin-bottom: 2.5rem; }
.section-head-left .section-sub { margin-left: 0; }

.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.25rem; }
.head-row .section-title { margin: 0; }
.head-row .event-view { font-size: .9rem; font-weight: 600; }

/* Cards ------------------------------------------------------------------ */

.card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* What we do cards */

.what-card { padding: 1.5rem; transition: border-color .2s, transform .2s, box-shadow .2s; }
.what-card:hover { border-color: rgba(124, 58, 237, .4); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.what-card .card-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-xl);
    background: rgba(124, 58, 237, .1);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
}
.what-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.what-card p { color: var(--foreground-muted); font-size: .925rem; margin-bottom: 1rem; }
.what-card .more {
    color: var(--brand-primary);
    font-size: .875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* Event card ------------------------------------------------------------- */
.event-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.event-card:hover { border-color: rgba(124, 58, 237, .45); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.event-card-media { position: relative; height: 190px; overflow: hidden; background: var(--background-elevated); }
.event-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.event-card:hover .event-card-media img { transform: scale(1.05); }
.event-card-media .shade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 20, .55), rgba(10, 10, 20, .08) 55%, transparent);
}

.badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    border: 1px solid;
    backdrop-filter: blur(6px);
}
.badge-featured {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: rgba(124, 58, 237, .92);
    color: #fff;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: .3rem .7rem;
    backdrop-filter: blur(6px);
}
.badge-soldout {
    position: absolute;
    top: 2.4rem;
    right: .75rem;
    background: rgba(190, 18, 60, .92);
    color: #fff;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: .3rem .7rem;
    backdrop-filter: blur(6px);
}
.event-card .badge-soldout { top: 2.4rem; }
.event-detail-main .badge-soldout { top: 2.4rem; }

/* Booking availability + captcha */
.seats-left {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--brand-primary);
    padding: .4rem 0 .2rem;
}
.captcha-field { margin-bottom: 1rem; }
.captcha-question {
    font-weight: 700;
    margin: .15rem 0 .35rem;
    color: var(--foreground);
}

/* Category accents (readable on light surfaces) */
.cat-entertainment { color: #b45309; border-color: rgba(217, 119, 6, .32); background: rgba(217, 119, 6, .1); }
.cat-empowerment   { color: #0f766e; border-color: rgba(13, 148, 136, .34); background: rgba(13, 148, 136, .1); }
.cat-sports        { color: #dc2626; border-color: rgba(239, 68, 68, .34); background: rgba(239, 68, 68, .1); }
.cat-awards        { color: #7c3aed; border-color: rgba(124, 58, 237, .34); background: rgba(124, 58, 237, .1); }

.event-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.event-card-body h3 { font-size: 1rem; margin: 0; }
.event-card-body a:hover h3 { color: var(--brand-primary); }
.event-card-body .desc { color: var(--foreground-muted); font-size: .875rem; }

.event-meta { display: flex; flex-direction: column; gap: .5rem; }
.event-meta .row { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--foreground-muted); }
.event-meta .icon { width: .9rem; height: .9rem; }

.event-card-foot {
    margin-top: auto;
    padding-top: .25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.event-price { font-size: .875rem; font-weight: 700; color: var(--brand-primary); }
.event-view {
    font-size: .75rem;
    color: var(--foreground-muted);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    transition: color .2s;
}
.event-view:hover, .event-card:hover .event-view { color: var(--brand-primary); }

/* CTA band --------------------------------------------------------------- */

.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-3xl);
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    padding: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    box-shadow: 0 20px 45px rgba(124, 58, 237, .28);
}
.cta-band .blob {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    filter: blur(48px);
}
.cta-band .blob-1 { width: 256px; height: 256px; top: -80px; right: -60px; }
.cta-band .blob-2 { width: 192px; height: 192px; bottom: -60px; left: -60px; }
.cta-band > .inner { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; margin-bottom: .75rem; }
.cta-band p { color: rgba(255, 255, 255, .9); font-size: 1.1rem; max-width: 36rem; margin: 0 auto 1.75rem; }

/* Experience (Rock City / Sifa Zivume) ---------------------------------- */

.experience-section { border: 1px solid var(--border); border-radius: var(--radius-3xl); background: var(--background-card); overflow: hidden; box-shadow: var(--shadow-sm); }
.experience-section + .experience-section { margin-top: 1.5rem; }

.experience-head { padding: clamp(1.75rem, 4vw, 3rem); text-align: center; }
.experience-head .xp-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--brand-primary); font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; font-size: .75rem; margin-bottom: .75rem;
}
.experience-head img { margin: 1rem auto; height: 56px; width: auto; }
.experience-head h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; }
.experience-head p { color: var(--foreground-muted); max-width: 44rem; margin-inline: auto; }

.xp-quote {
    font-size: 1.15rem;
    color: var(--foreground);
    font-weight: 600;
    max-width: 40rem;
    margin-inline: auto;
    margin-bottom: .5rem;
}

.xp-numbered { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; padding: 0 clamp(1.75rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem); }
.xp-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-2xl); background: var(--background); }
.xp-item .num { font-size: .8rem; font-weight: 800; color: var(--brand-primary); margin-top: .2rem; }
.xp-item h4 { font-size: 1rem; margin: 0 0 .35rem; }
.xp-item p { margin: 0; color: var(--foreground-muted); font-size: .875rem; }

.xp-foot { border-top: 1px solid var(--border); padding: 1.25rem 1.5rem; text-align: center; color: var(--foreground-muted); font-size: .875rem; }
.xp-foot strong { color: var(--foreground); }

.xp-features { padding: 0 clamp(1.75rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.xp-feature { padding: 1.25rem; border-radius: var(--radius-2xl); background: var(--background); border: 1px solid var(--border); }
.xp-feature h4 { font-size: .95rem; margin-bottom: .4rem; }
.xp-feature p { margin: 0; color: var(--foreground-muted); font-size: .875rem; }

/* Page hero (inner pages) ------------------------------------------------ */

.page-hero {
    padding-block: clamp(4rem, 8vw, 6rem);
    text-align: center;
    background: linear-gradient(180deg, #efe7ff, var(--background) 78%);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 900; letter-spacing: -.02em; margin-bottom: 1rem; }
.page-hero p { color: var(--foreground-muted); max-width: 38rem; margin-inline: auto; font-size: 1.1rem; }

/* About ------------------------------------------------------------------ */

.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-intro h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }
.about-intro p { color: var(--foreground-muted); font-size: 1.05rem; }
.about-intro .media { position: relative; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-md); }
.about-intro .media img { height: 320px; width: 100%; object-fit: cover; }
.about-intro .media .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 20, .35), transparent); }

.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.stat-card { padding: 2rem; text-align: center; border: 1px solid rgba(124, 58, 237, .2); }
.stat-card .value { font-size: 2.5rem; font-weight: 900; margin-bottom: .4rem; }
.stat-card .label { color: var(--foreground-muted); font-size: .875rem; }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mission-card { padding: 2.5rem; border-width: 1px; }
.mission-card .card-icon { width: 46px; height: 46px; border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1.25rem; }
.mission-card.mission { background: rgba(124, 58, 237, .04); }
.mission-card.mission .card-icon { background: rgba(124, 58, 237, .12); color: var(--brand-primary); }
.mission-card.vision { background: rgba(13, 148, 136, .04); }
.mission-card.vision .card-icon { background: rgba(13, 148, 136, .12); color: var(--brand-empowerment); }
.mission-card h3 { font-size: 1.5rem; }
.mission-card p { color: var(--foreground-muted); margin: 0; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.value-row { display: flex; align-items: flex-start; gap: .75rem; }
.value-row .icon { color: var(--brand-primary); margin-top: .2rem; }
.value-row span { font-size: .925rem; }

/* Timeline --------------------------------------------------------------- */

.timeline { max-width: 50rem; margin-inline: auto; }
.timeline-item { display: flex; gap: 1.5rem; }
.timeline-item + .timeline-item { margin-top: 1.5rem; }
.tl-marker { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
    width: 46px; height: 46px; border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    color: #fff; font-size: .6rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.tl-line { width: 1px; flex: 1; background: var(--border-strong); margin-top: .5rem; }
.tl-body { flex: 1; padding: 1rem 1.25rem; background: var(--background-card); border: 1px solid var(--border); border-radius: var(--radius-2xl); }
.tl-body .year { font-size: .75rem; font-weight: 700; color: var(--brand-primary); text-transform: uppercase; letter-spacing: .06em; }
.tl-body h4 { margin: .25rem 0; font-size: 1rem; }
.tl-body p { margin: 0; color: var(--foreground-muted); font-size: .875rem; }

/* Team ------------------------------------------------------------------- */

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; }
.team-card { padding: 1.25rem; text-align: center; }
.team-avatar {
    width: 64px; height: 64px; border-radius: 999px; margin: 0 auto .75rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, .28), rgba(124, 58, 237, .1));
    border: 1px solid rgba(124, 58, 237, .3);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-primary); font-weight: 800; font-size: 1.1rem;
}
.team-card h4 { font-size: .9rem; margin: 0 0 .25rem; }
.team-card p { margin: 0; color: var(--foreground-muted); font-size: .75rem; }
.team-avatar.team-photo { overflow: hidden; }
.team-avatar.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery ---------------------------------------------------------------- */

.gallery-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.gallery-tab {
    padding: .5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: .875rem;
    font-weight: 500;
    border: 1px solid var(--border-strong);
    color: var(--foreground-muted);
    background: #fff;
    transition: all .2s;
}
.gallery-tab:hover { color: var(--foreground); border-color: var(--brand-primary); }
.gallery-tab.is-active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 160px;
    gap: 1rem;
}
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-2xl); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 20, .75), transparent 60%); }
.gallery-item .cap { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; }
.gallery-item .cap .cat { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: .2rem; }
.gallery-item .cap h4 { font-size: .95rem; margin: 0 0 .15rem; color: #fff; }
.gallery-item .cap span { font-size: .75rem; color: rgba(255,255,255,.82); }
.project-item[data-media-kind="video"]::before {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: rgba(0, 0, 0, .18);
}
.project-item[data-media-kind="video"] .lb-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; pointer-events: none;
    width: 58px; height: 58px; border-radius: 999px;
    background: rgba(124, 58, 237, .92); color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s, background .2s;
}
.project-item[data-media-kind="video"] .lb-play .icon { width: 26px; height: 26px; margin-left: 3px; }
.project-item[data-media-kind="video"]:hover .lb-play { transform: translate(-50%, -50%) scale(1.1); background: var(--brand-primary); }

/* Lightbox */

.lightbox {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(10, 10, 18, .92);
    display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lb-media {
    display: flex; align-items: center; justify-content: center;
    max-width: min(90vw, 900px); max-height: 80vh; position: relative;
}
.lb-media img {
    display: block; max-width: 100%; max-height: 80vh;
    border-radius: var(--radius-2xl); object-fit: contain;
}
.lb-video-wrap { display: none; width: min(90vw, 900px); }
.lb-iframe { display: block; width: 100%; aspect-ratio: 16/9; max-height: 78vh; border: none; border-radius: var(--radius-2xl); background: #000; }
.lightbox.video-mode .lb-media img { display: none; }
.lightbox.video-mode .lb-video-wrap { display: block; }
.lightbox .lb-cap { position: absolute; bottom: 1.5rem; text-align: center; color: rgba(255,255,255,.8); font-size: .875rem; width: 100%; }
.lightbox .lb-close {
    position: absolute; top: 1rem; right: 1.5rem;
    background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer;
}

/* Contact ---------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: start; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.contact-card { padding: 1.25rem; display: flex; gap: .9rem; align-items: flex-start; }
.contact-card .card-icon { width: 40px; height: 40px; border-radius: var(--radius-lg); background: rgba(124, 58, 237, .1); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.contact-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--foreground-muted); margin: 0 0 .2rem; }
.contact-card p { margin: 0; font-size: .9rem; font-weight: 500; word-break: break-word; }
.contact-card p a:hover { color: var(--brand-primary); }

.events-we-organize { border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 1.5rem; background: var(--background-card); }
.events-we-organize h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.events-we-organize p { color: var(--foreground-muted); font-size: .875rem; }

/* Forms ------------------------------------------------------------------ */

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .4rem; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: var(--radius-xl);
    background: #fff;
    border: 1px solid var(--border-strong);
    color: var(--foreground);
    font-family: inherit;
    font-size: .925rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .15);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field select option { background: #fff; }

.form-note { font-size: .8rem; color: var(--foreground-muted); }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
    font-size: .925rem;
    border: 1px solid;
}
.alert-success { background: rgba(13, 148, 136, .08); border-color: rgba(13, 148, 136, .35); color: #0f766e; }
.alert-error { background: rgba(239, 68, 68, .07); border-color: rgba(239, 68, 68, .35); color: #dc2626; }

/* Events listing --------------------------------------------------------- */

.events-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-tab {
    padding: .5rem 1.1rem; border-radius: var(--radius-xl);
    font-size: .875rem; font-weight: 500; cursor: pointer;
    border: 1px solid var(--border-strong); background: #fff; color: var(--foreground-muted);
}
.filter-tab:hover { color: var(--foreground); border-color: var(--brand-primary); }
.filter-tab.is-active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

.search-box { position: relative; }
.search-box .icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--foreground-muted); pointer-events: none; }
.search-box input {
    padding: .65rem 1rem .65rem 2.4rem;
    width: 18rem;
    border-radius: var(--radius-xl);
    background: #fff;
    border: 1px solid var(--border-strong);
    color: var(--foreground);
    font-family: inherit;
    font-size: .875rem;
}
.search-box input:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); }

.events-count { color: var(--foreground-muted); font-size: .85rem; margin-bottom: 1.25rem; }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--foreground-muted); }
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { color: var(--foreground); }
.empty-state p { font-size: .9rem; }

/* Event detail ----------------------------------------------------------- */

.back-link {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--foreground-muted); font-size: .875rem; margin-bottom: 2rem;
}
.back-link:hover { color: var(--brand-primary); }

.event-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }

.event-detail-main .media { position: relative; border-radius: var(--radius-3xl); overflow: hidden; margin-bottom: 2rem; }
.event-detail-main .media img { width: 100%; max-height: 480px; object-fit: cover; }
.event-detail-main .media .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 20, .6), transparent 55%); }
.event-detail-main .badge, .event-detail-main .badge-featured { top: 1rem; }
.event-detail-main .badge { left: 1rem; }
.event-detail-main .badge-featured { right: 1rem; }

.event-detail-main h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -.02em; }
.event-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }
.tag { padding: .35rem .8rem; border-radius: 999px; background: var(--background-elevated); border: 1px solid var(--border); font-size: .75rem; color: var(--foreground-muted); }
.event-detail-main .long-desc { color: var(--foreground-muted); font-size: 1.02rem; line-height: 1.7; }

.detail-card { padding: 1.75rem; position: sticky; top: 90px; }
.vote-cta { width: 100%; margin-bottom: 1.25rem; justify-content: center; }
.detail-card h2 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.detail-rows { display: flex; flex-direction: column; }
.detail-row { display: flex; align-items: center; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--border); }
.detail-row:last-of-type { border-bottom: 0; }
.detail-row .icon { color: var(--brand-primary); }
.detail-row .d-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--foreground-muted); flex: 1; }
.detail-row .d-value { font-weight: 600; font-size: .925rem; text-align: right; }

.detail-cta { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.5rem; }
.detail-cta .btn { width: 100%; }
.detail-cta .note { font-size: .75rem; color: var(--foreground-muted); text-align: center; }

/* Event sponsors ----------------------------------------------------------- */

.sponsors-section { border-top: 1px solid var(--border); background: var(--background); }

.presenting {
    margin-top: 1.75rem;
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    text-align: center;
}
.presenting-kicker {
    font-size: .68rem; font-weight: 800; color: var(--foreground-muted);
    text-transform: uppercase; letter-spacing: .18em;
    display: inline-flex; align-items: center; gap: .9rem;
}
.presenting-kicker::before,
.presenting-kicker::after {
    content: ""; width: 2.5rem; height: 1px; opacity: .7;
}
.presenting-kicker::before { background: linear-gradient(270deg, var(--border-strong), transparent); }
.presenting-kicker::after  { background: linear-gradient(90deg, var(--border-strong), transparent); }
.presenting-logo { display: inline-block; }
.presenting-logo img {
    max-height: 84px; max-width: 260px; object-fit: contain;
    filter: grayscale(1); opacity: .8;
    transition: filter .2s, opacity .2s;
}
a.presenting-logo:hover img { filter: grayscale(0); opacity: 1; }
.presenting-name { font-size: 1.6rem; font-weight: 900; color: var(--foreground); letter-spacing: -.02em; }

.marquee {
    margin-top: 1.75rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee var(--marquee-duration, 36s) linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-group {
    display: flex; align-items: center;
    gap: 4rem; padding-right: 4rem;
    margin: 0; padding-left: 0; list-style: none;
}
.sponsor-logo { display: grid; place-items: center; }
.sponsor-logo-link { display: inline-flex; align-items: center; justify-content: center; }
.sponsor-logo-link img {
    max-width: 150px; max-height: 54px; width: auto; height: auto;
    object-fit: contain;
    filter: grayscale(1); opacity: .7;
    transition: filter .2s, opacity .2s;
}
a.sponsor-logo-link:hover img { filter: grayscale(0); opacity: 1; }
.sponsor-logo-name {
    font-size: 1.15rem; font-weight: 800; color: var(--foreground-muted);
    letter-spacing: -.01em; white-space: nowrap;
    transition: color .2s;
}
a.sponsor-logo-link:hover .sponsor-logo-name { color: var(--brand-primary); }
.sponsor-cta { margin-top: 1.75rem; color: var(--foreground-muted); font-size: .88rem; text-align: center; }
.sponsor-cta a { color: var(--brand-primary); font-weight: 600; }

@media (max-width: 560px) {
    .marquee-group { gap: 2.5rem; padding-right: 2.5rem; }
    .sponsor-logo-link img { max-width: 120px; max-height: 46px; }
    .presenting-logo img { max-width: 200px; max-height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    .marquee-group[aria-hidden="true"] { display: none; }
    .marquee { overflow-x: auto; }
}

.booking-box { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.booking-box h3 { font-size: 1.05rem; margin-bottom: .1rem; }
.booking-box .form { gap: .85rem; }
.booking-box .btn { width: 100%; }
.booking-box .note { display: block; font-size: .75rem; color: var(--foreground-muted); text-align: center; margin-top: .75rem; }
.booking-box .note a { color: var(--brand-primary); }

.share-btn {
    margin-top: 1.25rem;
    width: 100%;
    padding: .7rem;
    border-radius: var(--radius-xl);
    background: #fff;
    border: 1px solid var(--border-strong);
    color: var(--foreground-muted);
    font-size: .875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: all .2s;
}
.share-btn:hover { color: var(--brand-primary); border-color: var(--brand-primary); }

/* 404 -------------------------------------------------------------------- */

.error-page { text-align: center; padding: 6rem 1rem; }
.error-code { font-size: 8rem; font-weight: 900; line-height: 1; margin-bottom: 1rem; }
.error-page h2 { font-size: 1.75rem; margin-bottom: .75rem; }
.error-page p { color: var(--foreground-muted); margin-bottom: 2rem; }

/* Voting ----------------------------------------------------------------- */

.vote-container { max-width: 52rem; }
.vote-form { display: grid; gap: 1.5rem; }

.voter-fields { padding: 1.75rem; }
.voter-fields h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.voter-fields .form-note { margin: .75rem 0 0; }

.vote-category { border: 0; margin: 0; padding: 0; }
.vote-category legend { padding: 0; margin-bottom: 1rem; width: 100%; }
.vote-category h3 { font-size: 1.2rem; margin: 0; }

.nominee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

.nominee-card {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    gap: .75rem;
    padding: 1.25rem;
    background: var(--background-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-2xl);
    cursor: pointer;
    text-align: center;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.nominee-card:hover { border-color: rgba(124, 58, 237, .45); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nominee-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.nominee-card:has(input:checked) {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .15), var(--shadow-md);
    background: rgba(124, 58, 237, .04);
}

.nominee-photo {
    width: 72px; height: 72px; border-radius: 999px; overflow: hidden;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, .25), rgba(124, 58, 237, .08));
    color: var(--brand-primary); font-weight: 800; font-size: 1.5rem;
}
.nominee-photo img { width: 100%; height: 100%; object-fit: cover; }
.nominee-body { display: flex; flex-direction: column; gap: .2rem; }
.nominee-name { font-weight: 600; font-size: .95rem; }
.nominee-desc { font-size: .78rem; color: var(--foreground-muted); }
.nominee-check {
    position: absolute; top: .65rem; right: .65rem;
    width: 22px; height: 22px; border-radius: 999px;
    border: 2px solid var(--border-strong);
    display: grid; place-items: center;
    color: transparent;
    transition: all .18s;
}
.nominee-check .icon { width: .75rem; height: .75rem; }
.nominee-card:has(input:checked) .nominee-check { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

.vote-actions { display: flex; justify-content: center; }

.vote-results { margin-top: 3.5rem; }
.result-category { padding: 1.5rem; margin-bottom: 1.25rem; }
.result-category h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.result-row + .result-row { margin-top: 1rem; }
.result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.result-name { font-weight: 600; font-size: .92rem; }
.result-count { font-size: .78rem; color: var(--foreground-muted); white-space: nowrap; }
.result-bar { height: 10px; border-radius: 999px; background: var(--background-elevated); overflow: hidden; }
.result-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-dark));
    transition: width .4s ease;
}

/* Footer ----------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--border); background: #fbfbfe; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.4fr; gap: 2rem; padding-block: 3rem; }
.footer-logo { height: 40px; margin-bottom: 1rem; }
.footer-brand p { color: var(--foreground-muted); font-size: .875rem; max-width: 22rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 999px;
    display: grid; place-items: center;
    background: var(--background-elevated);
    border: 1px solid var(--border);
    color: var(--foreground-muted);
    transition: all .18s;
}
.footer-social a:hover { color: #fff; background: var(--brand-primary); border-color: var(--brand-primary); }
.footer-social .icon { width: 1rem; height: 1rem; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--foreground-muted); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .875rem; color: var(--foreground-muted); transition: color .2s; }
.footer-col a:hover { color: var(--brand-primary); }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-contact .icon { width: .9rem; height: .9rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 1.25rem; }
.footer-bottom p { margin: 0; font-size: .8rem; color: var(--foreground-muted); text-align: center; }

/* Footer subscribe form ----------------------------------------------------- */

.subscribe-form { margin-top: 1rem; }
.subscribe-label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--foreground); margin-bottom: .5rem; }
.subscribe-row { display: flex; gap: .5rem; background: #fff; border: 1px solid var(--border); border-radius: .75rem; padding: .25rem; }
.subscribe-row input { flex: 1; border: none; background: transparent; outline: none; font-size: .875rem; padding: .45rem .65rem; min-width: 0; }
.subscribe-row button { display: grid; place-items: center; width: 38px; height: 38px; border: none; border-radius: .6rem; background: var(--brand-primary); color: #fff; cursor: pointer; transition: background .2s; }
.subscribe-row button:hover { background: var(--brand-primary-dark); }
.subscribe-row .icon { width: 1rem; height: 1rem; }
.subscribe-note { color: var(--foreground-muted); font-size: .75rem; margin-top: .4rem; }

/* Talents & Service cards -------------------------------------------------- */

.talent-card { padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; text-align: left; transition: border-color .2s, transform .2s, box-shadow .2s; }
.talent-card:hover { border-color: rgba(124, 58, 237, .4); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.talent-card.clickable { cursor: pointer; }
.talent-card.clickable .talent-photo { transition: transform .2s, border-color .2s; }
.talent-card.clickable:hover .talent-photo { transform: scale(1.05); border-color: var(--brand-primary); }
.talent-photo { width: 86px; height: 86px; border-radius: 999px; object-fit: cover; border: 3px solid rgba(124, 58, 237, .18); background: var(--background-elevated); }
.talent-avatar { display: flex; align-items: center; justify-content: center; color: var(--brand-primary); background: rgba(124, 58, 237, .1); }
.talent-avatar .icon { width: 40px; height: 40px; }
.talent-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.talent-meta { color: var(--brand-primary); font-size: .85rem; font-weight: 600; }
.talent-bio { color: var(--foreground-muted); font-size: .925rem; }
.talent-card .btn { margin-top: auto; }

.service-card { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.service-card .card-icon {
    width: 46px; height: 46px;
    border-radius: var(--radius-xl);
    background: rgba(124, 58, 237, .1);
    color: var(--brand-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; margin-bottom: .25rem;
}
.service-card h3 { font-size: 1.05rem; }
.service-card p { color: var(--foreground-muted); font-size: .925rem; }
.service-card ul { display: grid; gap: .4rem; list-style: disc; padding-left: 1.1rem; color: var(--foreground-muted); font-size: .9rem; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1040px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .about-intro { grid-template-columns: 1fr; gap: 2rem; }
    .event-detail { grid-template-columns: 1fr; }
    .detail-card { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

@media (max-width: 768px) {
    .site-nav {
        position: fixed;
        inset: 69px 0 auto 0;
        max-height: calc(100vh - 69px);
        overflow-y: auto;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: .5rem 1rem 1rem;
        display: none;
        box-shadow: var(--shadow-md);
    }
    .site-nav.open { display: flex; }
    .nav-link { padding: .8rem .25rem; border-bottom: 1px solid var(--border); }
    .nav-link:last-child { border-bottom: 0; }
    .nav-toggle { display: inline-flex; }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        min-width: 0;
        padding: .25rem 0 .5rem 1rem;
    }

    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
    .hero-stat { padding: .5rem 1rem; }
    .hero-stat + .hero-stat { border-left: 0; }
    .hero-stat:nth-child(even) { border-left: 1px solid var(--border) !important; }
    .grid-2, .grid-3, .grid-4, .mission-grid, .about-stats { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .gallery-item.wide { grid-column: span 1; }
    .gallery-item.tall { grid-row: span 1; }
    .form-row { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .head-row { flex-direction: column; align-items: flex-start; gap: .75rem; }
    .items { color: inherit; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .search-box input { width: 100%; }
    .events-toolbar { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .newsletter-form { padding: 1.25rem; }
    .newsletter-form .btn { align-self: stretch; width: 100%; justify-content: center; }
}

/* Pagination (public) ------------------------------------------------------- */

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; margin-top: 2.5rem; }
.pagination a, .pagination span {
    min-width: 40px; height: 40px; padding: 0 .6rem;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: .6rem;
    background: #fff; color: var(--foreground); font-size: .875rem; font-weight: 500;
    text-decoration: none; transition: border-color .2s, background .2s, color .2s;
}
.pagination a:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.pagination .current { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.pagination .gap { border: none; background: transparent; }

/* Newsletter page ----------------------------------------------------------- */

.newsletter-box { max-width: 44rem; margin-inline: auto; }
.newsletter-intro { text-align: center; margin-bottom: 2.25rem; }
.newsletter-intro h2 { font-size: 1.75rem; margin-bottom: .5rem; }
.newsletter-intro p { color: var(--foreground-muted); max-width: 34rem; margin-inline: auto; }
.newsletter-form { background: var(--background-elevated); border: 1px solid var(--border); border-radius: 1.25rem; padding: 2rem; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 1.25rem; }
.newsletter-form input[type="email"], .newsletter-form input[type="text"] { width: 100%; }
.newsletter-form .btn { align-self: flex-start; }

/* Animations ------------------------------------------------------------- */

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes orbFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(0, -46px, 0) scale(1.12); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes plusFloat {
    from { transform: translateY(0) rotate(0deg); }
    to   { transform: translateY(-34px) rotate(18deg); }
}

@keyframes rise {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    15%  { opacity: .85; }
    50%  { transform: translateY(-80px) translateX(-14px); }
    85%  { opacity: .85; }
    100% { transform: translateY(-160px) translateX(14px); opacity: 0; }
}

@keyframes twinkle {
    0%, 100% { transform: scale(.1) rotate(45deg); opacity: 0; }
    50%      { transform: scale(1) rotate(45deg); opacity: .9; }
}

@keyframes glowPulse {
    0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.25); }
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: -200% center; }
}

@keyframes breathe {
    from { transform: scale(1); }
    to   { transform: scale(1.35); }
}

/* ---- News & announcements ------------------------------------------------ */

.announcements-grid .card { display: flex; flex-direction: column; }
.announcements-grid .event-card-body h3 { font-size: 1.05rem; }
.announcements-grid .event-card-body .desc { margin: .35rem 0 .65rem; font-size: .88rem; color: var(--foreground-muted); line-height: 1.45; }

.read-more {
    display: inline-flex; align-items: center; gap: .35rem;
    margin-top: auto; padding-top: .35rem;
    font-size: .82rem; font-weight: 600; color: var(--brand-primary);
    transition: gap .2s;
}
.read-more:hover { gap: .55rem; }
.read-more .icon { width: .85rem; height: .85rem; }

.attach-chip { display: inline-flex; align-items: center; vertical-align: -2px; margin-left: .4rem; }
.attach-chip .icon { width: .8rem; height: .8rem; }

/* Attachment download box on the single post */
.attachment-box {
    display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
    margin-top: 1.75rem; padding: 1.1rem 1.25rem;
    background: var(--background-card);
    border: 1px solid var(--border); border-radius: var(--radius-xl);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.attachment-box:hover { border-color: rgba(124,58,237,.45); box-shadow: var(--shadow-md); }
.attachment-box > .icon { width: 1.5rem; height: 1.5rem; color: var(--brand-primary); flex-shrink: 0; }
.attachment-box span { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.attachment-box strong { font-size: .95rem; word-break: break-word; }
.attachment-box small { color: var(--foreground-muted); font-size: .8rem; }
.attachment-dl { margin-left: auto; flex-direction: row !important; align-items: center; gap: .4rem !important; color: var(--brand-primary); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.attachment-dl .icon { width: .95rem; height: .95rem; color: var(--brand-primary); }

/* Single post */
.post { max-width: 740px; margin: 0 auto; }
.post-hero { position: relative; border-radius: var(--radius-2xl); overflow: hidden; margin-bottom: 2rem; max-height: 380px; }
.post-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-hero .shade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,20,.45), transparent 55%);
}
.post-main { padding: 0 .25rem; }
.post-meta { display: flex; align-items: center; gap: .45rem; color: var(--foreground-muted); font-size: .82rem; margin-bottom: .5rem; }
.post-meta .icon { width: .85rem; height: .85rem; }
.post-title { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: .75rem; letter-spacing: -.02em; }
.post-summary { font-size: 1.05rem; color: var(--foreground-muted); margin-bottom: 1.75rem; line-height: 1.55; }
.post-body { font-size: 1.05rem; line-height: 1.7; color: var(--foreground); }
.post-body > * + * { margin-top: 1.25rem; }
.post-body h2 { font-size: 1.4rem; margin-top: 2rem; }
.post-body h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.post-body img { border-radius: var(--radius-lg); width: 100%; max-height: 420px; object-fit: cover; }
.post-body a { color: var(--brand-primary); text-decoration: underline; text-underline-offset: .15em; }
.post-nav-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
@media (max-width: 560px) {
    .post-hero { border-radius: 0; margin-left: calc(-1 * var(--gap)); margin-right: calc(-1 * var(--gap)); max-height: 220px; }
    .post-title { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
