:root {
    --ink: #10212b;
    --deep: #0b1720;
    --ocean: #0d5d56;
    --mint: #d9f4ee;
    --peach: #ffd5b8;
    --cream: #f6f1e8;
    --paper: #fffdf9;
    --line: rgba(16, 33, 43, 0.12);
    --shadow: 0 22px 60px rgba(6, 24, 37, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Sans 3", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 213, 184, 0.35), transparent 28%),
        linear-gradient(180deg, #f4f7f6 0%, #ffffff 25%, #fffdf9 100%);
    min-height: 100vh;
}

h1,
h2,
h3,
.navbar-brand,
.btn,
.eyebrow {
    font-family: "Space Grotesk", sans-serif;
}

a {
    color: var(--ocean);
}

.site-nav {
    background: rgba(11, 23, 32, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.navbar-brand span {
    color: var(--peach);
}

.flash-wrap {
    margin-top: 1rem;
}

.btn-accent {
    background: var(--ocean);
    border: 1px solid var(--ocean);
    color: white;
}

.btn-accent:hover,
.btn-accent:focus {
    background: #094841;
    border-color: #094841;
    color: white;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 10%, rgba(255, 213, 184, 0.25), transparent 22%),
        linear-gradient(135deg, #071219 0%, #10212b 42%, #0d5d56 100%);
    color: white;
}

.hero-shell::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(246, 241, 232, 0.95));
}

.hero-title,
.section-title {
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-title {
    font-size: clamp(2.25rem, 5.7vw, 4.15rem);
    max-width: 10.5ch;
}

.section-title {
    font-size: clamp(1.9rem, 3.3vw, 2.9rem);
    max-width: 16ch;
}

.hero-copy,
.section-copy,
.lead-copy {
    font-size: 1rem;
    line-height: 1.56;
    max-width: 60ch;
}

.eyebrow {
    display: inline-block;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
}

.hero-panel,
.auth-card,
.story-card,
.search-panel,
.empty-panel,
.quote-panel,
.stat-card,
.stat-lite {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 1.45rem;
    color: var(--ink);
    transform: rotate(-2deg);
}

.mini-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(16, 33, 43, 0.58);
}

.feature-list {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    line-height: 1.8;
}

.hero-stats .stat-card,
.stat-lite {
    padding: 0.9rem 1rem;
}

.stat-card span,
.stat-lite span {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--ink);
}

.stat-card p,
.stat-lite p {
    margin: 0.2rem 0 0;
    color: rgba(16, 33, 43, 0.68);
}

.section-band,
.page-shell,
.auth-shell {
    position: relative;
}

.bg-cream {
    background: linear-gradient(180deg, rgba(246, 241, 232, 0.95), rgba(255, 255, 255, 0.92));
}

.quote-panel {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--peach), #fff2e4);
    color: var(--deep);
    font-size: 1.5rem;
    line-height: 1.45;
}

.auth-shell,
.page-shell {
    padding-bottom: 1.25rem;
}

.auth-card {
    padding: 2.2rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 1.4rem 0 0.6rem;
}

.btn-social {
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 999px;
    padding: 0.9rem 1rem;
}

.btn-social[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
}

.social-note {
    color: rgba(16, 33, 43, 0.6);
    font-size: 0.92rem;
}

.form-control,
.form-select {
    border-radius: 18px;
    border-color: rgba(16, 33, 43, 0.18);
    padding: 0.9rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ocean);
    box-shadow: 0 0 0 0.22rem rgba(13, 93, 86, 0.14);
}

.story-card,
.search-panel,
.empty-panel {
    padding: 1.35rem;
}

.story-thumb-link {
    display: block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.story-thumb,
.showcase-hero-image {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #071219 0%, #10212b 42%, #0d5d56 100%);
}

.story-thumb {
    aspect-ratio: 16 / 9;
    min-height: 180px;
}

.showcase-hero-image {
    aspect-ratio: 16 / 9;
}

.story-title-link {
    color: inherit;
    text-decoration: none;
}

.story-title-link:hover {
    color: var(--ocean);
}

.story-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.7rem;
}

.story-meta {
    color: rgba(16, 33, 43, 0.58);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin-bottom: 0.55rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag-row a,
.tag-row span {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--mint);
    color: var(--ocean);
    text-decoration: none;
    font-size: 0.92rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.84rem;
    text-transform: capitalize;
    font-weight: 700;
}

.status-approved {
    background: #def7ec;
    color: #0d6837;
}

.status-pending {
    background: #fff3d6;
    color: #8a5a00;
}

.status-rejected {
    background: #ffe2df;
    color: #912018;
}

.video-frame {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    margin-top: 1rem;
}

.admin-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 241, 232, 0.98));
}

.showcase-detail-card .section-title {
    max-width: none;
}

.case-study-copy {
    font-size: 1.02rem;
    line-height: 1.72;
    color: rgba(16, 33, 43, 0.92);
}

.site-footer {
    margin-top: 3rem;
    background: var(--deep);
    color: white;
}

@media (max-width: 991px) {
    .hero-panel {
        transform: none;
    }

    .section-title,
    .hero-title {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .social-grid {
        grid-template-columns: 1fr;
    }

    .auth-card,
    .story-card,
    .search-panel,
    .empty-panel,
    .quote-panel {
        border-radius: 22px;
    }

    .hero-title {
        font-size: clamp(2.05rem, 9.8vw, 3rem);
    }
}
