:root {
    --black: #0b0b0a;
    --black-soft: #121210;
    --paper: #f1efe8;
    --paper-soft: #dad8d0;
    --muted: #929089;
    --line: #2a2a27;
    --line-light: #d2d0c7;
    --acid: #d8ff00;
    --danger: #ff5a4f;
    --max: 1180px;
    --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--black);
    color: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.45;
    font-size: 16px;
}

body::selection {
    background: var(--acid);
    color: var(--black);
}

a { color: inherit; }

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

.site-header {
    position: relative;
    z-index: 10;
    min-height: 74px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 11, 10, .96);
}

.brand { display: inline-flex; align-items: center; }

.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;
    
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover,
.text-link:hover,
.form-foot a:hover {
    color: var(--acid);
}

.greeting { color: var(--muted); }

main {
    width: 100%;
    overflow: hidden;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--acid);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .93;
}

h1 {
    font-size: clamp(3.2rem, 7.8vw, 7.8rem);
    margin-bottom: 28px;
}

h2 {
    font-size: clamp(2.8rem, 6vw, 6rem);
    margin-bottom: 24px;
}

h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

em { font-style: normal; color: var(--acid); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 54px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    text-decoration: none;
    font: inherit;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, color .16s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--acid);
    color: var(--black);
}

.button-primary:hover {
    background: #e5ff4d;
}

.button-secondary {
    border-color: var(--paper);
    color: var(--paper);
    background: transparent;
}

.button-secondary:hover {
    background: var(--paper);
    color: var(--black);
}

.button-full { width: 100%; }

.button-small {
    min-height: 42px;
    padding: 11px 16px;
}

.text-link {
    font-size: 13px;
    text-decoration: none;
    color: var(--paper-soft);
}

.microcopy {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.landing-hero {
    width: min(var(--max), calc(100% - 64px));
    min-height: calc(100vh - 74px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 7vw;
    padding: 70px 0 90px;
}

.landing-copy { max-width: 760px; }

.landing-copy h1 {
    max-width: 760px;
    font-size: clamp(3.8rem, 7.1vw, 7.2rem);
}

.hero-lede {
    max-width: 580px;
    color: var(--paper-soft);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.5;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.landing-image {
    position: relative;
    align-self: center;
    background: var(--paper);
    padding: 10px;
    transform: rotate(2deg);
    box-shadow: 16px 18px 0 rgba(216,255,0,.85);
}

.landing-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.05 / 1;
    object-fit: cover;
    
}

.image-stamp {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 8px 10px;
    background: var(--acid);
    color: var(--black);
    font-size: 10px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: .1em;
}

.landing-section,
.login-section,
.final-cta,
.auth-layout,
.pending-page {
    width: min(var(--max), calc(100% - 64px));
    margin: 0 auto;
}

.landing-section {
    padding: 120px 0;
    border-top: 1px solid var(--line);
}

.section-intro {
    max-width: 780px;
    margin-bottom: 60px;
}

.section-intro > p:last-child {
    max-width: 560px;
    color: var(--paper-soft);
    font-size: 19px;
}

.evidence-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 22px;
    align-items: start;
}

.evidence-card {
    margin: 0;
    background: var(--black-soft);
    border: 1px solid var(--line);
    padding: 10px;
}

.evidence-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    
}

.evidence-wide img { aspect-ratio: 1.65 / 1; }
.evidence-square { margin-top: 90px; }
.evidence-square img { aspect-ratio: 1 / 1; }

