@charset "utf-8";
/* CSS Document */

/* ====================== COLOR PALETTE & RESET ====================== */
:root {
    --ink: #1e1e22; /* Deep Charcoal */
    --plum: #5a2a5f; /* Rich Plum */
    --rose: #f7ecec; /* Warm Blush */
    --gold: #c9a64b; /* Muted Gold */
    --ivory: #fffaf3; /* Off-White */
    --gray: #8a8a95;
    --success: #2f8f46;
    --danger: #c43434;
    --bg: #faf7f7;
    --card-shadow: 0 8px 20px rgba(30,30,34,0.08);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}
img { max-width: 100%; display: block; border-radius: var(--radius-sm); }
a { text-decoration: none; }
    a:hover { text-decoration: none; } /* Remove default underline from all links */
.container {
    width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px;
}

/* ====================== STICKY NAV – FIXED & READABLE ====================== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(30, 30, 34, 0.6); /* Transparent over hero */
    backdrop-filter: blur(6px);
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.scrolled { /* Class to add via JS when scrolling */
    background: var(--ink);
    border-bottom-color: rgba(255,255,255,0.15);
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.logo a {
    font-size: 22px; font-weight: 700; color: var(--gold);
}
.nav-links {
    display: flex; gap: 24px;
}
    /* FIX: Set the color for the nav links to white/gold */
    .nav-links a {
        color: var(--ivory);
        font-weight: 500;
        padding: 8px 0;
        transition: color 0.2s, border-bottom 0.2s;
    }
        .nav-links a:hover,
        .nav-links a.active {
            color: var(--gold);
            border-bottom: 2px solid var(--gold);
        }

/* Hamburger styling */
.hamburger {
    display: none; /* Hidden by default on desktop */
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
    .hamburger span {
        width: 26px; height: 3px; background: var(--gold);
        border-radius: 3px; transition: all 0.3s;
    }

/* Mobile styles */
@media (max-width: 820px) {
    .hamburger { display: flex; } /* Show on mobile */
    .nav-links {
        /* Start with the correct hidden state */
        display: none;
        position: absolute; top: 100%; right: 0;
        background: var(--ink);
        flex-direction: column;
        width: 200px; padding: 16px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
        /* FIX: Mobile active state - use display:flex or block to show it */
        .nav-links.active {
            display: flex;
            opacity: 1;
            transform: translateY(0);
        }
        .nav-links a {
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            color: var(--ivory);
        }
            .nav-links a:last-child { border-bottom: none; }
}

/* X-hamburger transition */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ====================== HERO BANNER ====================== */
.hero-banner {
    position: relative; width: 100%; min-height: clamp(360px, 58vw, 640px);
    overflow: hidden; border-radius: 0 0 22px 22px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}
.hero-img {
    width: 100%; height: 100%; object-fit: cover; transform: scale(1.02);
    animation: heroZoom 1.8s ease-out forwards;
}
@keyframes heroZoom {
    0% { transform: scale(1.06); filter: saturate(1) contrast(1); }
    100% { transform: scale(1.02); filter: saturate(1.05) contrast(1.05); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(18,18,22,0.45) 0%, rgba(18,18,22,0.25) 40%, rgba(18,18,22,0.05) 70%, rgba(18,18,22,0) 100%), linear-gradient(90deg, rgba(18,18,22,0.55) 0%, rgba(18,18,22,0.25) 40%, rgba(18,18,22,0.10) 65%, rgba(18,18,22,0) 100%);
}
.hero-content {
    position: absolute; inset: 0; display: grid; align-content: center;
    padding: clamp(16px, 4vw, 40px); color: #fff; max-width: 1200px; margin: 0 auto;
}
.hero-title {
    font-size: clamp(26px, 4.8vw, 56px); line-height: 1.05; letter-spacing: -0.01em;
    margin: 0 0 8px; opacity: 0; animation: fadeUp 800ms ease-out 240ms forwards;
}
.hero-sub {
    font-size: clamp(14px, 2.2vw, 20px); color: rgba(255,255,255,0.9);
    margin: 0 0 18px; max-width: 60ch; opacity: 0; animation: fadeUp 800ms ease-out 480ms forwards;
}
.hero-cta {
    display: flex; gap: 12px; flex-wrap: wrap; opacity: 0;
    animation: fadeUp 800ms ease-out 680ms forwards;
}
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* Buttons for Hero */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.12);
    color: #fff; font-weight: 600; backdrop-filter: blur(4px);
    transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}
    .btn:hover {
        transform: translateY(-1px); background: rgba(255,255,255,0.18);
        border-color: rgba(255,255,255,0.38);
    }
    .btn.primary { background: var(--plum); border-color: var(--plum); }
        .btn.primary:hover { background: #4a214e; }
    .btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
        .btn.gold:hover { background: #b09142; }

@media (max-width: 768px) {
    .hero-content { align-content: end; padding: 16px; }
    .hero-sub { max-width: 48ch; }
}


/* ====================== MAIN LAYOUT & SECTIONS ====================== */
main {
    margin-top: 28px;
}
section {
    margin: 28px 0; padding: 20px;
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.06);
}
    section h2 {
        margin: 0 0 8px; font-size: clamp(20px, 3.2vw, 28px);
        letter-spacing: -0.01em;
    }
    section p.lead { color: var(--gray); margin: 0 0 16px; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Cards & UI elements */
.card {
    background: var(--ivory); border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius); padding: 12px; box-shadow: var(--card-shadow);
}
.toolbar, .vote-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pill {
    background: #fff; border: 1px solid rgba(0,0,0,0.08);
    padding: 8px 12px; border-radius: 999px; font-size: 13px; cursor: pointer;
    transition: background 0.15s;
}
    .pill:hover { background: var(--rose); }

.vote-btn {
    background: var(--plum); color: #fff; border: none;
    border-radius: 8px; padding: 8px 10px; cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
    .vote-btn:hover { background: #4a214e; transform: translateY(-0.5px); }
    .vote-btn.secondary { background: #eee; color: var(--ink); }
    .vote-btn.secondary:hover { background: #e0e0e0; }
    .vote-btn:disabled { background: var(--gray); cursor: not-allowed; }

.result { font-size: 13px; color: var(--gray); margin-top: 6px; }
.ok { color: var(--success); font-weight: 600; }
.bad { color: var(--danger); font-weight: 600; }
.small { font-size: 12px; color: var(--gray); margin: 0; }
.gallery-link { font-weight: 600; color: var(--plum); }
.tag {
    display: inline-block; padding: 4px 8px; margin: 4px;
    background: var(--rose); border-radius: 4px; font-size: 13px;
    color: var(--plum);
}


/* Daily Strip (Model faces on top) */
.daily-strip {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.face-card {
    background: var(--ivory); border: 1px solid rgba(0,0,0,0.06);
    padding: 10px; border-radius: var(--radius); box-shadow: var(--card-shadow);
    transition: transform 160ms ease, box-shadow 160ms ease; cursor: pointer;
}
    .face-card:hover {
        transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,30,34,0.12);
    }
    .face-card .name { font-weight: 700; margin-top: 8px; color: var(--plum); }
    .face-card .bio { font-size: 12px; color: var(--gray); margin-top: 4px; }


/* Media Queries for structure */
@media (max-width: 820px) {
    .daily-strip { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
}

/* ====================== FOOTER ====================== */
.site-footer {
    background: #1e1e22; color: #f7ecec;
    padding: 32px 16px; font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.manifesto { font-size: 14px; line-height: 1.6; margin-bottom: 16px; color: #f0e6e6; }
.footer-nav {
    display: flex; justify-content: center; gap: 18px;
    flex-wrap: wrap; margin-bottom: 12px;
}
    .footer-nav a {
        color: var(--gold); text-decoration: none; font-weight: 500;
    }
        .footer-nav a:hover { text-decoration: underline; }
.copyright { font-size: 13px; color: #aaa; }