.evidence-card figcaption {
    padding: 12px 4px 2px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.section-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

.section-cta p {
    margin: 0;
    color: var(--paper-soft);
}

.feature-section {
    background: var(--acid);
    color: var(--black);
    width: 100%;
    max-width: none;
    padding-left: max(32px, calc((100vw - var(--max)) / 2));
    padding-right: max(32px, calc((100vw - var(--max)) / 2));
}

.feature-section .eyebrow { color: var(--black); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 50px;
    background: var(--black);
}

.feature {
    min-height: 280px;
    padding: 32px;
    background: var(--acid);
}

.feature-number {
    display: block;
    margin-bottom: 65px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.feature p { max-width: 310px; }

.membership-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    column-gap: 9vw;
    align-items: start;
}

.membership-heading { position: sticky; top: 100px; }

.membership-heading > p:last-child {
    max-width: 340px;
    color: var(--paper-soft);
}

.steps {
    border-top: 1px solid var(--line);
    margin-bottom: 42px;
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 18px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.step > span {
    color: var(--acid);
    font-size: 12px;
    font-weight: 900;
}

.step h3 { margin: 0 0 10px; }
.step p { color: var(--paper-soft); max-width: 560px; margin: 0; }

.login-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 120px;
    border-top: 1px solid var(--line);
}

.login-section > div:first-child p:last-child {
    color: var(--paper-soft);
}

.login-card,
.auth-card {
    border: 1px solid var(--line);
    background: var(--black-soft);
    padding: 32px;
}

label {
    display: block;
    margin-bottom: 20px;
    color: var(--paper);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 14px 15px;
    border: 1px solid #3a3a36;
    border-radius: 0;
    outline: none;
    background: #0f0f0e;
    color: var(--paper);
    font: inherit;
    font-size: 16px;
}

textarea { resize: vertical; }

input:focus,
textarea:focus {
    border-color: var(--acid);
    box-shadow: 0 0 0 1px var(--acid);
}

label small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.form-foot {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.form-foot a {
    color: var(--paper);
    font-weight: 800;
}

.error {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-left: 3px solid var(--danger);
    background: rgba(255,90,79,.08);
    color: #ff8b84;
    font-size: 13px;
    font-weight: 700;
}

.final-cta {
    padding-top: 90px;
    padding-bottom: 140px;
    text-align: center;
    border-top: 1px solid var(--line);
}

.final-cta h2 { margin-bottom: 16px; }
.final-cta > p:not(.eyebrow) { color: var(--paper-soft); }

.final-cta .button { margin-top: 12px; }

.auth-layout {
    min-height: calc(100vh - 74px);
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 10vw;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 100px;
}

.auth-intro h1 { max-width: 700px; }
.auth-intro > p:not(.eyebrow) { color: var(--paper-soft); max-width: 500px; font-size: 18px; }
.auth-intro .muted { color: var(--muted); font-size: 15px; }

.pending-page {
    min-height: calc(100vh - 74px);
    padding-top: 15vh;
    max-width: 780px;
}

.pending-lede {
    max-width: 700px;
    color: var(--paper-soft);
    font-size: 20px;
}

.pending-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    margin: 50px 0 30px;
    padding: 26px;
    border: 1px solid var(--line);
    background: var(--black-soft);
}

.pending-mark {
    color: var(--acid);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.pending-card strong { display: block; margin-bottom: 6px; }
.pending-card p { margin: 0; color: var(--muted); }

.feed-header {
    width: min(var(--max), calc(100% - 64px));
    margin: 0 auto;
    padding: 80px 0 40px;
}

.feed-header h1 { font-size: clamp(3rem, 6vw, 6rem); margin-bottom: 14px; }
.feed-header p:last-child { color: var(--muted); }

.card {
    background: var(--black-soft);
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 24px;
    margin-bottom: 20px;
}

.post-composer,
.feed-list,
.empty-state {
    width: min(760px, calc(100% - 64px));
    margin-left: auto;
    margin-right: auto;
}

.composer-title { margin-bottom: 26px; }
.composer-title .feature-number { color: var(--acid); margin-bottom: 14px; }
.composer-title h2 { font-size: 36px; margin: 0; }

.post .meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.post .meta strong { color: var(--paper); }

.post-photo {
    width: 100%;
    display: block;
    margin-bottom: 15px;
}

.caption { margin: 0 0 20px; color: var(--paper-soft); }

.comments {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-bottom: 16px;
}

.comment {
    margin: 0 0 9px;
    color: var(--paper-soft);
    font-size: 14px;
}

.comment strong { color: var(--paper); }

.comment-form {
    display: flex;
    gap: 8px;
}

.comment-form input { margin: 0; }

.site-footer {
    width: min(var(--max), calc(100% - 64px));
    margin: 0 auto;
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mobile-join { display: none; }

/* Admin */
.admin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.admin-row:last-child { border-bottom: none; }
.admin-row span { flex: 1; }

.inline-form { display: inline; margin: 0; }

.danger {
    background: transparent;
    color: var(--danger);
    border: 1px solid var(--danger);
    padding: 8px 12px;
    font-size: 10px;
}

.link-danger {
    background: none;
    border: none;
    color: #777;
    font-size: 10px;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.link-danger:hover { color: var(--danger); }

@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        gap: 50px;
        min-height: auto;
    }

    .landing-image {
        max-width: 620px;
        width: 88%;
        justify-self: center;
    }

    .feature-grid,
    .membership-section,
    .login-section,
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .membership-heading {
        position: static;
        margin-bottom: 60px;
    }

    .login-section { gap: 50px; }
    .auth-layout { gap: 50px; }
}

@media (max-width: 640px) {
    body { font-size: 15px; padding-bottom: 70px; }

    .site-header {
        min-height: 64px;
        padding: 0 18px;
    }

    .brand-logo { width: 46px; height: 46px; }

    .site-nav { gap: 14px; font-size: 10px; }
    .greeting, .site-nav a:not(:last-child) { display: none; }

    .landing-hero,
    .landing-section,
    .login-section,
    .final-cta,
    .auth-layout,
    .pending-page,
    .feed-header {
        width: calc(100% - 36px);
    }

    .landing-hero {
        padding: 55px 0 75px;
    }

    .landing-copy h1 {
        font-size: clamp(3.3rem, 16vw, 5.3rem);
        line-height: .88;
    }

    .hero-lede { font-size: 17px; }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .hero-actions .button { width: 100%; }

    .landing-image {
        width: 92%;
        box-shadow: 9px 11px 0 var(--acid);
    }

    .landing-section {
        padding: 80px 0;
    }

    h2 {
        font-size: clamp(2.7rem, 14vw, 4.5rem);
    }

    .evidence-grid {
        grid-template-columns: 1fr;
    }

    .evidence-square { margin-top: 0; }

    .section-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .section-cta .button { width: 100%; }

    .feature-section {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .feature-grid { grid-template-columns: 1fr; }
    .feature { min-height: 0; padding: 28px; }

    .feature-number { margin-bottom: 42px; }

    .membership-heading { margin-bottom: 35px; }

    .step {
        grid-template-columns: 42px 1fr;
        padding: 25px 0;
    }

    .login-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .login-card,
    .auth-card,
    .card {
        padding: 20px;
    }

    .auth-layout {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .pending-page {
        padding-top: 80px;
    }

    .post-composer,
    .feed-list,
    .empty-state {
        width: calc(100% - 36px);
    }

    .feed-header { padding-top: 55px; }

    .comment-form {
        flex-direction: column;
    }

    .comment-form .button { width: 100%; }

    .mobile-join {
        position: fixed;
        z-index: 100;
        left: 12px;
        right: 12px;
        bottom: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 54px;
        padding: 0 18px;
        background: var(--acid);
        color: var(--black);
        text-decoration: none;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .08em;
        box-shadow: 0 8px 30px rgba(0,0,0,.35);
    }

    .mobile-join span { font-size: 20px; }
}


/* Feed gallery */
.post-photo {
    width: min(100%, 560px);
    max-height: 620px;
    object-fit: contain;
    object-position: left center;
    margin: 0;
    display: block;
}

.photo-trigger {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 15px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: zoom-in;
}

.photo-trigger::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: min(100%, 560px);
    background: rgba(0, 0, 0, 0);
    transition: background .18s ease;
    pointer-events: none;
}

.photo-trigger:hover::after {
    background: rgba(0, 0, 0, .08);
}

.photo-zoom {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 7px 9px;
    background: var(--acid);
    color: var(--black);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}

.photo-trigger:hover .photo-zoom,
.photo-trigger:focus-visible .photo-zoom {
    opacity: 1;
    transform: translateY(0);
}

.photo-trigger:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 4px;
}

/* Full-screen image viewer */
body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: rgba(0, 0, 0, .94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-image {
    display: block;
    max-width: min(1200px, 94vw);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 20px 80px rgba(0,0,0,.55);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(241,239,232,.35);
    background: var(--acid);
    color: var(--black);
    font: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    background: var(--paper);
}

@media (max-width: 640px) {
    .post-photo {
        width: 100%;
        max-height: 430px;
    }

    .photo-trigger::after {
        width: 100%;
    }

    .photo-zoom {
        opacity: 1;
        transform: none;
        font-size: 8px;
    }

    .lightbox {
        padding: 45px 12px 20px;
    }

    .lightbox-image {
        max-width: 96vw;
        max-height: 82vh;
    }

    .lightbox-close {
        top: 10px;
        right: 12px;
    }
}



/* Login masthead — one-line magenta / blue neon sign */
.neon-brand {
    margin: 0 0 38px;
    white-space: nowrap;
    color: #f4f1ff;
    font-size: clamp(2.25rem, 5.4vw, 6.8rem);
    line-height: .9;
    font-weight: 800;
    letter-spacing: -.055em;
    text-transform: none;
    transform: rotate(-1deg);
    text-shadow:
        0 0 2px #ffffff,
        0 0 6px #ffffff,
        0 0 14px #b8a7ff,
        0 0 28px #5d5cff,
        0 0 48px #ff21d4;
    animation: neonPulse 4.2s infinite;
}

.neon-brand span {
    color: #ff43d7;
    text-shadow:
        0 0 2px #fff,
        0 0 6px #ffb7ef,
        0 0 12px #ff43d7,
        0 0 25px #ff20ce,
        0 0 48px #ff20ce,
        0 0 75px rgba(255, 32, 206, .65);
}

@keyframes neonPulse {
    0%, 8%, 10%, 12%, 44%, 47%, 100% {
        opacity: 1;
        text-shadow:
            0 0 2px #ffffff,
            0 0 6px #ffffff,
            0 0 14px #b8a7ff,
            0 0 28px #5d5cff,
            0 0 48px #ff21d4;
    }

    9%, 11%, 46% {
        opacity: .7;
        text-shadow:
            0 0 2px #fff,
            0 0 5px #756dff,
            0 0 12px #ff21d4;
    }
}

@media (prefers-reduced-motion: reduce) {
    .neon-brand {
        animation: none;
    }
}

@media (max-width: 640px) {
    .neon-brand {
        white-space: normal;
        font-size: clamp(2.35rem, 11vw, 4.5rem);
        line-height: .9;
        margin-bottom: 30px;
    }
}
