.qvf-project-page,
.qvf-project-archive {
    --qvf-bg: #0d0d0f;
    --qvf-surface: #17171a;
    --qvf-border: rgba(255, 255, 255, 0.12);
    --qvf-text: #f5f5f3;
    --qvf-muted: #a6a6aa;
    --qvf-accent: #ffffff;

    background: var(--qvf-bg);
    color: var(--qvf-text);
    font-size: 16px;
    line-height: 1.7;
}

.qvf-project-page *,
.qvf-project-archive * {
    box-sizing: border-box;
}

.qvf-project-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.qvf-project-reading-width {
    max-width: 820px;
}


/* HERO */

.qvf-project-hero {
    padding: 80px 0;
    border-bottom: 1px solid var(--qvf-border);
}

.qvf-project-hero-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 70px;
    align-items: center;
}

.qvf-project-poster-image {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.qvf-project-poster-placeholder {
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--qvf-surface);
    border: 1px solid var(--qvf-border);
    color: var(--qvf-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.qvf-project-stage {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid var(--qvf-border);
    border-radius: 100px;
    color: var(--qvf-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.qvf-project-title {
    margin: 22px 0 0;
    color: var(--qvf-text);
    font-size: clamp(44px, 7vw, 94px);
    line-height: 0.96;
    letter-spacing: -0.045em;
}

.qvf-project-international-title {
    margin-top: 16px;
    color: var(--qvf-muted);
    font-size: 22px;
}

.qvf-project-hero-logline {
    max-width: 720px;
    margin-top: 38px;
    font-size: clamp(21px, 2.2vw, 30px);
    line-height: 1.45;
}

.qvf-project-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 35px;
    color: var(--qvf-muted);
    font-size: 14px;
}

.qvf-project-facts span:not(:last-child)::after {
    content: "•";
    margin-left: 24px;
    opacity: 0.4;
}


/* SECTIONS */

.qvf-project-section {
    padding: 90px 0;
    border-bottom: 1px solid var(--qvf-border);
}

.qvf-project-section-label {
    margin-bottom: 18px;
    color: var(--qvf-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.qvf-project-section-title {
    margin: 0 0 42px;
    color: var(--qvf-text);
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.1;
}

.qvf-project-logline {
    margin-bottom: 45px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.qvf-project-copy {
    color: #d5d5d7;
    font-size: 18px;
    line-height: 1.85;
}

.qvf-project-copy p:last-child {
    margin-bottom: 0;
}

.qvf-project-copy-secondary {
    margin-top: 45px;
    padding-top: 45px;
    border-top: 1px solid var(--qvf-border);
    color: var(--qvf-muted);
}


/* PROJECT INFO */

.qvf-project-info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.qvf-project-info-item span {
    display: block;
    margin-bottom: 7px;
    color: var(--qvf-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.qvf-project-info-item strong {
    color: var(--qvf-text);
    font-weight: 500;
}


/* VISION */

.qvf-project-vision {
    background: var(--qvf-surface);
}

.qvf-project-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.qvf-project-panel {
    padding-top: 28px;
    border-top: 1px solid var(--qvf-border);
}

.qvf-project-panel h2 {
    margin: 0 0 28px;
    color: var(--qvf-text);
    font-size: 30px;
}

.qvf-project-themes {
    margin-top: 70px;
    padding-top: 30px;
    border-top: 1px solid var(--qvf-border);
}

.qvf-project-themes strong {
    display: block;
    margin-bottom: 10px;
    color: var(--qvf-muted);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.qvf-project-themes p {
    margin: 0;
    font-size: 22px;
}


/* SEEKING */

.qvf-project-seeking {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.qvf-project-seeking span {
    padding: 13px 20px;
    border: 1px solid var(--qvf-border);
    border-radius: 100px;
}


/* MATERIALS */

.qvf-project-materials {
    background: #111114;
}

.qvf-project-material-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.qvf-project-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid var(--qvf-accent);
    background: var(--qvf-accent);
    color: #111 !important;
    font-weight: 600;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.qvf-project-button:hover {
    transform: translateY(-2px);
    opacity: 0.86;
}

.qvf-project-button-outline {
    background: transparent;
    color: var(--qvf-text) !important;
}


/* CONTACT */

.qvf-project-contact {
    padding: 110px 0;
    background: #f0f0ed;
    color: #151515;
}

.qvf-project-contact .qvf-project-section-label {
    color: #666;
}

.qvf-project-contact h2 {
    margin: 0 0 20px;
    color: #151515;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.035em;
}

.qvf-project-contact p {
    max-width: 650px;
    margin-bottom: 35px;
    font-size: 19px;
}

.qvf-project-contact-name {
    margin-bottom: 20px;
    font-weight: 600;
}


/* ARCHIVE */

.qvf-project-archive-hero {
    padding: 100px 0 70px;
    border-bottom: 1px solid var(--qvf-border);
}

.qvf-project-archive-hero h1 {
    margin: 0;
    color: var(--qvf-text);
    font-size: clamp(58px, 9vw, 120px);
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.qvf-project-archive-hero p {
    max-width: 600px;
    margin: 35px 0 0;
    color: var(--qvf-muted);
    font-size: 19px;
}

.qvf-project-archive-content {
    padding: 80px 0 110px;
}

.qvf-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 54px 28px;
}

.qvf-project-card {
    min-width: 0;
}

.qvf-project-card-image {
    display: block;
    overflow: hidden;
    background: var(--qvf-surface);
    aspect-ratio: 2 / 3;
}

.qvf-project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.qvf-project-card:hover
.qvf-project-card-image img {
    transform: scale(1.025);
}

.qvf-project-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--qvf-muted);
}

.qvf-project-card-body {
    padding-top: 24px;
}

.qvf-project-card h2 {
    margin: 15px 0 4px;
    font-size: 29px;
    line-height: 1.15;
}

.qvf-project-card h2 a {
    color: var(--qvf-text);
    text-decoration: none;
}

.qvf-project-card-subtitle {
    color: var(--qvf-muted);
    font-size: 15px;
}

.qvf-project-card-meta {
    margin-top: 12px;
    color: var(--qvf-muted);
    font-size: 13px;
}

.qvf-project-pagination {
    margin-top: 70px;
}

.qvf-project-pagination .nav-links {
    display: flex;
    gap: 8px;
}

.qvf-project-pagination a,
.qvf-project-pagination span {
    padding: 8px 14px;
    border: 1px solid var(--qvf-border);
    color: var(--qvf-text);
    text-decoration: none;
}


/* TABLET */

@media (max-width: 960px) {

    .qvf-project-hero-grid {
        grid-template-columns: 320px 1fr;
        gap: 40px;
    }

    .qvf-project-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qvf-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .qvf-project-container {
        width: min(100% - 28px, 1180px);
    }

    .qvf-project-hero {
        padding: 40px 0 60px;
    }

    .qvf-project-hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .qvf-project-poster {
        max-width: 420px;
    }

    .qvf-project-title {
        font-size: 50px;
    }

    .qvf-project-section {
        padding: 65px 0;
    }

    .qvf-project-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 16px;
    }

    .qvf-project-vision-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .qvf-project-grid {
        grid-template-columns: 1fr;
    }

    .qvf-project-facts span::after {
        display: none;
    }

    .qvf-project-contact {
        padding: 80px 0;
    }
}

/* ==========================================================
   QVFilm Projects
   Archive Catalogue
   v0.6.0
   ========================================================== */


/* ----------------------------------------------------------
   Archive base
   ---------------------------------------------------------- */

.qvf-project-archive {
    background: #0d0d0f;
    color: #f5f5f3;
    min-height: 100vh;
}

.qvf-project-archive a {
    color: inherit;
    text-decoration: none;
}

.qvf-project-archive .qvf-project-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* ----------------------------------------------------------
   Archive hero
   ---------------------------------------------------------- */

.qvf-project-archive-hero {
    padding: 110px 0 72px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.qvf-project-archive .qvf-project-section-label {
    margin-bottom: 18px;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #a6a6aa;
}

.qvf-project-archive-title {
    margin: 0;

    font-size: clamp(58px, 8vw, 108px);
    line-height: 0.92;
    font-weight: 700;

    letter-spacing: -0.045em;

    color: #ffffff;
}

.qvf-project-archive-intro {
    max-width: 620px;

    margin: 34px 0 0;

    font-size: 20px;
    line-height: 1.6;

    color: #aaaab0;
}


/* ----------------------------------------------------------
   Filters
   ---------------------------------------------------------- */

.qvf-project-filters {
    padding: 32px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    background: #0d0d0f;
}

.qvf-project-filters .qvf-project-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.qvf-project-stage-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.qvf-project-stage-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 9px 17px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;

    font-size: 13px;
    line-height: 1;

    color: #b8b8bc;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.qvf-project-stage-filter:hover {
    color: #ffffff;

    border-color: rgba(255, 255, 255, 0.42);
}

.qvf-project-stage-filter.is-active {
    background: #ffffff;
    border-color: #ffffff;

    color: #111113;
}


/* ----------------------------------------------------------
   Format filter
   ---------------------------------------------------------- */

.qvf-project-filter-form {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.qvf-project-filter-form label {
    margin-right: 4px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #8f8f94;
}

.qvf-project-filter-form select {
    min-width: 165px;
    height: 42px;

    padding: 0 38px 0 14px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;

    background: #171719;

    color: #ffffff;

    font-size: 13px;
}

.qvf-project-filter-submit {
    height: 42px;

    padding: 0 18px;

    border: 1px solid #ffffff;

    background: #ffffff;

    color: #111113;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.qvf-project-filter-submit:hover {
    background: transparent;

    color: #ffffff;
}

.qvf-project-filter-reset {
    padding: 10px 4px;

    font-size: 12px;

    color: #99999f !important;

    text-decoration: underline !important;
    text-underline-offset: 4px;
}


/* ----------------------------------------------------------
   Archive content
   ---------------------------------------------------------- */

.qvf-project-archive-content {
    padding: 72px 0 120px;
}


/* ----------------------------------------------------------
   Project grid
   ---------------------------------------------------------- */

.qvf-project-archive .qvf-project-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 64px 30px;
}


/* ----------------------------------------------------------
   Project card
   ---------------------------------------------------------- */

.qvf-project-archive .qvf-project-card {
    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;

    min-width: 0;
}

.qvf-project-card-link {
    display: block;
}

.qvf-project-card-poster {
    position: relative;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    background: #171719;

    border: 1px solid rgba(255, 255, 255, 0.12);
}

.qvf-project-card-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1);

    transition:
        transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
        opacity 0.35s ease;
}

.qvf-project-card-link:hover .qvf-project-card-image {
    transform: scale(1.035);

    opacity: 0.9;
}


/* ----------------------------------------------------------
   Placeholder poster
   ---------------------------------------------------------- */

.qvf-project-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 30px;

    background:
        linear-gradient(
            145deg,
            #18181b 0%,
            #111113 100%
        );
}

.qvf-project-card-placeholder span {
    font-size: 12px;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #8d8d93;
}


/* ----------------------------------------------------------
   Project stage badge
   ---------------------------------------------------------- */

.qvf-project-card-stage {
    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 2;

    display: inline-flex;
    align-items: center;

    min-height: 31px;

    padding: 7px 11px;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;

    background: rgba(13, 13, 15, 0.76);

    backdrop-filter: blur(8px);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #ffffff;
}


/* ----------------------------------------------------------
   Card content
   ---------------------------------------------------------- */

.qvf-project-card-content {
    padding-top: 23px;
}

.qvf-project-card-title {
    margin: 0;

    font-size: 27px;
    line-height: 1.12;
    font-weight: 650;

    letter-spacing: -0.025em;

    color: #ffffff;
}

.qvf-project-card-international-title {
    margin-top: 8px;

    font-size: 15px;
    line-height: 1.5;

    color: #a8a8ad;
}

.qvf-project-card-format {
    margin-top: 17px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.13em;
    text-transform: uppercase;

    color: #85858b;
}

.qvf-project-card-logline {
    margin: 18px 0 0;

    font-size: 14px;
    line-height: 1.7;

    color: #aaaab0;
}

.qvf-project-card-view {
    display: inline-block;

    margin-top: 22px;

    padding-bottom: 5px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.38);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #ffffff;

    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.qvf-project-card-link:hover .qvf-project-card-view {
    border-color: #ffffff;
}


/* ----------------------------------------------------------
   Pagination
   ---------------------------------------------------------- */

.qvf-project-pagination {
    margin-top: 90px;
}

.qvf-project-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.qvf-project-pagination li {
    margin: 0;
    padding: 0;
}

.qvf-project-pagination a,
.qvf-project-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    font-size: 13px;

    color: #aaaab0;
}

.qvf-project-pagination a:hover {
    border-color: rgba(255, 255, 255, 0.5);

    color: #ffffff;
}

.qvf-project-pagination .current {
    background: #ffffff;

    border-color: #ffffff;

    color: #111113;
}


/* ----------------------------------------------------------
   Empty state
   ---------------------------------------------------------- */

.qvf-project-empty {
    max-width: 680px;

    padding: 90px 0;
}

.qvf-project-empty h2 {
    margin: 0;

    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;

    color: #ffffff;
}

.qvf-project-empty p {
    margin: 25px 0 0;

    max-width: 520px;

    font-size: 17px;
    line-height: 1.7;

    color: #9d9da2;
}

.qvf-project-empty .qvf-project-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    margin-top: 34px;
    padding: 0 22px;

    background: #ffffff;

    color: #111113;

    font-size: 13px;
    font-weight: 600;
}


/* ----------------------------------------------------------
   Tablet
   ---------------------------------------------------------- */

@media (max-width: 980px) {

    .qvf-project-archive-hero {
        padding-top: 80px;
    }

    .qvf-project-filters .qvf-project-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .qvf-project-filter-form {
        width: 100%;

        flex-wrap: wrap;
    }

    .qvf-project-archive .qvf-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 55px 24px;
    }
}


/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media (max-width: 680px) {

    .qvf-project-archive .qvf-project-container {
        width: min(100% - 32px, 1180px);
    }

    .qvf-project-archive-hero {
        padding: 62px 0 48px;
    }

    .qvf-project-archive-title {
        font-size: clamp(52px, 18vw, 78px);
    }

    .qvf-project-archive-intro {
        margin-top: 25px;

        font-size: 17px;
    }

    .qvf-project-filters {
        padding: 25px 0;
    }

    .qvf-project-stage-filters {
        gap: 8px;
    }

    .qvf-project-stage-filter {
        padding-left: 13px;
        padding-right: 13px;

        font-size: 12px;
    }

    .qvf-project-filter-form label {
        width: 100%;
    }

    .qvf-project-filter-form select {
        flex: 1;

        min-width: 0;
    }

    .qvf-project-archive-content {
        padding: 50px 0 85px;
    }

    .qvf-project-archive .qvf-project-grid {
        grid-template-columns: 1fr;

        gap: 58px;
    }

    .qvf-project-card-title {
        font-size: 25px;
    }

    .qvf-project-pagination {
        margin-top: 65px;
    }
}

/* ==========================================================
   QVFilm Investor Room / Deal Room
   v0.10 Final Refactor
   Frames-theme aligned
   ========================================================== */

/* ----------------------------------------------------------
   Theme integration
   ---------------------------------------------------------- */

body:has(.qvf-investor-room) .haru-page-title {
    display: none !important;
}

body:has(.qvf-investor-room) .haru-page.haru-container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body:has(.qvf-investor-room) .haru-page > .h-row {
    margin-left: 0;
    margin-right: 0;
}

body:has(.qvf-investor-room) .page-content {
    width: 100%;
    float: none;
    padding-left: 0;
    padding-right: 0;
}

body:has(.qvf-investor-room) .page-content-wrap {
    margin: 0;
    padding: 0;
}

body:has(.qvf-investor-room) .haru-page {
    background: #0b0b0d;
}


/* ----------------------------------------------------------
   Base
   ---------------------------------------------------------- */

.qvf-investor-room {
    --qvf-ir-bg: #0b0b0d;
    --qvf-ir-surface: #121215;
    --qvf-ir-surface-2: #17171b;
    --qvf-ir-line: rgba(255, 255, 255, 0.11);
    --qvf-ir-line-strong: rgba(255, 255, 255, 0.18);
    --qvf-ir-text: #f5f5f3;
    --qvf-ir-muted: #9b9ba2;
    --qvf-ir-dim: #717178;
    --qvf-ir-accent: #c72538;
    --qvf-ir-accent-hover: #db2a41;
    --qvf-ir-positive: #6fc88f;
    --qvf-ir-warning: #e2bd73;

    width: 100%;
    min-height: 70vh;
    padding: 72px 0 110px;

    background: var(--qvf-ir-bg);
    color: var(--qvf-ir-text);

    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.qvf-investor-room *,
.qvf-investor-room *::before,
.qvf-investor-room *::after {
    box-sizing: border-box;
}

.qvf-investor-room a {
    color: inherit;
}

.qvf-investor-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.qvf-investor-room h1,
.qvf-investor-room h2,
.qvf-investor-room h3,
.qvf-investor-room p {
    color: inherit;
}

.qvf-investor-room h1,
.qvf-investor-room h2,
.qvf-investor-room h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

.qvf-investor-eyebrow {
    display: block;
    margin: 0 0 14px;

    color: var(--qvf-ir-dim);

    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}


/* ----------------------------------------------------------
   Login / NDA / empty / message
   ---------------------------------------------------------- */

.qvf-investor-login,
.qvf-investor-nda,
.qvf-investor-empty {
    max-width: 760px;
}

.qvf-investor-login h1,
.qvf-investor-nda h1 {
    margin: 0;
    font-size: clamp(44px, 5vw, 66px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.qvf-investor-login > p,
.qvf-investor-empty > p {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--qvf-ir-muted);
    font-size: 17px;
}

.qvf-investor-login form {
    margin-top: 34px;
    padding: 28px;
    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
}

.qvf-investor-login form p {
    margin: 0 0 18px;
}

.qvf-investor-login label {
    display: block;
    color: #d4d4d7;
    font-size: 13px;
}

.qvf-investor-login input[type="text"],
.qvf-investor-login input[type="password"] {
    width: 100%;
    min-height: 48px;
    margin-top: 7px;
    padding: 10px 12px;

    border: 1px solid var(--qvf-ir-line);
    border-radius: 0;
    outline: none;

    background: #0f0f11;
    color: #fff;
}

.qvf-investor-login input[type="text"]:focus,
.qvf-investor-login input[type="password"]:focus {
    border-color: var(--qvf-ir-line-strong);
}

.qvf-investor-login input[type="submit"],
.qvf-investor-nda button {
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 0;
    background: var(--qvf-ir-accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.qvf-investor-login input[type="submit"]:hover,
.qvf-investor-nda button:hover {
    background: var(--qvf-ir-accent-hover);
}

.qvf-investor-nda h2 {
    margin: 26px 0 0;
    font-size: 25px;
}

.qvf-investor-nda-copy {
    margin-top: 22px;
    padding: 26px;
    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
    color: #d4d4d7;
}

.qvf-investor-nda-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 26px 0;
    color: #d4d4d7;
}

.qvf-investor-nda-check input {
    margin-top: 5px;
}

.qvf-investor-error {
    margin-top: 18px;
    color: #ff8b98;
}

.qvf-investor-empty {
    padding: 48px 0;
}

.qvf-investor-empty h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
}

.qvf-investor-empty a {
    display: inline-block;
    margin-top: 18px;
    color: #fff;
}


/* ----------------------------------------------------------
   Dashboard header
   ---------------------------------------------------------- */

.qvf-investor-dashboard-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 54px;
    align-items: end;

    padding-bottom: 42px;
    border-bottom: 1px solid var(--qvf-ir-line);
}

.qvf-investor-dashboard-heading {
    max-width: 780px;
}

.qvf-investor-dashboard-heading h1 {
    margin: 0;
    font-size: clamp(46px, 5.4vw, 70px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.qvf-investor-dashboard-heading p {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--qvf-ir-muted);
    font-size: 16px;
    line-height: 1.75;
}

.qvf-investor-account {
    padding: 22px;
    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
}

.qvf-investor-account > span,
.qvf-investor-account > strong,
.qvf-investor-account > small {
    display: block;
}

.qvf-investor-account > span {
    margin-bottom: 8px;
    color: var(--qvf-ir-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.qvf-investor-account > strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.qvf-investor-account > small {
    margin-top: 4px;
    color: var(--qvf-ir-muted);
    font-size: 11px;
}

.qvf-investor-account > a {
    display: inline-block;
    margin-top: 16px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}


/* ----------------------------------------------------------
   Dashboard stats
   ---------------------------------------------------------- */

.qvf-investor-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border-bottom: 1px solid var(--qvf-ir-line);
}

.qvf-investor-stat {
    min-height: 128px;
    padding: 28px 22px;
    border-right: 1px solid var(--qvf-ir-line);
}

.qvf-investor-stat:first-child {
    padding-left: 0;
}

.qvf-investor-stat:last-child {
    border-right: 0;
}

.qvf-investor-stat span {
    display: block;
    margin-bottom: 13px;
    color: var(--qvf-ir-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.qvf-investor-stat strong {
    display: block;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.qvf-investor-stat strong.qvf-investor-stat-text {
    padding-top: 4px;
    font-size: 19px;
    line-height: 1.25;
}


/* ----------------------------------------------------------
   Dashboard section heading
   ---------------------------------------------------------- */

.qvf-investor-deals-section {
    padding-top: 62px;
}

.qvf-investor-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: end;
    margin-bottom: 28px;
}

.qvf-investor-section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.qvf-investor-section-heading > p {
    margin: 0;
    color: var(--qvf-ir-muted);
    font-size: 13px;
}


/* ----------------------------------------------------------
   Deal list / card
   ---------------------------------------------------------- */

.qvf-deal-list {
    display: grid;
    gap: 22px;
}

.qvf-deal-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;

    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);

    transition: border-color .2s ease, transform .2s ease;
}

.qvf-deal-card:hover {
    border-color: var(--qvf-ir-line-strong);
    transform: translateY(-2px);
}

.qvf-deal-poster {
    min-height: 360px;
    overflow: hidden;
    border-right: 1px solid var(--qvf-ir-line);
    background: #101012;
}

.qvf-deal-poster img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.qvf-deal-poster-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 360px;
    padding: 24px;

    background: linear-gradient(145deg, #1a1a1e 0%, #101012 100%);
}

.qvf-deal-poster-placeholder span {
    color: #77777f;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.qvf-deal-content {
    min-width: 0;
    padding: 28px 32px;
}

.qvf-deal-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.qvf-deal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.qvf-deal-meta span,
.qvf-deal-room-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 10px;

    border: 1px solid var(--qvf-ir-line);
    border-radius: 999px;

    color: #9a9aa1;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.qvf-deal-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;

    border: 1px solid var(--qvf-ir-line);
    border-radius: 999px;

    color: #bcbcc1;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.qvf-deal-status-open {
    color: #7ed19a;
    border-color: rgba(111, 200, 143, .35);
    background: rgba(111, 200, 143, .06);
}

.qvf-deal-status-soft_commitments {
    color: var(--qvf-ir-warning);
    border-color: rgba(226, 189, 115, .34);
    background: rgba(226, 189, 115, .06);
}

.qvf-deal-status-financing_secured {
    color: #8ebcf5;
    border-color: rgba(142, 188, 245, .34);
}

.qvf-deal-content h2 {
    margin: 22px 0 0;
    color: #fff;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.qvf-deal-summary {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--qvf-ir-muted);
    font-size: 14px;
    line-height: 1.7;
}

.qvf-deal-financials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 24px;
    border-top: 1px solid var(--qvf-ir-line);
    border-bottom: 1px solid var(--qvf-ir-line);
}

.qvf-deal-financials > div {
    min-width: 0;
    padding: 18px 14px;
    border-right: 1px solid var(--qvf-ir-line);
}

.qvf-deal-financials > div:first-child {
    padding-left: 0;
}

.qvf-deal-financials > div:last-child {
    border-right: 0;
}

.qvf-deal-financials span {
    display: block;
    margin-bottom: 6px;
    color: var(--qvf-ir-dim);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.qvf-deal-financials strong {
    display: block;
    overflow: hidden;
    color: #f3f3f2;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.qvf-deal-funding {
    margin-top: 20px;
}

.qvf-deal-funding-label {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 9px;
    color: var(--qvf-ir-muted);
    font-size: 11px;
}

.qvf-deal-funding-label strong {
    color: #fff;
}

.qvf-deal-progress {
    position: relative;
    width: 100%;
    height: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
}

.qvf-deal-progress > span {
    display: block;
    height: 100%;
    background: var(--qvf-ir-accent);
}

.qvf-deal-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-top: 22px;
}

.qvf-deal-footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.qvf-deal-footer-meta > span {
    color: #94949b;
    font-size: 11px;
}

.qvf-deal-footer-meta > span strong {
    display: block;
    margin-bottom: 2px;
    color: #65656c;
    font-size: 8px;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.qvf-deal-footer-meta .qvf-deal-nda {
    color: #ff8291;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .09em;
}

.qvf-deal-footer-meta .qvf-deal-access-active,
.qvf-deal-access-active {
    color: var(--qvf-ir-positive);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .09em;
}

.qvf-deal-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 44px;
    flex-shrink: 0;
    padding: 0 17px;

    background: var(--qvf-ir-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;

    transition: background .2s ease, transform .2s ease;
}

.qvf-deal-open:hover {
    background: var(--qvf-ir-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

.qvf-investor-dashboard-empty {
    max-width: none;
    padding: 58px 0;
    border-top: 1px solid var(--qvf-ir-line);
}


/* ----------------------------------------------------------
   Project Deal Room nav / hero
   ---------------------------------------------------------- */

.qvf-project-deal-room {
    padding-top: 54px;
}

.qvf-deal-room-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--qvf-ir-line);
}

.qvf-deal-room-back,
.qvf-deal-room-user a {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.qvf-deal-room-user {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--qvf-ir-muted);
    font-size: 11px;
}

.qvf-deal-room-hero {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 52px;
    align-items: center;
    padding: 54px 0;
}

.qvf-deal-room-poster {
    overflow: hidden;
    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
}

.qvf-deal-room-poster img {
    display: block;
    width: 100%;
    height: auto;
}

.qvf-deal-room-poster-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 390px;
    padding: 22px;
    background: linear-gradient(145deg, #1a1a1e 0%, #101012 100%);
    color: #74747b;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.qvf-deal-room-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.qvf-deal-room-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(50px, 6vw, 82px);
    line-height: .95;
    letter-spacing: -0.05em;
}

.qvf-deal-room-international-title {
    margin: 14px 0 0;
    color: var(--qvf-ir-muted);
    font-size: 18px;
}

.qvf-deal-room-logline {
    max-width: 760px;
    margin: 24px 0 0;
    color: #d3d3d6;
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.55;
}

.qvf-deal-room-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}


/* ----------------------------------------------------------
   Project financial bar
   ---------------------------------------------------------- */

.qvf-deal-room-financial {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--qvf-ir-line);
    border-bottom: 1px solid var(--qvf-ir-line);
}

.qvf-deal-room-money {
    min-width: 0;
    padding: 24px 18px;
    border-right: 1px solid var(--qvf-ir-line);
}

.qvf-deal-room-money:first-child {
    padding-left: 0;
}

.qvf-deal-room-money:last-child {
    border-right: 0;
}

.qvf-deal-room-money span {
    display: block;
    margin-bottom: 7px;
    color: var(--qvf-ir-dim);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.qvf-deal-room-money strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: clamp(17px, 1.7vw, 24px);
    line-height: 1.2;
    text-overflow: ellipsis;
}

.qvf-deal-room-progress-section {
    padding: 24px 0 30px;
    border-bottom: 1px solid var(--qvf-ir-line);
}

.qvf-deal-room-progress-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
    color: var(--qvf-ir-muted);
    font-size: 11px;
}

.qvf-deal-room-progress-heading strong {
    color: #fff;
}


/* ----------------------------------------------------------
   Main two-column Deal Room layout
   ---------------------------------------------------------- */

.qvf-deal-room-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 58px;
    align-items: start;
    padding-top: 58px;
}

.qvf-deal-room-main {
    min-width: 0;
}

.qvf-deal-room-section {
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--qvf-ir-line);
}

.qvf-deal-room-section:last-child {
    margin-bottom: 0;
}

.qvf-deal-room-section h2 {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(30px, 3.3vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.qvf-deal-room-copy {
    max-width: 760px;
    color: #c7c7cb;
    font-size: 16px;
    line-height: 1.85;
}

.qvf-deal-room-copy p:last-child {
    margin-bottom: 0;
}

.qvf-deal-room-thesis {
    font-size: 18px;
}


/* ----------------------------------------------------------
   Project facts
   ---------------------------------------------------------- */

.qvf-deal-room-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--qvf-ir-line);
}

.qvf-deal-room-facts > div {
    padding: 18px 0;
    border-bottom: 1px solid var(--qvf-ir-line);
}

.qvf-deal-room-facts > div:nth-child(odd) {
    padding-right: 24px;
    border-right: 1px solid var(--qvf-ir-line);
}

.qvf-deal-room-facts > div:nth-child(even) {
    padding-left: 24px;
}

.qvf-deal-room-facts span {
    display: block;
    margin-bottom: 5px;
    color: var(--qvf-ir-dim);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.qvf-deal-room-facts strong {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}


/* ----------------------------------------------------------
   Secure documents
   ---------------------------------------------------------- */

.qvf-deal-room-documents {
    display: grid;
    gap: 10px;
}

.qvf-deal-room-document {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 20px;

    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
}

.qvf-deal-room-document > div:first-child {
    min-width: 0;
}

.qvf-deal-room-document div > span {
    display: block;
    margin-bottom: 5px;
    color: var(--qvf-ir-dim);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.qvf-deal-room-document strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.qvf-deal-room-document small {
    display: block;
    margin-top: 4px;
    color: var(--qvf-ir-muted);
    font-size: 11px;
}

.qvf-deal-room-document-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.qvf-deal-document-ready {
    color: var(--qvf-ir-positive);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .09em;
}

.qvf-deal-room-document-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 14px;

    border: 1px solid var(--qvf-ir-accent);
    background: var(--qvf-ir-accent);
    color: #fff;

    font-size: 10px;
    font-weight: 700;
}

.qvf-deal-room-document-download:hover {
    background: var(--qvf-ir-accent-hover);
    color: #fff;
}

.qvf-deal-room-document-unavailable {
    color: var(--qvf-ir-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.qvf-deal-room-document-note,
.qvf-deal-room-muted {
    margin-top: 14px;
    color: var(--qvf-ir-muted);
    font-size: 11px;
}

.qvf-deal-room-teaser {
    display: inline-block;
    margin-top: 20px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}


/* ----------------------------------------------------------
   Sidebar
   ---------------------------------------------------------- */

.qvf-deal-room-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qvf-deal-room-sidebar-card {
    padding: 24px;
    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
}

.qvf-deal-room-sidebar-card h3 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
}

.qvf-deal-room-sidebar-row {
    padding: 14px 0;
    border-top: 1px solid var(--qvf-ir-line);
}

.qvf-deal-room-sidebar-row span {
    display: block;
    margin-bottom: 5px;
    color: var(--qvf-ir-dim);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.qvf-deal-room-sidebar-row strong {
    display: block;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}


/* ----------------------------------------------------------
   Investor actions
   ---------------------------------------------------------- */

.qvf-deal-room-action-intro {
    max-width: 650px;
    margin: -8px 0 26px;
    color: var(--qvf-ir-muted);
    font-size: 13px;
}

.qvf-deal-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.qvf-deal-action-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px;

    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
}

.qvf-deal-action-card > span {
    color: var(--qvf-ir-dim);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.qvf-deal-action-card h3 {
    margin: 10px 0 10px;
    color: #fff;
    font-size: 19px;
    line-height: 1.25;
}

.qvf-deal-action-card > p {
    flex-grow: 1;
    margin: 0 0 18px;
    color: var(--qvf-ir-muted);
    font-size: 12px;
    line-height: 1.65;
}

.qvf-deal-action-card form {
    margin: 0;
}

.qvf-deal-action-card textarea {
    display: block;
    width: 100%;
    min-height: 92px;
    margin-bottom: 10px;
    padding: 11px 12px;
    resize: vertical;

    border: 1px solid var(--qvf-ir-line);
    border-radius: 0;
    outline: none;

    background: #0e0e10;
    color: #fff;

    font: inherit;
    font-size: 12px;
    line-height: 1.6;
}

.qvf-deal-action-card textarea:focus {
    border-color: var(--qvf-ir-line-strong);
}

.qvf-deal-action-card button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    width: 100%;
    min-height: 43px;
    padding: 0 14px;

    border: 0;
    border-radius: 0;
    background: var(--qvf-ir-accent);
    color: #fff;

    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

.qvf-deal-action-card button:hover {
    background: var(--qvf-ir-accent-hover);
}

.qvf-deal-action-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
    padding: 14px 16px;

    border: 1px solid rgba(111, 200, 143, .30);
    background: rgba(111, 200, 143, .06);
    color: #c1e7ce;
    font-size: 12px;
}

.qvf-deal-action-notice strong {
    color: var(--qvf-ir-positive);
    white-space: nowrap;
}

.qvf-deal-action-notice-error {
    border-color: rgba(199, 37, 56, .38);
    background: rgba(199, 37, 56, .07);
    color: #efb3ba;
}

.qvf-deal-action-notice-error strong {
    color: #ff7a8b;
}


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

@media (max-width: 1050px) {

    .qvf-investor-dashboard-header {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .qvf-investor-account {
        max-width: 430px;
    }

    .qvf-investor-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qvf-investor-stat:nth-child(2) {
        border-right: 0;
    }

    .qvf-investor-stat:nth-child(1),
    .qvf-investor-stat:nth-child(2) {
        border-bottom: 1px solid var(--qvf-ir-line);
    }

    .qvf-investor-stat:nth-child(3) {
        padding-left: 0;
    }

    .qvf-deal-card {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .qvf-deal-financials,
    .qvf-deal-room-financial {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qvf-deal-financials > div:nth-child(2),
    .qvf-deal-room-money:nth-child(2) {
        border-right: 0;
    }

    .qvf-deal-financials > div:nth-child(1),
    .qvf-deal-financials > div:nth-child(2),
    .qvf-deal-room-money:nth-child(1),
    .qvf-deal-room-money:nth-child(2) {
        border-bottom: 1px solid var(--qvf-ir-line);
    }

    .qvf-deal-financials > div:nth-child(3),
    .qvf-deal-room-money:nth-child(3) {
        padding-left: 0;
    }

    .qvf-deal-room-hero {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 36px;
    }

    .qvf-deal-room-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .qvf-deal-room-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qvf-deal-action-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 720px) {

    .qvf-investor-room {
        padding: 52px 0 80px;
    }

    .qvf-investor-shell {
        width: min(100% - 30px, 1180px);
    }

    .qvf-investor-dashboard-heading h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .qvf-investor-dashboard-stats {
        grid-template-columns: 1fr 1fr;
    }

    .qvf-investor-stat {
        min-height: 108px;
        padding: 22px 15px;
    }

    .qvf-investor-stat strong {
        font-size: 31px;
    }

    .qvf-investor-stat strong.qvf-investor-stat-text {
        font-size: 16px;
    }

    .qvf-investor-section-heading {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .qvf-deal-card {
        grid-template-columns: 1fr;
    }

    .qvf-deal-poster {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--qvf-ir-line);
    }

    .qvf-deal-poster img,
    .qvf-deal-poster-placeholder {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .qvf-deal-content {
        padding: 24px 20px;
    }

    .qvf-deal-topline,
    .qvf-deal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .qvf-deal-financials {
        grid-template-columns: 1fr 1fr;
    }

    .qvf-deal-open {
        width: 100%;
    }

    .qvf-deal-room-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .qvf-deal-room-user {
        flex-wrap: wrap;
    }

    .qvf-deal-room-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 0;
    }

    .qvf-deal-room-poster {
        max-width: 300px;
    }

    .qvf-deal-room-hero h1 {
        font-size: clamp(46px, 15vw, 68px);
    }

    .qvf-deal-room-financial {
        grid-template-columns: 1fr 1fr;
    }

    .qvf-deal-room-money {
        padding: 18px 12px;
    }

    .qvf-deal-room-money strong {
        font-size: 16px;
    }

    .qvf-deal-room-layout {
        padding-top: 44px;
    }

    .qvf-deal-room-section {
        padding-bottom: 42px;
        margin-bottom: 42px;
    }

    .qvf-deal-room-facts {
        grid-template-columns: 1fr;
    }

    .qvf-deal-room-facts > div:nth-child(odd),
    .qvf-deal-room-facts > div:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
        border-right: 0;
    }

    .qvf-deal-room-document {
        align-items: stretch;
        flex-direction: column;
    }

    .qvf-deal-room-document-actions {
        justify-content: space-between;
        width: 100%;
    }

    .qvf-deal-room-document-download {
        flex: 1;
    }

    .qvf-deal-room-sidebar {
        grid-template-columns: 1fr;
    }

    .qvf-deal-action-notice {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
}

/* ==========================================================
   QVFilm Deal Room
   Typography Pass 2 — FINAL
   ========================================================== */

.qvf-investor-room {
    --qvf-ir-muted: #aaaab1;
    --qvf-ir-dim: #898990;
    --qvf-ir-line: rgba(255, 255, 255, 0.13);
    font-size: 17px;
    line-height: 1.78;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.qvf-investor-eyebrow { font-size: 11px; line-height: 1.45; letter-spacing: 0.13em; }
.qvf-deal-meta span, .qvf-deal-room-badges span, .qvf-deal-status { font-size: 11px; line-height: 1.2; letter-spacing: 0.065em; }
.qvf-investor-login h1, .qvf-investor-nda h1 { font-size: clamp(50px, 5.4vw, 72px); }
.qvf-investor-login > p, .qvf-investor-empty > p { font-size: 18px; line-height: 1.8; }
.qvf-investor-login label { font-size: 15px; }
.qvf-investor-login input[type="text"], .qvf-investor-login input[type="password"] { font-size: 16px; }
.qvf-investor-login input[type="submit"], .qvf-investor-nda button { font-size: 14px; }
.qvf-investor-nda h2 { font-size: 29px; }
.qvf-investor-nda-copy, .qvf-investor-nda-check { font-size: 17px; line-height: 1.85; }
.qvf-investor-dashboard-heading h1 { font-size: clamp(54px, 5.8vw, 78px); line-height: 0.97; letter-spacing: -0.045em; }
.qvf-investor-dashboard-heading p { max-width: 690px; font-size: 18px; line-height: 1.8; }
.qvf-investor-account > span { font-size: 11px; letter-spacing: 0.11em; }
.qvf-investor-account > strong { font-size: 18px; line-height: 1.45; }
.qvf-investor-account > small, .qvf-investor-account > a { font-size: 13px; }
.qvf-investor-stat span { font-size: 11px; letter-spacing: 0.10em; }
.qvf-investor-stat strong { font-size: 44px; }
.qvf-investor-stat strong.qvf-investor-stat-text { font-size: 23px; line-height: 1.3; }
.qvf-investor-section-heading h2 { font-size: clamp(40px, 4.2vw, 56px); }
.qvf-investor-section-heading > p { font-size: 16px; line-height: 1.8; }
.qvf-deal-content h2 { font-size: clamp(36px, 3.4vw, 48px); line-height: 1.05; }
.qvf-deal-summary { font-size: 17px; line-height: 1.8; }
.qvf-deal-financials span { font-size: 10px; letter-spacing: 0.08em; }
.qvf-deal-financials strong { font-size: 18px; line-height: 1.4; }
.qvf-deal-funding-label { font-size: 13px; }
.qvf-deal-footer-meta > span { font-size: 13px; line-height: 1.55; }
.qvf-deal-footer-meta > span strong { font-size: 10px; letter-spacing: 0.08em; }
.qvf-deal-footer-meta .qvf-deal-nda, .qvf-deal-footer-meta .qvf-deal-access-active, .qvf-deal-access-active { font-size: 11px; letter-spacing: 0.07em; }
.qvf-deal-open { min-height: 46px; font-size: 13px; }
.qvf-deal-room-back, .qvf-deal-room-user, .qvf-deal-room-user a { font-size: 13px; }
.qvf-deal-room-hero h1 { font-size: clamp(58px, 6.2vw, 86px); line-height: 0.95; }
.qvf-deal-room-international-title { font-size: 21px; }
.qvf-deal-room-logline { max-width: 780px; font-size: clamp(21px, 2vw, 28px); line-height: 1.62; }
.qvf-deal-room-money span { font-size: 10px; letter-spacing: 0.08em; }
.qvf-deal-room-money strong { font-size: clamp(21px, 2vw, 29px); line-height: 1.25; }
.qvf-deal-room-progress-heading { font-size: 13px; }
.qvf-deal-room-section h2 { font-size: clamp(36px, 3.6vw, 50px); line-height: 1.08; }
.qvf-deal-room-copy { font-size: 19px; line-height: 1.9; }
.qvf-deal-room-copy p { margin-bottom: 1.45em; }
.qvf-deal-room-thesis { font-size: 21px; line-height: 1.85; }
.qvf-deal-room-facts span { font-size: 10px; letter-spacing: 0.08em; }
.qvf-deal-room-facts strong { font-size: 17px; line-height: 1.5; }
.qvf-deal-room-document div > span { font-size: 10px; letter-spacing: 0.08em; }
.qvf-deal-room-document strong { font-size: 18px; line-height: 1.45; }
.qvf-deal-room-document small { font-size: 14px; line-height: 1.5; }
.qvf-deal-document-ready { font-size: 10px; letter-spacing: 0.07em; }
.qvf-deal-room-document-download { min-height: 44px; padding-left: 18px; padding-right: 18px; font-size: 13px; }
.qvf-deal-room-document-unavailable { font-size: 10px; }
.qvf-deal-room-document-note, .qvf-deal-room-muted { font-size: 14px; line-height: 1.75; }
.qvf-deal-room-teaser { font-size: 14px; }
.qvf-deal-room-sidebar-card h3 { font-size: 25px; line-height: 1.3; }
.qvf-deal-room-sidebar-row span { font-size: 10px; letter-spacing: 0.08em; }
.qvf-deal-room-sidebar-row strong { font-size: 16px; line-height: 1.55; }
.qvf-deal-room-action-intro { max-width: 700px; font-size: 16px; line-height: 1.8; }
.qvf-deal-action-card > span { font-size: 10px; letter-spacing: 0.08em; }
.qvf-deal-action-card h3 { font-size: 23px; line-height: 1.3; }
.qvf-deal-action-card > p { font-size: 15px; line-height: 1.75; }
.qvf-deal-action-card textarea { font-size: 15px; line-height: 1.7; }
.qvf-deal-action-card button { min-height: 46px; font-size: 13px; }
.qvf-deal-action-notice { font-size: 14px; line-height: 1.7; }
@media (min-width: 1400px) {
    .qvf-investor-room { font-size: 18px; }
    .qvf-deal-summary { font-size: 18px; }
    .qvf-deal-room-copy { font-size: 20px; }
    .qvf-deal-room-thesis { font-size: 22px; }
    .qvf-deal-action-card > p { font-size: 16px; }
    .qvf-investor-section-heading > p { font-size: 17px; }
}
@media (max-width: 1050px) {
    .qvf-investor-room { font-size: 16px; }
    .qvf-investor-dashboard-heading p { font-size: 17px; }
    .qvf-deal-summary { font-size: 16px; }
    .qvf-deal-room-copy { font-size: 18px; }
}
@media (max-width: 720px) {
    .qvf-investor-room { font-size: 16px; line-height: 1.75; }
    .qvf-investor-eyebrow { font-size: 10px; }
    .qvf-investor-dashboard-heading h1 { font-size: clamp(43px, 13vw, 60px); }
    .qvf-investor-dashboard-heading p { font-size: 16px; }
    .qvf-investor-stat span { font-size: 9px; }
    .qvf-investor-stat strong { font-size: 34px; }
    .qvf-investor-stat strong.qvf-investor-stat-text { font-size: 17px; }
    .qvf-investor-section-heading h2 { font-size: 38px; }
    .qvf-investor-section-heading > p { font-size: 15px; }
    .qvf-deal-content h2 { font-size: 34px; }
    .qvf-deal-summary { font-size: 16px; }
    .qvf-deal-financials strong { font-size: 16px; }
    .qvf-deal-room-hero h1 { font-size: clamp(48px, 15vw, 68px); }
    .qvf-deal-room-logline { font-size: 19px; }
    .qvf-deal-room-money strong { font-size: 18px; }
    .qvf-deal-room-section h2 { font-size: 35px; }
    .qvf-deal-room-copy { font-size: 17px; line-height: 1.85; }
    .qvf-deal-room-thesis { font-size: 18px; }
    .qvf-deal-room-facts strong { font-size: 16px; }
    .qvf-deal-room-document strong { font-size: 17px; }
    .qvf-deal-action-card h3 { font-size: 22px; }
    .qvf-deal-action-card > p, .qvf-deal-room-action-intro { font-size: 15px; }
}

/* ==========================================================
   QVFilm Projects v0.12
   Community Support / Embedded Video / Social Sharing
   ========================================================== */

/* ----------------------------------------------------------
   Embedded video
   ---------------------------------------------------------- */

.qvf-project-videos {
    background: #0b0b0d;
}

.qvf-project-video-grid {
    display: grid;
    gap: 24px;
    margin-top: 34px;
}

.qvf-project-video-grid-1 {
    grid-template-columns: minmax(0, 1fr);
}

.qvf-project-video-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qvf-project-video-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qvf-project-video-card {
    min-width: 0;
}

.qvf-project-video-label {
    margin-bottom: 12px;
    color: #a2a2aa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qvf-project-video-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #050506;
    border: 1px solid rgba(255, 255, 255, .12);
}

.qvf-project-video-frame iframe,
.qvf-project-video-frame video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border: 0;
    object-fit: contain;
}

.qvf-project-video-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #111114;
}

.qvf-project-video-fallback a {
    color: #fff;
    font-weight: 700;
}

.qvf-project-deal-room .qvf-project-video-grid {
    margin-top: 0;
}

.qvf-project-deal-room .qvf-project-video-label {
    font-size: 10px;
    color: var(--qvf-ir-dim);
}


/* ----------------------------------------------------------
   Community support
   ---------------------------------------------------------- */

.qvf-project-community {
    padding: 88px 0;
    background: #f1f1ee;
    color: #101012;
}

.qvf-project-community .qvf-project-section-label {
    color: #68686f;
}

.qvf-project-community .qvf-project-section-title {
    color: #101012;
}

.qvf-project-community-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 64px;
    align-items: end;
}

.qvf-project-community-copy {
    max-width: 760px;
    margin-top: 26px;
    color: #333337;
}

.qvf-project-community-copy p:last-child {
    margin-bottom: 0;
}

.qvf-project-community-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(16, 16, 18, .16);
    border-bottom: 1px solid rgba(16, 16, 18, .16);
}

.qvf-project-community-summary > div {
    padding: 20px 18px;
    border-right: 1px solid rgba(16, 16, 18, .16);
}

.qvf-project-community-summary > div:last-child {
    border-right: 0;
}

.qvf-project-community-summary span,
.qvf-project-community-progress-label span {
    display: block;
    color: #696970;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.qvf-project-community-summary strong {
    display: block;
    margin-top: 7px;
    color: #101012;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
}

.qvf-project-community-progress-wrap {
    margin-top: 40px;
}

.qvf-project-community-progress-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 11px;
}

.qvf-project-community-progress-label strong {
    color: #101012;
    font-size: 14px;
}

.qvf-project-community-progress {
    width: 100%;
    height: 7px;
    overflow: hidden;
    background: rgba(16, 16, 18, .12);
}

.qvf-project-community-progress > span {
    display: block;
    height: 100%;
    background: #c72538;
}

.qvf-project-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.qvf-project-payment-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    border: 1px solid rgba(16, 16, 18, .16);
    background: #fff;
}

.qvf-project-payment-card-head > span {
    display: block;
    margin-bottom: 8px;
    color: #85858c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.qvf-project-payment-card-head h3 {
    margin: 0;
    color: #101012;
    font-size: 25px;
    line-height: 1.18;
}

.qvf-project-payment-card > p {
    color: #55555c;
    font-size: 15px;
    line-height: 1.7;
}

.qvf-project-payment-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 22px 0;
    padding: 16px;
    background: #f6f6f3;
}

.qvf-project-payment-qr img {
    display: block;
    width: min(100%, 250px);
    height: auto;
}

.qvf-project-payment-row {
    padding: 14px 0;
    border-top: 1px solid rgba(16, 16, 18, .12);
}

.qvf-project-payment-row span {
    display: block;
    color: #85858c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qvf-project-payment-row strong {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
    color: #101012;
    font-size: 16px;
}

.qvf-project-copy-button {
    width: 100%;
    min-height: 42px;
    margin: 0 0 10px;
    padding: 0 14px;
    border: 1px solid rgba(16, 16, 18, .20);
    border-radius: 0;
    background: transparent;
    color: #101012;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
}

.qvf-project-copy-button:hover {
    border-color: #101012;
}

.qvf-project-payment-card .qvf-project-button {
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.qvf-project-community-empty,
.qvf-project-community-note {
    color: #66666d;
    font-size: 13px;
    line-height: 1.7;
}

.qvf-project-community-empty {
    margin-top: 30px;
}

.qvf-project-community-note {
    margin: 24px 0 0;
}


/* ----------------------------------------------------------
   Social sharing
   ---------------------------------------------------------- */

.qvf-project-share {
    padding: 62px 0;
    border-top: 1px solid rgba(255, 255, 255, .10);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    background: #0b0b0d;
    color: #fff;
}

.qvf-project-share-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
}

.qvf-project-share h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 3.4vw, 46px);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.qvf-project-share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.qvf-project-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 0;
    background: #121215;
    color: #fff !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.qvf-project-share-button:hover {
    border-color: rgba(255, 255, 255, .38);
    background: #18181c;
}

.qvf-project-share-button-copy {
    background: #c72538;
    border-color: #c72538;
}

.qvf-project-share-button-copy:hover {
    background: #db2a41;
    border-color: #db2a41;
}


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

@media (max-width: 1000px) {
    .qvf-project-video-grid-3,
    .qvf-project-payment-grid {
        grid-template-columns: 1fr 1fr;
    }

    .qvf-project-community-head {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .qvf-project-community-summary {
        max-width: 520px;
    }

    .qvf-project-share-inner {
        grid-template-columns: 1fr;
    }

    .qvf-project-share-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .qvf-project-video-grid-2,
    .qvf-project-video-grid-3,
    .qvf-project-payment-grid {
        grid-template-columns: 1fr;
    }

    .qvf-project-community {
        padding: 64px 0;
    }

    .qvf-project-community-summary {
        grid-template-columns: 1fr 1fr;
    }

    .qvf-project-payment-card {
        padding: 22px;
    }

    .qvf-project-share {
        padding: 48px 0;
    }

    .qvf-project-share-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .qvf-project-share-button {
        width: 100%;
    }
}

.qvf-project-payment-card .qvf-project-button {
    background: #c72538;
    border-color: #c72538;
    color: #fff !important;
}

.qvf-project-payment-card .qvf-project-button:hover {
    background: #db2a41;
    border-color: #db2a41;
}

/* ==========================================================
   QVFilm Projects v0.13.0
   Investor Conversation Core
   ========================================================== */

.qvf-investor-messages-section {
    padding-top: 58px;
    padding-bottom: 10px;
}

.qvf-investor-messages-heading {
    margin-bottom: 24px;
}

.qvf-message-unread-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    margin-left: 10px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--qvf-ir-accent, #d6243a);
    color: #fff;
    font-size: 12px;
    vertical-align: top;
}

.qvf-message-empty {
    padding: 24px 26px;
    border: 1px solid var(--qvf-ir-line, rgba(255,255,255,.12));
    background: var(--qvf-ir-surface, #121215);
    color: var(--qvf-ir-muted, #aaaab1);
    font-size: 15px;
    line-height: 1.75;
}

.qvf-message-list {
    display: grid;
    border-top: 1px solid var(--qvf-ir-line, rgba(255,255,255,.12));
}

.qvf-message-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--qvf-ir-line, rgba(255,255,255,.12));
    color: inherit !important;
    text-decoration: none !important;
}

.qvf-message-list-item > div:first-child > span {
    display: block;
    margin-bottom: 4px;
    color: var(--qvf-ir-dim, #898990);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qvf-message-list-item > div:first-child > strong {
    display: block;
    color: #f5f5f3;
    font-size: 16px;
    line-height: 1.5;
}

.qvf-message-list-item.is-unread > div:first-child > strong {
    color: #fff;
    font-weight: 700;
}

.qvf-message-list-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--qvf-ir-muted, #aaaab1);
    font-size: 12px;
    white-space: nowrap;
}

.qvf-message-list-meta em {
    padding: 4px 8px;
    border: 1px solid rgba(214, 36, 58, .4);
    border-radius: 999px;
    color: #ff8795;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.qvf-message-list-meta > span {
    color: #fff;
    font-size: 18px;
}

.qvf-investor-conversation {
    min-height: 80vh;
}

.qvf-conversation-hero {
    max-width: 800px;
    padding: 54px 0 34px;
}

.qvf-conversation-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(46px, 5.2vw, 72px);
    line-height: 1;
    letter-spacing: -.045em;
}

.qvf-conversation-hero p {
    max-width: 700px;
    margin: 18px 0 0;
    color: var(--qvf-ir-muted, #aaaab1);
    font-size: 17px;
    line-height: 1.8;
}

.qvf-conversation-thread {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin-top: 30px;
}

.qvf-conversation-message {
    width: min(82%, 760px);
    padding: 20px 22px;
    border: 1px solid var(--qvf-ir-line, rgba(255,255,255,.12));
    background: #121215;
}

.qvf-conversation-message.is-investor {
    justify-self: end;
    background: #17171b;
}

.qvf-conversation-message.is-staff {
    justify-self: start;
    border-left: 3px solid var(--qvf-ir-accent, #d6243a);
}

.qvf-conversation-message header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.qvf-conversation-message header strong {
    color: #fff;
    font-size: 13px;
}

.qvf-conversation-message header time {
    color: var(--qvf-ir-dim, #898990);
    font-size: 11px;
}

.qvf-conversation-message > div {
    color: #d7d7da;
    font-size: 16px;
    line-height: 1.8;
}

.qvf-conversation-reply {
    max-width: 900px;
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid var(--qvf-ir-line, rgba(255,255,255,.12));
}

.qvf-conversation-reply h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(30px, 3vw, 42px);
}

.qvf-conversation-reply textarea {
    display: block;
    width: 100%;
    min-height: 140px;
    padding: 16px 18px;
    border: 1px solid var(--qvf-ir-line, rgba(255,255,255,.12));
    border-radius: 0;
    outline: 0;
    resize: vertical;
    background: #101012;
    color: #fff;
    font: inherit;
    font-size: 16px;
    line-height: 1.75;
}

.qvf-conversation-reply textarea:focus {
    border-color: rgba(255,255,255,.28);
}

.qvf-conversation-reply button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 48px;
    margin-top: 14px;
    padding: 0 20px;
    border: 0;
    border-radius: 0;
    background: var(--qvf-ir-accent, #d6243a);
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.qvf-conversation-reply button:hover {
    background: var(--qvf-ir-accent-hover, #e12c43);
}

@media (max-width: 720px) {
    .qvf-investor-messages-section {
        padding-top: 44px;
    }

    .qvf-message-list-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .qvf-message-list-meta {
        white-space: normal;
        justify-content: space-between;
    }

    .qvf-conversation-message {
        width: 100%;
    }

    .qvf-conversation-message header {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .qvf-conversation-message > div,
    .qvf-conversation-reply textarea {
        font-size: 15px;
    }
}

/* ==========================================================
   QVFilm Projects v0.14.0 — Investor CRM
   Investor profile, commitments and public supporters
   ========================================================== */

.qvf-investor-profile-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr) auto;
    gap: 28px;
    align-items: center;
    margin-top: 34px;
    padding: 26px 28px;
    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
}

.qvf-investor-profile-summary h2 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.2;
}

.qvf-investor-profile-summary p {
    margin: 7px 0 0;
    color: var(--qvf-ir-muted);
    font-size: 14px;
}

.qvf-profile-summary-progress span,
.qvf-profile-summary-progress strong {
    display: block;
}

.qvf-profile-summary-progress span {
    color: var(--qvf-ir-dim);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qvf-profile-summary-progress strong {
    margin-top: 5px;
    color: #fff;
    font-size: 20px;
}

.qvf-profile-summary-progress > div,
.qvf-profile-completeness > div {
    height: 4px;
    margin-top: 10px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}

.qvf-profile-summary-progress i,
.qvf-profile-completeness i {
    display: block;
    height: 100%;
    background: var(--qvf-ir-accent);
}

.qvf-investor-profile-summary > a,
.qvf-profile-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    background: var(--qvf-ir-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.qvf-investor-profile-summary > a:hover,
.qvf-profile-save:hover {
    background: var(--qvf-ir-accent-hover);
    color: #fff;
}

.qvf-profile-hero {
    max-width: 840px;
    padding: 58px 0 42px;
    border-bottom: 1px solid var(--qvf-ir-line);
}

.qvf-profile-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(50px, 5.8vw, 76px);
    line-height: .98;
    letter-spacing: -.045em;
}

.qvf-profile-hero > p {
    max-width: 700px;
    margin: 20px 0 0;
    color: var(--qvf-ir-muted);
    font-size: 18px;
    line-height: 1.8;
}

.qvf-profile-completeness {
    max-width: 420px;
    margin-top: 28px;
}

.qvf-profile-completeness > span,
.qvf-profile-completeness > strong {
    display: inline-block;
}

.qvf-profile-completeness > span {
    color: var(--qvf-ir-muted);
    font-size: 13px;
}

.qvf-profile-completeness > strong {
    float: right;
    color: #fff;
    font-size: 15px;
}

.qvf-investor-profile-form {
    margin-top: 44px;
}

.qvf-profile-form-section {
    padding: 0 0 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--qvf-ir-line);
}

.qvf-profile-form-section h2 {
    margin: 0 0 26px;
    color: #fff;
    font-size: clamp(32px, 3.4vw, 46px);
    line-height: 1.08;
}

.qvf-profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.qvf-profile-form-grid label {
    display: block;
}

.qvf-profile-form-grid label > span {
    display: block;
    margin-bottom: 7px;
    color: #d7d7da;
    font-size: 13px;
    font-weight: 600;
}

.qvf-profile-form-grid input,
.qvf-profile-form-grid select,
.qvf-profile-form-grid textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--qvf-ir-line);
    border-radius: 0;
    outline: none;
    background: #101012;
    color: #fff;
    font: inherit;
    font-size: 15px;
}

.qvf-profile-form-grid textarea {
    min-height: 130px;
    resize: vertical;
}

.qvf-profile-form-grid input:focus,
.qvf-profile-form-grid select:focus,
.qvf-profile-form-grid textarea:focus {
    border-color: var(--qvf-ir-line-strong);
}

.qvf-profile-form-grid input:disabled {
    color: #8d8d94;
    background: #0d0d0f;
}

.qvf-profile-form-grid small {
    display: block;
    margin-top: 6px;
    color: var(--qvf-ir-dim);
    font-size: 11px;
}

.qvf-profile-field-wide {
    grid-column: 1 / -1;
}

.qvf-investor-commitments-section {
    padding-top: 62px;
}

.qvf-investor-commitment-list {
    display: grid;
    gap: 12px;
}

.qvf-investor-commitment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
}

.qvf-investor-commitment-card > div:first-child > span {
    color: var(--qvf-ir-dim);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qvf-investor-commitment-card h3 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 22px;
}

.qvf-investor-commitment-card p {
    margin: 6px 0 0;
    color: var(--qvf-ir-muted);
    font-size: 14px;
}

.qvf-investor-commitment-meta {
    min-width: 180px;
    text-align: right;
}

.qvf-investor-commitment-meta strong,
.qvf-investor-commitment-meta span {
    display: block;
}

.qvf-investor-commitment-meta strong {
    color: #fff;
    font-size: 18px;
}

.qvf-investor-commitment-meta span {
    margin-top: 5px;
    color: var(--qvf-ir-positive);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.qvf-project-supporters {
    background: #0f0f11;
}

.qvf-project-supporter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.qvf-project-supporter-card {
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.11);
    background: #151518;
}

.qvf-project-supporter-card > span {
    color: #8c8c94;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qvf-project-supporter-card h3 {
    margin: 15px 0 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.25;
}

.qvf-project-supporter-card p {
    margin: 7px 0 0;
    color: #aaaab1;
    font-size: 15px;
}

.qvf-project-supporter-card strong {
    display: block;
    margin-top: 22px;
    color: #fff;
    font-size: 18px;
}

@media (max-width: 900px) {
    .qvf-investor-profile-summary {
        grid-template-columns: 1fr 1fr;
    }

    .qvf-investor-profile-summary > a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .qvf-project-supporter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .qvf-investor-profile-summary,
    .qvf-profile-form-grid,
    .qvf-project-supporter-grid {
        grid-template-columns: 1fr;
    }

    .qvf-profile-field-wide {
        grid-column: auto;
    }

    .qvf-investor-commitment-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .qvf-investor-commitment-meta {
        text-align: left;
    }
}

/* ==========================================================
   QVFilm Projects v0.17.0
   Frontend Experience / Site Integration / Investor Access
   ========================================================== */

/* ----------------------------------------------------------
   Click-to-load 16:9 video players
   ---------------------------------------------------------- */

.qvf-project-video-lazy {
    aspect-ratio: 16 / 9;
    min-height: 0;
}

.qvf-project-video-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #050506;
    color: #fff;
    cursor: pointer;
    text-align: left;
}

.qvf-project-video-play > img,
.qvf-project-video-poster-placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qvf-project-video-play > img {
    opacity: .58;
    transform: scale(1.01);
    transition: opacity .25s ease, transform .45s cubic-bezier(.2,.7,.2,1);
}

.qvf-project-video-poster-placeholder {
    background:
        radial-gradient(circle at 50% 45%, rgba(255,255,255,.08), transparent 26%),
        linear-gradient(145deg, #1b1b1f 0%, #08080a 100%);
}

.qvf-project-video-play::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.08) 25%, rgba(0,0,0,.78) 100%);
    pointer-events: none;
}

.qvf-project-video-play-overlay {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255,255,255,.46);
    border-radius: 50%;
    background: rgba(9,9,11,.58);
    backdrop-filter: blur(10px);
    transition: transform .2s ease, background .2s ease;
}

.qvf-project-video-play-icon {
    margin-left: 4px;
    font-size: 20px;
    line-height: 1;
}

.qvf-project-video-play-copy {
    position: absolute;
    z-index: 3;
    left: 22px;
    right: 22px;
    bottom: 20px;
}

.qvf-project-video-play-copy small {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.65);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
}

.qvf-project-video-play-copy strong {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.qvf-project-video-play:hover > img {
    opacity: .7;
    transform: scale(1.035);
}

.qvf-project-video-play:hover .qvf-project-video-play-overlay {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(212, 35, 55, .9);
}

.qvf-project-video-frame.is-loading::before {
    content: "";
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 2px solid rgba(255,255,255,.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: qvf-video-spin .7s linear infinite;
}

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

/* ----------------------------------------------------------
   Investor archive access badge
   ---------------------------------------------------------- */

.qvf-project-card-access-badge {
    position: absolute;
    z-index: 3;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    max-width: calc(100% - 32px);
    padding: 7px 11px;
    border: 1px solid rgba(255, 119, 134, .55);
    border-radius: 999px;
    background: rgba(93, 10, 22, .84);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(9px);
}

/* ----------------------------------------------------------
   QVFilm homepage project showcase
   ---------------------------------------------------------- */

.qvf-home-projects {
    position: relative;
    padding: 110px 0 120px;
    overflow: hidden;
    background: #0c0c0e;
    color: #f6f6f3;
}

.qvf-home-projects::before {
    content: "";
    position: absolute;
    top: -250px;
    right: -180px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 27, 47, .14) 0%, rgba(184, 27, 47, 0) 68%);
    pointer-events: none;
}

.qvf-home-projects .qvf-project-container {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
}

.qvf-home-projects-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 42px;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.qvf-home-projects-heading > div {
    max-width: 790px;
}

.qvf-home-projects-heading h2 {
    margin: 13px 0 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 70px);
    line-height: .98;
    letter-spacing: -.045em;
}

.qvf-home-projects-heading p {
    max-width: 690px;
    margin: 18px 0 0;
    color: #a9a9af;
    font-size: 17px;
    line-height: 1.65;
}

.qvf-home-projects-all {
    flex: 0 0 auto;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,.32);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
}

.qvf-home-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 28px;
    margin-top: 48px;
}

.qvf-home-project-card {
    min-width: 0;
}

.qvf-home-project-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.qvf-home-project-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 1px solid rgba(255,255,255,.12);
    background: #171719;
}

.qvf-home-project-poster > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
}

.qvf-home-project-card-link:hover .qvf-home-project-poster > img {
    transform: scale(1.035);
    opacity: .9;
}

.qvf-home-project-badges {
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.qvf-home-project-community-badge,
.qvf-home-project-stage {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.qvf-home-project-community-badge {
    border: 1px solid rgba(255, 111, 128, .55);
    background: rgba(155, 20, 39, .88);
    color: #fff;
}

.qvf-home-project-stage {
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(13,13,15,.76);
    color: #fff;
}

.qvf-home-project-content {
    padding-top: 20px;
}

.qvf-home-project-content h3 {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.qvf-home-project-content > p {
    margin: 12px 0 0;
    color: #a9a9af;
    font-size: 14px;
    line-height: 1.65;
}

.qvf-home-project-progress {
    margin-top: 18px;
}

.qvf-home-project-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #a9a9af;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qvf-home-project-progress-meta strong {
    color: #fff;
}

.qvf-home-project-progress-bar {
    height: 4px;
    margin-top: 9px;
    overflow: hidden;
    background: rgba(255,255,255,.13);
}

.qvf-home-project-progress-bar > span {
    display: block;
    height: 100%;
    background: #d5233b;
}

.qvf-home-project-cta {
    display: inline-block;
    margin-top: 18px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.qvf-home-project-card.is-community-funded .qvf-home-project-cta {
    color: #ff8c9b;
}

/* ----------------------------------------------------------
   Branded investor password setup
   ---------------------------------------------------------- */

.qvf-investor-access {
    min-height: 78vh;
    padding-top: 88px;
    padding-bottom: 110px;
}

.qvf-investor-password-setup {
    max-width: 820px;
}

.qvf-investor-password-setup h1 {
    max-width: 780px;
}

.qvf-investor-access-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding: 17px 19px;
    border: 1px solid var(--qvf-ir-line);
    background: rgba(255,255,255,.025);
}

.qvf-investor-access-account span {
    color: var(--qvf-ir-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
}

.qvf-investor-access-account strong {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

.qvf-investor-password-setup form {
    margin-top: 18px;
}

.qvf-investor-password-help {
    color: var(--qvf-ir-muted);
    font-size: 12px;
    line-height: 1.6;
}

.qvf-investor-password-submit {
    margin-bottom: 0 !important;
}

.qvf-investor-password-submit input[type="submit"] {
    width: 100%;
}

.qvf-investor-access-security {
    margin-top: 18px;
    padding: 20px 0 0;
    border-top: 1px solid var(--qvf-ir-line);
}

.qvf-investor-access-security strong {
    color: var(--qvf-ir-dim);
    font-size: 9px;
    letter-spacing: .15em;
}

.qvf-investor-access-security p {
    max-width: 690px;
    margin: 8px 0 0;
    color: var(--qvf-ir-muted);
    font-size: 12px;
    line-height: 1.7;
}

.qvf-investor-access-message {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
    color: #d8d8dc;
}

.qvf-investor-access-message strong {
    display: block;
    color: #fff;
    font-size: 18px;
}

.qvf-investor-access-message p {
    margin: 10px 0 0;
    color: var(--qvf-ir-muted);
    line-height: 1.65;
}

.qvf-investor-access-error {
    border-color: rgba(220, 66, 84, .4);
}

.qvf-investor-access-link {
    display: inline-block;
    margin-top: 17px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

body:has(.qvf-investor-access) .haru-page-title {
    display: none !important;
}

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

@media (max-width: 960px) {
    .qvf-home-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .qvf-home-projects {
        padding: 76px 0 84px;
    }

    .qvf-home-projects .qvf-project-container {
        width: min(100% - 28px, 1220px);
    }

    .qvf-home-projects-heading {
        display: block;
        padding-bottom: 28px;
    }

    .qvf-home-projects-heading h2 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .qvf-home-projects-heading p {
        font-size: 15px;
    }

    .qvf-home-projects-all {
        display: inline-block;
        margin-top: 24px;
    }

    .qvf-home-projects-grid {
        grid-template-columns: 1fr;
        gap: 46px;
        margin-top: 34px;
    }

    .qvf-project-card-access-badge {
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        justify-content: center;
        max-width: none;
        text-align: center;
    }

    .qvf-investor-access {
        padding-top: 54px;
        padding-bottom: 76px;
    }

    .qvf-investor-access-account {
        display: block;
    }

    .qvf-investor-access-account strong {
        display: block;
        margin-top: 7px;
    }

    .qvf-project-video-play-overlay {
        width: 58px;
        height: 58px;
    }

    .qvf-project-video-play-copy {
        left: 16px;
        right: 16px;
        bottom: 14px;
    }
}

/* ==========================================================
   QVFilm Projects v0.17.1
   Frontend Polish / Investor UX system
   ========================================================== */

/* ----------------------------------------------------------
   Shared compact typography scale
   ---------------------------------------------------------- */

.qvf-project-title {
    font-size: clamp(40px, 4.8vw, 68px);
    line-height: .98;
    letter-spacing: -.042em;
}

.qvf-project-hero {
    padding: 66px 0;
}

.qvf-project-section-title {
    font-size: clamp(30px, 3.4vw, 46px);
}

/* ----------------------------------------------------------
   Cinematic Projects archive hero
   ---------------------------------------------------------- */

.qvf-project-archive-hero {
    padding: 64px 0 58px;
    overflow: hidden;
    background:
        radial-gradient(circle at 83% 20%, rgba(196, 31, 52, .11), transparent 30%),
        #0d0d0f;
}

.qvf-project-archive-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 64px;
    align-items: center;
}

.qvf-project-archive-hero-copy {
    position: relative;
    z-index: 2;
}

.qvf-project-archive-title,
.qvf-project-archive-hero h1 {
    font-size: clamp(48px, 5.5vw, 76px);
    line-height: .94;
    letter-spacing: -.045em;
}

.qvf-project-archive-intro,
.qvf-project-archive-hero p {
    max-width: 540px;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.65;
}

.qvf-project-archive-hero-media {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255,255,255,.12);
    background: #151518;
}

.qvf-project-archive-hero-media img,
.qvf-project-archive-hero-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.qvf-project-archive-hero-media img {
    display: block;
    object-fit: cover;
    filter: saturate(.82) contrast(1.05);
}

.qvf-project-archive-hero-media-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13,13,15,.45), rgba(13,13,15,.02) 42%, rgba(13,13,15,.18)),
        linear-gradient(180deg, transparent 55%, rgba(0,0,0,.62));
}

.qvf-project-archive-hero-media > span {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 16px;
    left: 18px;
    overflow: hidden;
    color: rgba(255,255,255,.88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.qvf-project-archive-hero-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 72% 30%, rgba(199,37,56,.32), transparent 26%),
        linear-gradient(145deg, #202025, #09090b 68%);
}

.qvf-project-archive-hero-placeholder span {
    color: #fff;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: .12em;
}

/* Filter layout: prevent translated button/label wrapping. */
.qvf-project-filters .qvf-project-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.qvf-project-filter-form {
    flex-wrap: nowrap;
}

.qvf-project-filter-form label,
.qvf-project-filter-submit,
.qvf-project-filter-reset {
    white-space: nowrap;
}

.qvf-project-filter-submit {
    min-width: 92px;
    padding: 0 20px;
    line-height: 1;
}

/* ----------------------------------------------------------
   Full-screen lazy project video viewer
   ---------------------------------------------------------- */

html.qvf-video-modal-open,
body.qvf-video-modal-open {
    overflow: hidden !important;
}

.qvf-video-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(0,0,0,.88);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(10px);
    transition: opacity .18s ease, visibility .18s ease;
}

.qvf-video-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.qvf-video-modal-dialog {
    width: min(1320px, 94vw);
    max-height: 94vh;
    transform: translateY(10px) scale(.992);
    transition: transform .18s ease;
}

.qvf-video-modal.is-open .qvf-video-modal-dialog {
    transform: none;
}

.qvf-video-modal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 2px 10px;
    color: #fff;
}

.qvf-video-modal-topbar > span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qvf-video-modal-close {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: rgba(17,17,20,.82);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 25px;
    line-height: 1;
}

.qvf-video-modal-close:hover {
    border-color: rgba(255,255,255,.58);
    background: #c72538;
}

.qvf-video-modal-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 28px 100px rgba(0,0,0,.58);
}

.qvf-video-modal-stage iframe,
.qvf-video-modal-stage video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    object-fit: contain;
    background: #000;
}

.qvf-video-modal-stage.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
    border: 2px solid rgba(255,255,255,.22);
    border-top-color: #fff;
    border-radius: 50%;
    animation: qvf-video-spin .7s linear infinite;
}

/* Keep preview cards restrained because playback now happens in modal. */
.qvf-project-video-grid {
    gap: 18px;
}

.qvf-project-video-play-copy {
    bottom: 15px;
}

.qvf-project-deal-room .qvf-project-video-grid-3,
.qvf-project-deal-room .qvf-project-video-grid-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ----------------------------------------------------------
   Compact community support section
   ---------------------------------------------------------- */

.qvf-project-community {
    padding: 64px 0 68px;
}

.qvf-project-community-head {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 46px;
    align-items: center;
}

.qvf-project-community .qvf-project-section-title {
    margin-bottom: 0;
    font-size: clamp(34px, 3.7vw, 50px);
}

.qvf-project-community-copy {
    max-width: 680px;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
}

.qvf-project-community-summary > div {
    padding: 15px 16px;
}

.qvf-project-community-summary strong {
    font-size: clamp(20px, 1.8vw, 26px);
}

.qvf-project-community-progress-wrap {
    margin-top: 28px;
}

.qvf-project-payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.qvf-project-payment-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    grid-auto-rows: min-content;
    column-gap: 20px;
    align-content: start;
    padding: 20px;
}

.qvf-project-payment-card-head {
    grid-column: 1 / -1;
    margin-bottom: 14px;
}

.qvf-project-payment-card-head h3 {
    font-size: 21px;
}

.qvf-project-payment-qr {
    grid-column: 1;
    grid-row: 2 / 20;
    align-self: start;
    margin: 0;
    padding: 10px;
}

.qvf-project-payment-qr img {
    width: 100%;
    max-width: 150px;
}

.qvf-project-payment-row,
.qvf-project-copy-button,
.qvf-project-payment-card > .qvf-project-button,
.qvf-project-payment-card > p {
    grid-column: 2;
}

.qvf-project-payment-row {
    padding: 10px 0;
}

.qvf-project-payment-row strong {
    font-size: 14px;
}

.qvf-project-copy-button {
    min-height: 38px;
    margin-bottom: 8px;
}

.qvf-project-payment-card .qvf-project-button {
    min-height: 40px;
    margin-top: 10px;
}

.qvf-project-payment-card-paypal {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 28px;
}

.qvf-project-payment-card-paypal .qvf-project-payment-card-head {
    grid-column: 1;
    margin: 0;
}

.qvf-project-payment-card-paypal > p {
    grid-column: 1;
    margin: 0;
}

.qvf-project-payment-card-paypal > .qvf-project-button {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: auto;
    min-width: 190px;
    margin: 0;
}

.qvf-project-community-note {
    margin-top: 16px;
}

/* ----------------------------------------------------------
   Compact sharing strip
   ---------------------------------------------------------- */

.qvf-project-share {
    padding: 32px 0;
}

.qvf-project-share-inner {
    grid-template-columns: minmax(220px, .75fr) 1.25fr;
    gap: 28px;
}

.qvf-project-share-copy .qvf-project-section-label {
    margin-bottom: 6px;
}

.qvf-project-share-copy p {
    margin: 0;
    color: #d7d7da;
    font-size: 16px;
    font-weight: 600;
}

.qvf-project-share-buttons {
    gap: 8px;
}

.qvf-project-share-button {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
}

/* ----------------------------------------------------------
   Compact contact block with icon
   ---------------------------------------------------------- */

.qvf-project-contact {
    padding: 54px 0 58px;
    background: #f0f0ed;
    color: #151515;
}

.qvf-project-contact-inner {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.qvf-project-contact-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(21,21,21,.18);
    border-radius: 50%;
}

.qvf-project-contact-icon svg,
.qvf-project-contact-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.qvf-project-contact h2 {
    margin: 0 0 12px;
    color: #151515 !important;
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.02;
}

.qvf-project-contact p {
    max-width: 680px;
    margin: 0;
    color: #4d4d50;
    font-size: 16px;
    line-height: 1.65;
}

.qvf-project-contact-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 22px;
    margin-top: 20px;
}

.qvf-project-contact-name {
    margin: 0;
    color: #151515;
}

.qvf-project-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.qvf-project-contact-button svg {
    width: 17px;
    height: 17px;
}

/* ----------------------------------------------------------
   Investor Room compact heading hierarchy
   ---------------------------------------------------------- */

.qvf-investor-room {
    padding-top: 56px;
}

.qvf-investor-login h1,
.qvf-investor-nda h1,
.qvf-investor-password-setup h1 {
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -.038em;
}

.qvf-investor-dashboard-header {
    padding-bottom: 32px;
}

.qvf-investor-dashboard-heading h1 {
    font-size: clamp(42px, 4.4vw, 58px);
    line-height: .98;
    letter-spacing: -.042em;
}

.qvf-investor-dashboard-heading p {
    margin-top: 14px;
    font-size: 15px;
}

.qvf-investor-deals-section {
    padding-top: 48px;
}

.qvf-investor-section-heading {
    margin-bottom: 22px;
}

.qvf-investor-section-heading h2 {
    font-size: clamp(32px, 3.4vw, 44px);
}

.qvf-deal-content h2 {
    font-size: clamp(28px, 2.7vw, 38px);
}

/* Deal Room title and section scale */
.qvf-project-deal-room {
    padding-top: 42px;
}

.qvf-deal-room-hero {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 42px;
    padding: 42px 0;
}

.qvf-deal-room-hero h1 {
    max-width: 780px;
    font-size: clamp(40px, 4.4vw, 58px);
    line-height: .98;
    letter-spacing: -.042em;
}

.qvf-deal-room-logline {
    margin-top: 18px;
    font-size: clamp(17px, 1.55vw, 21px);
}

.qvf-deal-room-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 46px;
    padding-top: 46px;
}

.qvf-deal-room-section {
    padding-bottom: 38px;
    margin-bottom: 38px;
}

.qvf-deal-room-section h2 {
    margin-bottom: 20px;
    font-size: clamp(30px, 3vw, 40px);
}

.qvf-deal-room-sidebar {
    position: sticky;
    top: 110px;
    gap: 12px;
}

.qvf-deal-room-sidebar-card {
    padding: 20px;
}

.qvf-deal-room-sidebar-card h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

/* Compact sidebar documents */
.qvf-deal-sidebar-document-list {
    display: grid;
    gap: 8px;
}

.qvf-deal-sidebar-document {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--qvf-ir-line);
}

.qvf-deal-sidebar-document > div {
    min-width: 0;
}

.qvf-deal-sidebar-document > div > span {
    display: block;
    color: var(--qvf-ir-positive);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .09em;
}

.qvf-deal-sidebar-document strong,
.qvf-deal-sidebar-document small {
    display: block;
}

.qvf-deal-sidebar-document strong {
    margin-top: 3px;
    color: #fff;
    font-size: 13px;
}

.qvf-deal-sidebar-document small {
    margin-top: 2px;
    overflow: hidden;
    color: var(--qvf-ir-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qvf-deal-sidebar-document > a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    background: var(--qvf-ir-accent);
    color: #fff;
    text-decoration: none;
}

.qvf-deal-sidebar-document-unavailable {
    color: var(--qvf-ir-dim);
    text-align: center;
}

.qvf-deal-sidebar-note {
    margin: 10px 0 0;
    color: var(--qvf-ir-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* Compact sidebar investor actions */
.qvf-deal-sidebar-actions {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.qvf-deal-sidebar-interest button,
.qvf-deal-sidebar-action-detail button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    border: 0;
    background: var(--qvf-ir-accent);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
}

.qvf-deal-sidebar-action-detail {
    border-top: 1px solid var(--qvf-ir-line);
}

.qvf-deal-sidebar-action-detail summary {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 700;
}

.qvf-deal-sidebar-action-detail summary::-webkit-details-marker {
    display: none;
}

.qvf-deal-sidebar-action-detail[open] summary span {
    transform: rotate(45deg);
}

.qvf-deal-sidebar-action-detail form {
    padding: 0 0 12px;
}

.qvf-deal-sidebar-action-detail textarea {
    width: 100%;
    min-height: 82px;
    margin: 0 0 8px;
    padding: 10px;
    resize: vertical;
    border: 1px solid var(--qvf-ir-line);
    border-radius: 0;
    background: #0e0e10;
    color: #fff;
    font: inherit;
    font-size: 12px;
    line-height: 1.55;
}

/* ----------------------------------------------------------
   Investor profile: compact header + image / logo uploads
   ---------------------------------------------------------- */

.qvf-profile-hero {
    max-width: 820px;
    padding: 44px 0 34px;
}

.qvf-profile-hero h1 {
    font-size: clamp(40px, 4.4vw, 58px);
    line-height: 1;
    letter-spacing: -.042em;
}

.qvf-profile-hero > p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.7;
}

.qvf-profile-form-section h2 {
    font-size: clamp(28px, 3vw, 38px);
}

.qvf-profile-section-intro {
    max-width: 720px;
    margin: -12px 0 20px;
    color: var(--qvf-ir-muted);
    font-size: 14px;
}

.qvf-profile-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.qvf-profile-media-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--qvf-ir-line);
    background: var(--qvf-ir-surface);
}

.qvf-profile-media-preview {
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--qvf-ir-line);
    background: #0c0c0e;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.qvf-profile-media-preview-avatar {
    border-radius: 50%;
}

.qvf-profile-media-preview-logo {
    border-radius: 8px;
}

.qvf-profile-media-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qvf-profile-media-preview-logo img {
    object-fit: contain;
    padding: 8px;
    background: #fff;
}

.qvf-profile-media-copy > strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.qvf-profile-media-copy > p {
    margin: 5px 0 10px;
    color: var(--qvf-ir-muted);
    font-size: 11px;
    line-height: 1.55;
}

.qvf-profile-file-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--qvf-ir-line-strong);
    color: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.qvf-profile-file-button input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.qvf-profile-remove-media {
    display: block;
    margin-top: 8px;
    color: var(--qvf-ir-muted);
    font-size: 10px;
}

.qvf-profile-media-note {
    margin: 10px 0 0;
    color: var(--qvf-ir-dim);
    font-size: 11px;
}

.qvf-profile-summary-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.qvf-profile-summary-avatar {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--qvf-ir-line);
    border-radius: 50%;
    background: #0d0d0f;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.qvf-profile-summary-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Public supporter logo/photo support */
.qvf-project-supporter-card {
    display: flex;
    min-height: 0;
    align-items: center;
    gap: 18px;
    padding: 20px;
}

.qvf-project-supporter-media {
    display: grid;
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: #fff;
}

.qvf-project-supporter-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.qvf-project-supporter-content {
    min-width: 0;
}

.qvf-project-supporter-content > span {
    color: #8c8c94;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qvf-project-supporter-content h3 {
    margin-top: 8px;
    font-size: 21px;
}

.qvf-project-supporter-content strong {
    margin-top: 10px;
    font-size: 15px;
}

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

@media (max-width: 1080px) {
    .qvf-project-archive-hero-grid {
        grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
        gap: 42px;
    }

    .qvf-project-filters .qvf-project-container {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .qvf-project-filter-form {
        width: 100%;
        flex-wrap: wrap;
    }

    .qvf-deal-room-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 32px;
    }

    .qvf-profile-media-card {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .qvf-profile-media-preview {
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 900px) {
    .qvf-project-archive-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qvf-project-archive-hero-media {
        min-height: 0;
    }

    .qvf-project-payment-grid,
    .qvf-profile-media-grid {
        grid-template-columns: 1fr;
    }

    .qvf-project-payment-card-paypal {
        grid-column: auto;
    }

    .qvf-deal-room-layout {
        grid-template-columns: 1fr;
    }

    .qvf-deal-room-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        top: auto;
    }

    .qvf-deal-sidebar-actions-card,
    .qvf-deal-sidebar-documents-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .qvf-project-archive-hero {
        padding: 46px 0 40px;
    }

    .qvf-project-archive-title,
    .qvf-project-archive-hero h1 {
        font-size: clamp(44px, 14vw, 60px);
    }

    .qvf-project-filter-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .qvf-project-filter-form label {
        grid-column: 1 / -1;
    }

    .qvf-project-filter-reset {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .qvf-video-modal {
        padding: 12px;
    }

    .qvf-video-modal-dialog {
        width: 100%;
    }

    .qvf-video-modal-topbar {
        min-height: 42px;
    }

    .qvf-project-community {
        padding: 48px 0 52px;
    }

    .qvf-project-community-head {
        gap: 24px;
    }

    .qvf-project-payment-card {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .qvf-project-payment-qr img {
        max-width: 110px;
    }

    .qvf-project-payment-card-paypal {
        grid-template-columns: 1fr;
    }

    .qvf-project-payment-card-paypal .qvf-project-payment-card-head,
    .qvf-project-payment-card-paypal > p,
    .qvf-project-payment-card-paypal > .qvf-project-button {
        grid-column: 1;
        grid-row: auto;
    }

    .qvf-project-share {
        padding: 26px 0;
    }

    .qvf-project-share-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .qvf-project-share-buttons {
        display: flex;
        gap: 7px;
    }

    .qvf-project-share-button {
        width: auto;
        flex: 1 1 calc(50% - 7px);
    }

    .qvf-project-contact {
        padding: 42px 0 46px;
    }

    .qvf-project-contact-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .qvf-project-contact-icon {
        width: 46px;
        height: 46px;
    }

    .qvf-investor-dashboard-heading h1,
    .qvf-profile-hero h1 {
        font-size: clamp(38px, 12vw, 50px);
    }

    .qvf-investor-section-heading h2 {
        font-size: 32px;
    }

    .qvf-deal-room-hero {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 22px;
        align-items: start;
    }

    .qvf-deal-room-hero h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .qvf-deal-room-international-title,
    .qvf-deal-room-logline {
        font-size: 15px;
    }

    .qvf-deal-room-sidebar {
        grid-template-columns: 1fr;
    }

    .qvf-deal-sidebar-actions-card,
    .qvf-deal-sidebar-documents-card {
        grid-column: auto;
    }

    .qvf-profile-media-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .qvf-profile-media-preview {
        width: 72px;
        height: 72px;
    }
}

/* v0.17.1 finishing integration details */
.qvf-project-payment-card:not(:has(.qvf-project-payment-qr)):not(.qvf-project-payment-card-paypal) {
    grid-template-columns: 1fr;
}
.qvf-project-payment-card:not(:has(.qvf-project-payment-qr)):not(.qvf-project-payment-card-paypal) .qvf-project-payment-row,
.qvf-project-payment-card:not(:has(.qvf-project-payment-qr)):not(.qvf-project-payment-card-paypal) .qvf-project-copy-button,
.qvf-project-payment-card:not(:has(.qvf-project-payment-qr)):not(.qvf-project-payment-card-paypal) > .qvf-project-button,
.qvf-project-payment-card:not(:has(.qvf-project-payment-qr)):not(.qvf-project-payment-card-paypal) > p {
    grid-column: 1;
}
body:has(.qvf-investor-room) .haru-social-share,
body:has(.qvf-investor-access) .haru-social-share {
    display: none !important;
}

/* ==========================================================
   v0.17.2 Investor identity hero + live media upload feedback
   ========================================================== */

.qvf-profile-hero.qvf-profile-hero-with-media {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: clamp(36px, 7vw, 96px);
    align-items: center;
}

.qvf-profile-hero-copy {
    max-width: 760px;
}

.qvf-profile-hero-identity {
    min-width: 0;
    border: 1px solid var(--qvf-ir-line);
    background: linear-gradient(145deg, #151518 0%, #0d0d0f 100%);
}

.qvf-profile-hero-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid var(--qvf-ir-line);
    background: #0a0a0c;
}

.qvf-profile-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qvf-profile-hero-media.is-logo img {
    object-fit: contain;
    padding: clamp(24px, 5vw, 46px);
    background: #f7f7f4;
}

.qvf-profile-hero-placeholder {
    display: grid;
    height: 100%;
    place-items: center;
    align-content: center;
    gap: 18px;
    background:
        radial-gradient(circle at 70% 25%, rgba(212, 35, 60, .16), transparent 32%),
        linear-gradient(135deg, rgba(255,255,255,.035), transparent 45%);
}

.qvf-profile-hero-placeholder strong {
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: .04em;
}

.qvf-profile-hero-placeholder strong span {
    color: #d4233c;
}

.qvf-profile-hero-placeholder i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: rgba(255,255,255,.7);
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
}

.qvf-profile-hero-media-caption {
    display: grid;
    gap: 5px;
    padding: 16px 18px 18px;
}

.qvf-profile-hero-media-caption > span {
    color: var(--qvf-ir-dim);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
}

.qvf-profile-hero-media-caption > strong {
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qvf-profile-hero-media-caption > small {
    color: var(--qvf-ir-muted);
    font-size: 10px;
    line-height: 1.5;
}

.qvf-profile-media-card.is-uploading .qvf-profile-file-button {
    opacity: .55;
    cursor: wait;
}

.qvf-profile-upload-feedback {
    margin-top: 10px;
}

.qvf-profile-upload-feedback[hidden] {
    display: none;
}

.qvf-profile-upload-feedback-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    color: var(--qvf-ir-muted);
    font-size: 10px;
    line-height: 1.4;
}

.qvf-profile-upload-feedback-row strong {
    flex: 0 0 auto;
    color: #fff;
    font-size: 10px;
}

.qvf-profile-upload-progress {
    height: 3px;
    overflow: hidden;
    background: rgba(255,255,255,.1);
}

.qvf-profile-upload-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: #d4233c;
    transition: width .18s ease;
}

.qvf-profile-media-card.is-uploading {
    border-color: rgba(212, 35, 60, .55);
}

.qvf-profile-media-card.is-upload-success {
    border-color: rgba(68, 196, 116, .38);
}

.qvf-profile-media-card.is-upload-success .qvf-profile-upload-feedback-row,
.qvf-profile-media-card.is-upload-success .qvf-profile-upload-feedback-row strong {
    color: #69d391;
}

.qvf-profile-media-card.is-upload-success .qvf-profile-upload-progress i {
    background: #52bd7b;
}

.qvf-profile-media-card.is-upload-error {
    border-color: rgba(232, 79, 94, .62);
}

.qvf-profile-media-card.is-upload-error .qvf-profile-upload-feedback-row,
.qvf-profile-media-card.is-upload-error .qvf-profile-upload-feedback-row strong {
    color: #ff8a96;
}

.qvf-profile-media-card.is-upload-error .qvf-profile-upload-progress i {
    background: #e84f5e;
}

@media (max-width: 900px) {
    .qvf-profile-hero.qvf-profile-hero-with-media {
        grid-template-columns: minmax(0, 1fr) minmax(210px, 260px);
        gap: 32px;
    }
}

@media (max-width: 700px) {
    .qvf-profile-hero.qvf-profile-hero-with-media {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .qvf-profile-hero-identity {
        width: min(100%, 360px);
    }
}

/* ----------------------------------------------------------
   v0.17.3 immersive hero + conversation polish
   ---------------------------------------------------------- */

.qvf-immersive-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.qvf-immersive-hero > :not(.qvf-immersive-hero-backdrop) {
    position: relative;
    z-index: 2;
}

.qvf-immersive-hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--qvf-hero-image);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .3;
    transform: scale(1.05);
    filter: saturate(.8) contrast(1.08);
}

.qvf-immersive-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 82% 18%, rgba(198, 30, 51, .22), transparent 26%),
        linear-gradient(90deg, rgba(6, 7, 10, .92) 0%, rgba(8, 9, 12, .72) 44%, rgba(8, 8, 11, .88) 100%),
        linear-gradient(180deg, rgba(8, 8, 11, .2) 0%, rgba(8, 8, 11, .88) 100%);
}

/* Archive hero */
.qvf-project-archive-hero {
    padding: 104px 0 94px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: #0b0c0f;
}

.qvf-project-archive-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 42px;
    align-items: end;
    min-height: 330px;
}

.qvf-project-archive-hero-copy {
    max-width: 720px;
}

.qvf-project-archive-title,
.qvf-project-archive-hero h1 {
    font-size: clamp(56px, 6vw, 90px);
}

.qvf-project-archive-intro,
.qvf-project-archive-hero p {
    max-width: 620px;
    font-size: clamp(16px, 1.4vw, 20px);
}

.qvf-project-archive-hero-featured {
    justify-self: end;
    width: min(100%, 340px);
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(12, 12, 16, .58);
    backdrop-filter: blur(10px);
}

.qvf-project-archive-hero-featured-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,.68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.qvf-project-archive-hero-featured strong {
    display: block;
    color: #fff;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.2;
}

/* Archive filter alignment */
.qvf-project-filters {
    padding: 28px 0 34px;
}

.qvf-project-filters .qvf-project-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 22px 28px;
}

.qvf-project-stage-filters {
    align-items: flex-start;
    align-content: flex-start;
    row-gap: 12px;
}

.qvf-project-filter-form {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: end;
    gap: 12px;
    padding-top: 4px;
}

.qvf-project-filter-form label {
    margin: 0;
}

.qvf-project-filter-form select {
    min-width: 216px;
    height: 44px;
}

.qvf-project-filter-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 44px;
    padding: 0 24px;
}

.qvf-project-filter-reset {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
}

/* Dashboard immersive header */
.qvf-investor-dashboard-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 30px;
    padding: 64px 34px 36px;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(10,10,13,.72);
}

.qvf-investor-dashboard-heading {
    max-width: 760px;
}

.qvf-investor-dashboard-heading h1 {
    font-size: clamp(46px, 5vw, 72px);
}

.qvf-investor-dashboard-heading p {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.7;
}

.qvf-investor-account {
    align-self: end;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(11, 11, 16, .56);
    backdrop-filter: blur(10px);
}

/* Deal Room immersive hero */
.qvf-project-deal-room {
    padding-top: 30px;
}

.qvf-deal-room-hero {
    position: relative;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 38px;
    padding: 52px 34px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(10,10,14,.72);
}

.qvf-deal-room-poster {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 20px 40px rgba(0,0,0,.28);
}

.qvf-deal-room-hero-content {
    position: relative;
    z-index: 2;
    max-width: 840px;
}

.qvf-deal-room-hero h1 {
    font-size: clamp(44px, 5vw, 72px);
}

.qvf-deal-room-logline {
    max-width: 760px;
}

/* Conversation UI */
.qvf-investor-conversation .qvf-investor-shell {
    max-width: 1120px;
}

.qvf-conversation-hero {
    max-width: 880px;
    padding: 34px 0 22px;
}

.qvf-conversation-hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
}

.qvf-conversation-hero p {
    max-width: 760px;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.7;
}

.qvf-conversation-thread-shell {
    max-width: 980px;
    margin-top: 22px;
    padding: 28px 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(15,15,19,.98), rgba(10,10,14,.98));
}

.qvf-conversation-thread {
    gap: 18px;
    max-width: none;
    margin-top: 0;
}

.qvf-conversation-message {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: end;
    gap: 12px;
    width: 100%;
}

.qvf-conversation-message.is-investor {
    grid-template-columns: minmax(0, 1fr) 44px;
    background: transparent;
}

.qvf-conversation-message.is-staff {
    background: transparent;
    border-left: 0;
}

.qvf-conversation-message-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: #15161b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.qvf-conversation-message.is-staff .qvf-conversation-message-avatar {
    background: linear-gradient(135deg, rgba(214,36,58,.95), rgba(134,19,31,.95));
}

.qvf-conversation-message.is-investor .qvf-conversation-message-avatar {
    order: 2;
    background: #23242a;
}

.qvf-conversation-message-bubble {
    width: min(78%, 720px);
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px 22px 22px 8px;
    background: #16171c;
    box-shadow: 0 10px 18px rgba(0,0,0,.18);
}

.qvf-conversation-message.is-investor .qvf-conversation-message-bubble {
    order: 1;
    margin-left: auto;
    border-radius: 22px 22px 8px 22px;
    background: linear-gradient(135deg, rgba(214,36,58,.96), rgba(165,27,44,.96));
}

.qvf-conversation-message header {
    margin-bottom: 8px;
}

.qvf-conversation-message header strong,
.qvf-conversation-message header time,
.qvf-conversation-message > div,
.qvf-conversation-message-bubble > div {
    color: #e4e5ea;
}

.qvf-conversation-message header time {
    color: rgba(228,229,234,.66);
}

.qvf-conversation-message-bubble > div {
    font-size: 15px;
    line-height: 1.7;
}

.qvf-conversation-reply {
    max-width: 980px;
    margin-top: 24px;
    padding: 28px 24px 30px;
    border: 1px solid rgba(255,255,255,.08);
    background: #0f1014;
}

.qvf-conversation-reply h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 16px;
}

.qvf-conversation-emotions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.qvf-conversation-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: #17181d;
    color: #fff;
    cursor: pointer;
    font-size: 19px;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.qvf-conversation-emoji:hover,
.qvf-conversation-emoji:focus {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.28);
    background: #1e2027;
}

.qvf-conversation-reply textarea {
    min-height: 150px;
    border-radius: 18px;
    background: #13141a;
}

.qvf-conversation-reply-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.qvf-conversation-reply-note {
    color: rgba(255,255,255,.64);
    font-size: 13px;
    line-height: 1.5;
}

.qvf-conversation-reply button {
    margin-top: 0;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
}

@media (max-width: 1100px) {
    .qvf-investor-dashboard-header,
    .qvf-deal-room-hero {
        grid-template-columns: 1fr;
    }

    .qvf-investor-account {
        justify-self: start;
        width: min(100%, 360px);
    }

    .qvf-project-archive-hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .qvf-project-archive-hero-featured {
        justify-self: start;
    }
}

@media (max-width: 900px) {
    .qvf-project-filters .qvf-project-container {
        grid-template-columns: 1fr;
    }

    .qvf-project-filter-form {
        grid-auto-flow: row;
        justify-content: start;
        justify-items: start;
    }

    .qvf-project-filter-form select,
    .qvf-project-filter-submit {
        width: 100%;
    }

    .qvf-conversation-thread-shell,
    .qvf-conversation-reply {
        padding: 22px 18px;
    }
}

@media (max-width: 700px) {
    .qvf-project-archive-hero {
        padding: 84px 0 70px;
    }

    .qvf-project-archive-title,
    .qvf-project-archive-hero h1 {
        font-size: clamp(42px, 14vw, 62px);
    }

    .qvf-deal-room-hero,
    .qvf-investor-dashboard-header {
        padding: 34px 20px 26px;
    }

    .qvf-conversation-message,
    .qvf-conversation-message.is-investor {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .qvf-conversation-message.is-investor .qvf-conversation-message-avatar {
        order: 0;
    }

    .qvf-conversation-message-bubble,
    .qvf-conversation-message.is-investor .qvf-conversation-message-bubble {
        width: 100%;
        margin-left: 0;
    }

    .qvf-conversation-reply-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .qvf-conversation-reply button {
        width: 100%;
    }
}

/* ----------------------------------------------------------
   v0.17.4 AJAX Messenger-like conversation experience
   ---------------------------------------------------------- */

.qvf-conversation-presence {
    display: inline-grid;
    grid-template-columns: 34px 10px auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 9px;
    margin-top: 22px;
    padding: 9px 13px 9px 9px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: rgba(18,19,24,.78);
}

.qvf-conversation-presence-avatar {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d6243a, #821423);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.qvf-conversation-presence-dot {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #6d707a;
    box-shadow: 0 0 0 3px rgba(109,112,122,.12);
}

.qvf-conversation-presence.is-online .qvf-conversation-presence-dot {
    background: #44d17a;
    box-shadow: 0 0 0 3px rgba(68,209,122,.14);
}

.qvf-conversation-presence strong {
    grid-column: 3;
    grid-row: 1;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
}

.qvf-conversation-presence small {
    grid-column: 3;
    grid-row: 2;
    color: #92959f;
    font-size: 10px;
    line-height: 1.2;
}

.qvf-conversation-message-avatar {
    overflow: hidden;
    flex: none;
}

.qvf-conversation-message-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qvf-conversation-message-avatar span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.qvf-conversation-message-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.qvf-conversation-composer {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    background: #111217;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.qvf-conversation-composer:focus-within {
    border-color: rgba(255,255,255,.24);
    box-shadow: 0 0 0 3px rgba(255,255,255,.025);
}

.qvf-conversation-composer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 52px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.qvf-conversation-composer-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qvf-composer-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: #181920;
    color: #d8dae0;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.qvf-composer-tool:hover,
.qvf-composer-tool:focus,
.qvf-composer-tool.is-active {
    border-color: rgba(214,36,58,.55);
    background: rgba(214,36,58,.12);
    color: #fff;
}

.qvf-telex-toggle.is-active::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #44d17a;
}

.qvf-conversation-send-status {
    min-height: 18px;
    color: #858994;
    font-size: 11px;
    font-weight: 600;
}

.qvf-conversation-send-status.is-success { color: #64cf8b; }
.qvf-conversation-send-status.is-error { color: #ff7a88; }
.qvf-conversation-send-status.is-busy { color: #b5b8c0; }

.qvf-conversation-emoji-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: #0f1015;
}

.qvf-conversation-emoji-panel[hidden] {
    display: none !important;
}

.qvf-conversation-emoji {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    transition: background .16s ease, transform .16s ease;
}

.qvf-conversation-emoji:hover,
.qvf-conversation-emoji:focus {
    background: #202128;
    transform: translateY(-1px);
}

.qvf-conversation-reply textarea[data-qvf-chat-input] {
    min-height: 96px;
    max-height: 220px;
    margin: 0;
    padding: 15px 17px 17px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    resize: none;
}

.qvf-conversation-reply textarea[data-qvf-chat-input]:focus {
    border: 0;
    box-shadow: none;
}

.qvf-conversation-reply button[data-qvf-chat-submit] {
    min-width: 148px;
}

.qvf-conversation-reply button[data-qvf-chat-submit].is-sending {
    opacity: .68;
    cursor: wait;
}

.qvf-conversation-reply-note::after {
    content: " · Enter để gửi, Shift+Enter xuống dòng";
}

@media (max-width: 700px) {
    .qvf-conversation-composer-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .qvf-conversation-reply-note::after {
        content: "";
    }
}

/* ==========================================================
   v0.17.5 Comprehensive Mobile Frontend Polish
   Mobile-first interaction baseline for public Projects,
   Investor Room, Deal Room, Profile, Access and Live Chat.
   ========================================================== */

@media (max-width: 780px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .qvf-project-page,
    .qvf-project-archive,
    .qvf-investor-room,
    .qvf-investor-access,
    .qvf-home-projects {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .qvf-project-container,
    .qvf-project-archive .qvf-project-container,
    .qvf-home-projects .qvf-project-container,
    .qvf-investor-shell {
        width: min(100% - 28px, 1180px);
    }

    .qvf-project-page a,
    .qvf-project-page button,
    .qvf-project-archive a,
    .qvf-project-archive button,
    .qvf-investor-room a,
    .qvf-investor-room button,
    .qvf-investor-access a,
    .qvf-investor-access button,
    .qvf-home-projects a,
    .qvf-home-projects button {
        touch-action: manipulation;
    }

    /* Homepage project showcase */
    .qvf-home-projects {
        padding: 62px 0 72px;
    }

    .qvf-home-projects-heading {
        display: grid;
        gap: 18px;
        padding-bottom: 24px;
    }

    .qvf-home-projects-heading h2 {
        margin-top: 9px;
        font-size: clamp(34px, 10.8vw, 48px);
        line-height: 1.02;
    }

    .qvf-home-projects-heading p {
        margin-top: 13px;
        font-size: 15px;
        line-height: 1.65;
    }

    .qvf-home-projects-all {
        justify-self: start;
        min-height: 44px;
        margin-top: 0;
        padding: 11px 0 6px;
    }

    .qvf-home-projects-grid {
        gap: 36px;
        margin-top: 30px;
    }

    .qvf-home-project-poster {
        border-color: rgba(255,255,255,.15);
    }

    .qvf-home-project-content {
        padding-top: 16px;
    }

    .qvf-home-project-content h3 {
        font-size: clamp(24px, 7.2vw, 31px);
    }

    .qvf-home-project-content > p {
        font-size: 14px;
        line-height: 1.6;
    }

    .qvf-home-project-cta {
        min-height: 42px;
        padding-top: 10px;
    }

    /* Projects archive hero */
    .qvf-project-archive-hero {
        min-height: 0;
        padding: 78px 0 58px;
    }

    .qvf-project-archive-hero::after {
        background:
            linear-gradient(180deg, rgba(6,7,10,.62) 0%, rgba(6,7,10,.78) 45%, rgba(8,8,11,.96) 100%),
            linear-gradient(90deg, rgba(6,7,10,.74), rgba(6,7,10,.32));
    }

    .qvf-project-archive-hero-grid {
        display: block;
        min-height: 260px;
    }

    .qvf-project-archive-title,
    .qvf-project-archive-hero h1 {
        font-size: clamp(44px, 13vw, 60px);
        line-height: .96;
    }

    .qvf-project-archive-intro,
    .qvf-project-archive-hero p {
        max-width: 92%;
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.65;
    }

    .qvf-project-archive-hero-featured {
        width: min(100%, 310px);
        margin-top: 42px;
        padding: 13px 15px;
        background: rgba(9,10,13,.58);
    }

    .qvf-project-archive-hero-featured strong {
        font-size: 17px;
    }

    /* Archive filters: stage chips become a clean swipe row */
    .qvf-project-filters {
        padding: 18px 0 22px;
    }

    .qvf-project-filters .qvf-project-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .qvf-project-stage-filters {
        display: flex;
        width: calc(100vw - 14px);
        margin-left: 0;
        padding: 0 14px 4px 0;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        gap: 8px;
        scroll-padding-inline: 14px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .qvf-project-stage-filters::-webkit-scrollbar {
        display: none;
    }

    .qvf-project-stage-filter {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 10px 15px;
        scroll-snap-align: start;
        white-space: nowrap;
    }

    .qvf-project-filter-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        width: 100%;
        padding-top: 0;
    }

    .qvf-project-filter-form label {
        grid-column: 1 / -1;
        margin: 0;
        font-size: 10px;
    }

    .qvf-project-filter-form select {
        width: 100%;
        min-width: 0;
        height: 46px;
        padding-left: 13px;
        font-size: 16px;
    }

    .qvf-project-filter-submit {
        width: auto;
        min-width: 102px;
        height: 46px;
        padding: 0 18px;
        font-size: 13px;
    }

    .qvf-project-filter-reset {
        grid-column: 1 / -1;
        min-height: 38px;
        justify-self: start;
    }

    /* Archive cards use compact editorial rows on mobile */
    .qvf-project-archive-content {
        padding: 40px 0 78px;
    }

    .qvf-project-archive .qvf-project-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .qvf-project-archive .qvf-project-card {
        padding: 22px 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .qvf-project-archive .qvf-project-card:first-child {
        padding-top: 0;
    }

    .qvf-project-card-link {
        display: grid;
        grid-template-columns: minmax(118px, 38%) minmax(0, 1fr);
        gap: 18px;
        align-items: start;
    }

    .qvf-project-card-poster {
        aspect-ratio: 2 / 3;
    }

    .qvf-project-card-stage {
        top: 9px;
        left: 9px;
        min-height: 26px;
        max-width: calc(100% - 18px);
        padding: 5px 8px;
        overflow: hidden;
        font-size: 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .qvf-project-card-access-badge {
        right: 8px;
        bottom: 8px;
        left: 8px;
        min-height: 28px;
        padding: 6px 8px;
        font-size: 8px;
    }

    .qvf-project-card-content {
        padding-top: 2px;
    }

    .qvf-project-card-title {
        font-size: clamp(22px, 6.4vw, 28px);
        line-height: 1.08;
    }

    .qvf-project-card-international-title {
        margin-top: 5px;
        font-size: 13px;
    }

    .qvf-project-card-format {
        margin-top: 11px;
        font-size: 9px;
    }

    .qvf-project-card-logline {
        display: -webkit-box;
        margin-top: 10px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: 13px;
        line-height: 1.55;
    }

    .qvf-project-card-view {
        min-height: 38px;
        margin-top: 12px;
        padding-top: 8px;
        font-size: 10px;
    }

    /* Single public Project */
    .qvf-project-hero {
        padding: 36px 0 46px;
    }

    .qvf-project-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qvf-project-poster {
        width: min(78vw, 320px);
        max-width: none;
        margin: 0 auto;
    }

    .qvf-project-title {
        margin-top: 16px;
        font-size: clamp(38px, 11.8vw, 50px);
        line-height: .98;
    }

    .qvf-project-international-title {
        margin-top: 10px;
        font-size: 17px;
    }

    .qvf-project-hero-logline {
        margin-top: 22px;
        font-size: 19px;
        line-height: 1.5;
    }

    .qvf-project-facts {
        gap: 8px 14px;
        margin-top: 24px;
        font-size: 12px;
    }

    .qvf-project-facts span:not(:last-child)::after {
        display: none;
    }

    .qvf-project-section {
        padding: 50px 0;
    }

    .qvf-project-section-label {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .qvf-project-section-title {
        margin-bottom: 26px;
        font-size: clamp(28px, 8.4vw, 38px);
    }

    .qvf-project-logline {
        margin-bottom: 28px;
        font-size: clamp(25px, 7.6vw, 34px);
        line-height: 1.28;
    }

    .qvf-project-copy {
        font-size: 16px;
        line-height: 1.75;
    }

    .qvf-project-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }

    .qvf-project-info-item span {
        font-size: 10px;
    }

    .qvf-project-info-item strong {
        font-size: 14px;
        line-height: 1.45;
    }

    .qvf-project-vision-grid {
        gap: 34px;
    }

    .qvf-project-panel h2 {
        margin-bottom: 18px;
        font-size: 26px;
    }

    .qvf-project-themes {
        margin-top: 42px;
        padding-top: 22px;
    }

    .qvf-project-seeking {
        gap: 8px;
    }

    .qvf-project-seeking span {
        padding: 10px 14px;
        font-size: 13px;
    }

    .qvf-project-material-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .qvf-project-material-buttons .qvf-project-button,
    .qvf-project-button {
        min-height: 48px;
    }

    /* Video cards and full-screen mobile viewer */
    .qvf-project-video-grid,
    .qvf-project-video-grid-2,
    .qvf-project-video-grid-3,
    .qvf-project-deal-room .qvf-project-video-grid,
    .qvf-project-deal-room .qvf-project-video-grid-2,
    .qvf-project-deal-room .qvf-project-video-grid-3 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .qvf-project-video-card {
        min-width: 0;
    }

    .qvf-video-modal {
        padding: 0;
        background: #000;
    }

    .qvf-video-modal-dialog {
        width: 100vw;
        max-width: none;
        border: 0;
        background: #000;
    }

    .qvf-video-modal-topbar {
        position: absolute;
        z-index: 4;
        top: env(safe-area-inset-top, 0px);
        right: 0;
        left: 0;
        min-height: 52px;
        padding: 8px 12px;
        border-bottom: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.78), transparent);
    }

    .qvf-video-modal-topbar > span {
        max-width: calc(100% - 60px);
        font-size: 11px;
    }

    .qvf-video-modal-close {
        width: 44px;
        height: 44px;
        border-color: rgba(255,255,255,.24);
        border-radius: 50%;
        background: rgba(0,0,0,.44);
    }

    .qvf-video-modal-stage {
        width: 100vw;
        max-height: 100svh;
        aspect-ratio: 16 / 9;
        background: #000;
    }

    .qvf-video-modal-stage iframe,
    .qvf-video-modal-stage video {
        width: 100%;
        height: 100%;
    }

    /* Community support compact mobile stack */
    .qvf-project-community {
        padding: 42px 0 46px;
    }

    .qvf-project-community-head {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qvf-project-community-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-top: 1px solid rgba(20,20,20,.12);
        border-bottom: 1px solid rgba(20,20,20,.12);
    }

    .qvf-project-community-summary > div {
        padding: 16px 12px 16px 0;
    }

    .qvf-project-community-summary strong {
        font-size: clamp(21px, 6.2vw, 28px);
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    .qvf-project-community-progress-wrap {
        margin-top: 24px;
    }

    .qvf-project-payment-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .qvf-project-payment-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 13px;
        padding: 14px;
    }

    .qvf-project-payment-qr img {
        max-width: 92px;
    }

    .qvf-project-payment-row {
        min-width: 0;
    }

    .qvf-project-payment-row strong,
    .qvf-project-payment-row p,
    .qvf-project-payment-row span {
        overflow-wrap: anywhere;
    }

    .qvf-project-copy-button,
    .qvf-project-payment-card .qvf-project-button {
        min-height: 44px;
        width: 100%;
    }

    .qvf-project-payment-card-paypal {
        grid-template-columns: 1fr;
    }

    /* Share becomes a compact 2x2 utility grid */
    .qvf-project-share {
        padding: 24px 0 28px;
    }

    .qvf-project-share-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .qvf-project-share-copy p {
        font-size: 13px;
    }

    .qvf-project-share-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .qvf-project-share-button {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        text-align: center;
    }

    /* Contact footer CTA */
    .qvf-project-contact {
        padding: 38px 0 44px;
    }

    .qvf-project-contact-inner {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
    }

    .qvf-project-contact-icon {
        width: 44px;
        height: 44px;
    }

    .qvf-project-contact h2 {
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1.02;
    }

    .qvf-project-contact p {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.65;
    }

    .qvf-project-contact-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .qvf-project-contact-button {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    /* Investor login / password / NDA */
    .qvf-investor-room,
    .qvf-investor-access {
        padding-top: 34px;
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .qvf-investor-login,
    .qvf-investor-password-setup,
    .qvf-investor-nda {
        max-width: none;
    }

    .qvf-investor-login h1,
    .qvf-investor-password-setup h1,
    .qvf-investor-nda h1 {
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.02;
    }

    .qvf-investor-login > p,
    .qvf-investor-password-setup > p,
    .qvf-investor-nda-copy > p {
        font-size: 15px;
        line-height: 1.7;
    }

    .qvf-investor-login form,
    .qvf-investor-password-setup form,
    .qvf-investor-nda form {
        padding: 18px;
    }

    .qvf-investor-login input[type="text"],
    .qvf-investor-login input[type="password"],
    .qvf-investor-password-setup input[type="password"] {
        min-height: 48px;
        font-size: 16px;
    }

    .qvf-investor-login input[type="submit"],
    .qvf-investor-password-submit input[type="submit"],
    .qvf-investor-nda button {
        min-height: 48px;
        width: 100%;
    }

    .qvf-investor-access-account {
        padding: 14px 15px;
    }

    /* Investor Dashboard */
    .qvf-investor-dashboard-header {
        grid-template-columns: 1fr;
        gap: 22px;
        min-height: 0;
        padding: 46px 20px 22px;
        margin-bottom: 18px;
    }

    .qvf-investor-dashboard-header::after {
        background:
            linear-gradient(180deg, rgba(6,7,10,.55), rgba(8,8,11,.94)),
            linear-gradient(90deg, rgba(6,7,10,.7), rgba(6,7,10,.25));
    }

    .qvf-investor-dashboard-heading h1 {
        font-size: clamp(36px, 10.5vw, 46px);
        line-height: 1;
    }

    .qvf-investor-dashboard-heading p {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.65;
    }

    .qvf-investor-account {
        width: 100%;
        padding: 14px 15px;
    }

    .qvf-investor-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0;
    }

    .qvf-investor-stat {
        min-height: 92px;
        padding: 17px 12px;
    }

    .qvf-investor-stat strong {
        font-size: 28px;
    }

    .qvf-investor-stat strong.qvf-investor-stat-text {
        font-size: 14px;
    }

    .qvf-investor-profile-summary {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
        padding: 20px;
    }

    .qvf-investor-profile-summary h2 {
        font-size: 24px;
    }

    .qvf-investor-profile-summary > a {
        min-height: 46px;
        width: 100%;
    }

    .qvf-investor-messages-section,
    .qvf-investor-commitments-section,
    .qvf-investor-deals-section {
        padding-top: 42px;
    }

    .qvf-investor-section-heading {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }

    .qvf-investor-section-heading h2 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .qvf-investor-section-heading > p {
        font-size: 13px;
        line-height: 1.6;
    }

    .qvf-message-list-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px 0;
    }

    .qvf-message-list-meta {
        justify-content: flex-start;
        white-space: normal;
    }

    /* Deal cards in Investor Dashboard */
    .qvf-deal-card {
        grid-template-columns: 1fr;
    }

    .qvf-deal-poster,
    .qvf-deal-poster img,
    .qvf-deal-poster-placeholder {
        min-height: 0;
    }

    .qvf-deal-poster img,
    .qvf-deal-poster-placeholder {
        aspect-ratio: 16 / 9;
    }

    .qvf-deal-content {
        padding: 20px 17px 18px;
    }

    .qvf-deal-topline {
        display: grid;
        gap: 10px;
    }

    .qvf-deal-status {
        justify-self: start;
    }

    .qvf-deal-content h2 {
        margin-top: 16px;
        font-size: clamp(27px, 8vw, 36px);
    }

    .qvf-deal-summary {
        font-size: 13px;
        line-height: 1.65;
    }

    .qvf-deal-financials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 18px;
    }

    .qvf-deal-financials > div,
    .qvf-deal-financials > div:first-child,
    .qvf-deal-financials > div:nth-child(3) {
        padding: 14px 10px;
    }

    .qvf-deal-financials > div:nth-child(odd) {
        padding-left: 0;
    }

    .qvf-deal-financials span {
        font-size: 8px;
    }

    .qvf-deal-financials strong {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .qvf-deal-footer {
        gap: 16px;
        margin-top: 18px;
    }

    .qvf-deal-open {
        min-height: 48px;
        width: 100%;
    }

    /* Private Deal Room */
    .qvf-deal-room-nav {
        gap: 10px;
        margin-bottom: 12px;
    }

    .qvf-deal-room-back {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
    }

    .qvf-deal-room-user {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .qvf-deal-room-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 34px 18px 22px;
    }

    .qvf-deal-room-hero::after {
        background:
            linear-gradient(180deg, rgba(6,7,10,.58), rgba(8,8,11,.96)),
            linear-gradient(90deg, rgba(6,7,10,.72), rgba(6,7,10,.24));
    }

    .qvf-deal-room-poster {
        width: min(58vw, 210px);
        max-width: none;
        margin: 0;
    }

    .qvf-deal-room-hero h1 {
        font-size: clamp(34px, 10.2vw, 46px);
        line-height: 1;
    }

    .qvf-deal-room-international-title,
    .qvf-deal-room-logline {
        font-size: 14px;
        line-height: 1.6;
    }

    .qvf-deal-room-status-row {
        gap: 8px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .qvf-deal-room-financial {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qvf-deal-room-money {
        min-height: 96px;
        padding: 16px 10px;
    }

    .qvf-deal-room-money strong {
        font-size: 17px;
        overflow-wrap: anywhere;
    }

    .qvf-deal-room-progress-section {
        padding: 20px 0 0;
    }

    .qvf-deal-room-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 32px;
    }

    .qvf-deal-room-section {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .qvf-deal-room-section h2 {
        margin-bottom: 16px;
        font-size: clamp(27px, 7.8vw, 35px);
    }

    .qvf-deal-room-copy {
        font-size: 15px;
        line-height: 1.7;
    }

    .qvf-deal-room-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .qvf-deal-room-facts > div {
        padding: 14px 10px 14px 0;
    }

    .qvf-deal-room-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .qvf-deal-room-sidebar-card {
        padding: 18px;
    }

    .qvf-deal-room-sidebar-card h3 {
        font-size: 21px;
    }

    .qvf-deal-sidebar-document {
        min-height: 58px;
    }

    .qvf-deal-sidebar-actions button,
    .qvf-deal-sidebar-action-detail summary {
        min-height: 46px;
    }

    /* Investor profile */
    .qvf-profile-hero.qvf-profile-hero-with-media {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 34px 0 28px;
    }

    .qvf-profile-hero h1 {
        font-size: clamp(36px, 10.5vw, 46px);
    }

    .qvf-profile-hero > p,
    .qvf-profile-hero-copy > p {
        font-size: 15px;
        line-height: 1.65;
    }

    .qvf-profile-hero-identity {
        width: 100%;
    }

    .qvf-profile-hero-media {
        aspect-ratio: 16 / 9;
    }

    .qvf-profile-hero-media.is-logo img {
        padding: 28px;
    }

    .qvf-profile-form-section {
        padding-bottom: 34px;
        margin-bottom: 34px;
    }

    .qvf-profile-form-section h2 {
        margin-bottom: 18px;
        font-size: clamp(28px, 8vw, 36px);
    }

    .qvf-profile-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .qvf-profile-form-grid input,
    .qvf-profile-form-grid select,
    .qvf-profile-form-grid textarea {
        min-height: 48px;
        font-size: 16px;
    }

    .qvf-profile-media-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .qvf-profile-media-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 13px;
        padding: 13px;
    }

    .qvf-profile-media-preview {
        width: 72px;
        height: 72px;
    }

    .qvf-profile-file-button,
    .qvf-profile-save {
        min-height: 46px;
    }

    .qvf-profile-save {
        width: 100%;
    }

    .qvf-investor-commitment-card {
        padding: 18px;
    }

    .qvf-investor-commitment-meta {
        width: 100%;
        min-width: 0;
        text-align: left;
    }

    /* Live chat: mobile app-like */
    .qvf-investor-conversation .qvf-investor-shell {
        width: min(100% - 20px, 1120px);
    }

    .qvf-investor-conversation .qvf-deal-room-nav {
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .qvf-conversation-hero {
        padding: 24px 0 14px;
    }

    .qvf-conversation-hero h1 {
        font-size: clamp(30px, 9vw, 40px);
    }

    .qvf-conversation-hero p {
        margin-top: 9px;
        font-size: 13px;
        line-height: 1.6;
    }

    .qvf-conversation-presence {
        margin-top: 14px;
    }

    .qvf-conversation-thread-shell {
        max-height: min(56svh, 620px);
        margin-top: 16px;
        padding: 16px 10px;
        overflow-y: auto;
        overscroll-behavior: contain;
        scroll-behavior: smooth;
        border-radius: 18px;
        -webkit-overflow-scrolling: touch;
    }

    .qvf-conversation-thread {
        gap: 12px;
    }

    .qvf-conversation-message,
    .qvf-conversation-message.is-investor {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 8px;
        align-items: end;
    }

    .qvf-conversation-message.is-investor .qvf-conversation-message-avatar {
        order: 2;
    }

    .qvf-conversation-message.is-investor {
        grid-template-columns: minmax(0, 1fr) 32px;
    }

    .qvf-conversation-message-avatar {
        width: 32px;
        height: 32px;
        font-size: 9px;
    }

    .qvf-conversation-message-bubble,
    .qvf-conversation-message.is-investor .qvf-conversation-message-bubble {
        width: min(86%, 620px);
        padding: 11px 13px;
        border-radius: 18px 18px 18px 6px;
    }

    .qvf-conversation-message.is-investor .qvf-conversation-message-bubble {
        margin-left: auto;
        border-radius: 18px 18px 6px 18px;
    }

    .qvf-conversation-message header {
        gap: 9px;
        margin-bottom: 5px;
    }

    .qvf-conversation-message header strong {
        font-size: 11px;
    }

    .qvf-conversation-message header time {
        font-size: 9px;
    }

    .qvf-conversation-message-bubble > div,
    .qvf-conversation-message-text {
        font-size: 14px;
        line-height: 1.55;
    }

    .qvf-conversation-reply {
        position: sticky;
        z-index: 20;
        bottom: max(8px, env(safe-area-inset-bottom, 0px));
        margin-top: 12px;
        padding: 12px;
        border-radius: 20px;
        background: rgba(13,14,18,.96);
        box-shadow: 0 -14px 36px rgba(0,0,0,.35);
        backdrop-filter: blur(16px);
    }

    .qvf-conversation-reply > .qvf-investor-eyebrow,
    .qvf-conversation-reply > h2,
    .qvf-conversation-reply-note {
        display: none;
    }

    .qvf-conversation-composer {
        border-radius: 18px;
    }

    .qvf-conversation-composer-toolbar {
        min-height: 44px;
        padding: 6px 8px;
    }

    .qvf-conversation-composer-tools {
        gap: 5px;
    }

    .qvf-composer-tool {
        min-width: 36px;
        height: 36px;
        padding: 0 9px;
        font-size: 11px;
    }

    .qvf-conversation-send-status {
        max-width: 96px;
        overflow: hidden;
        font-size: 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .qvf-conversation-emoji-panel {
        max-height: 116px;
        overflow-y: auto;
        padding: 8px;
    }

    .qvf-conversation-emoji {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }

    .qvf-conversation-reply textarea[data-qvf-chat-input] {
        min-height: 58px;
        max-height: 132px;
        padding: 12px 13px 13px;
        font-size: 16px;
        line-height: 1.5;
    }

    .qvf-conversation-reply-actions {
        display: block;
        margin-top: 8px;
    }

    .qvf-conversation-reply button[data-qvf-chat-submit] {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        border-radius: 999px;
    }

    /* Supporter cards */
    .qvf-project-supporter-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .qvf-project-supporter-card {
        min-height: 0;
        padding: 18px;
    }
}

@media (max-width: 430px) {
    .qvf-project-container,
    .qvf-project-archive .qvf-project-container,
    .qvf-home-projects .qvf-project-container {
        width: min(100% - 24px, 1180px);
    }

    .qvf-project-card-link {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
    }

    .qvf-project-card-logline {
        -webkit-line-clamp: 2;
    }

    .qvf-project-info-grid,
    .qvf-deal-room-facts {
        grid-template-columns: 1fr;
    }

    .qvf-project-payment-card {
        grid-template-columns: 76px minmax(0, 1fr);
        padding: 12px;
    }

    .qvf-project-payment-qr img {
        max-width: 76px;
    }

    .qvf-project-community-summary strong {
        font-size: 20px;
    }

    .qvf-investor-dashboard-stats,
    .qvf-deal-financials,
    .qvf-deal-room-financial {
        grid-template-columns: 1fr 1fr;
    }

    .qvf-deal-room-poster {
        width: min(64vw, 200px);
    }

    .qvf-profile-media-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .qvf-profile-media-preview {
        width: 64px;
        height: 64px;
    }

    .qvf-conversation-message-bubble,
    .qvf-conversation-message.is-investor .qvf-conversation-message-bubble {
        width: 91%;
    }
}

@media (hover: none) and (pointer: coarse) {
    .qvf-project-card-link:hover .qvf-project-card-image,
    .qvf-home-project-card-link:hover .qvf-home-project-poster > img,
    .qvf-deal-card:hover,
    .qvf-project-button:hover {
        transform: none;
    }

    .qvf-project-button,
    .qvf-deal-open,
    .qvf-profile-save,
    .qvf-project-filter-submit,
    .qvf-project-share-button,
    .qvf-project-contact-button {
        min-height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qvf-project-page *,
    .qvf-project-archive *,
    .qvf-investor-room *,
    .qvf-investor-access *,
    .qvf-home-projects * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==========================================================
   QVFilm Projects v0.18.0
   Cinematic Single Project Polish
   Scope: public single project pages only
   ========================================================== */

.qvf-project-page {
    --qvf-cinema-bg: #0a0a0c;
    --qvf-cinema-surface: #111114;
    --qvf-cinema-surface-2: #17171b;
    --qvf-cinema-line: rgba(255,255,255,.11);
    --qvf-cinema-line-strong: rgba(255,255,255,.19);
    --qvf-cinema-text: #f6f5f2;
    --qvf-cinema-muted: #9e9ea4;
    --qvf-cinema-red: #c72538;
    --qvf-cinema-red-hover: #dc2940;
}

/* Return to the project catalogue. */
.qvf-project-page .qvf-project-backlink {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 30px;
    color: var(--qvf-cinema-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease, transform .2s ease;
}

.qvf-project-page .qvf-project-backlink-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid var(--qvf-cinema-line-strong);
    border-radius: 50%;
    color: var(--qvf-cinema-text);
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    transition: border-color .2s ease, background .2s ease;
}

.qvf-project-page .qvf-project-backlink:hover {
    color: var(--qvf-cinema-text);
    transform: translateX(-2px);
}

.qvf-project-page .qvf-project-backlink:hover .qvf-project-backlink-icon {
    border-color: var(--qvf-cinema-red);
    background: var(--qvf-cinema-red);
}

/* Hero: slightly denser, more like a film dossier cover. */
.qvf-project-page .qvf-project-hero {
    padding: 48px 0 72px;
    background:
        radial-gradient(circle at 78% 25%, rgba(199,37,56,.07), transparent 29%),
        var(--qvf-cinema-bg);
}

.qvf-project-page .qvf-project-hero-grid {
    grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 88px);
    align-items: center;
}

.qvf-project-page .qvf-project-poster-image {
    box-shadow: 0 34px 90px rgba(0,0,0,.52);
}

.qvf-project-page .qvf-project-stage {
    border-color: rgba(199,37,56,.48);
    color: #d9a1aa;
}

.qvf-project-page .qvf-project-title {
    max-width: 760px;
    font-size: clamp(44px, 5vw, 72px);
}

.qvf-project-page .qvf-project-hero-logline {
    max-width: 710px;
    margin-top: 30px;
    color: #e4e3e0;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.48;
}

.qvf-project-page .qvf-project-facts {
    margin-top: 28px;
    gap: 9px 18px;
    font-size: 12px;
    letter-spacing: .035em;
}

.qvf-project-page .qvf-project-facts span:not(:last-child)::after {
    margin-left: 18px;
}

/* Compact production facts. Long location gets its own deliberate row. */
.qvf-project-page .qvf-project-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--qvf-cinema-line);
    border-bottom: 1px solid var(--qvf-cinema-line);
}

.qvf-project-page .qvf-project-info-item {
    min-width: 0;
    padding: 22px 24px 24px 0;
}

.qvf-project-page .qvf-project-info-item:not(.qvf-project-info-location) {
    border-bottom: 1px solid var(--qvf-cinema-line);
}

.qvf-project-page .qvf-project-info-item:not(.qvf-project-info-location):not(:nth-child(4n)) {
    padding-right: 24px;
}

.qvf-project-page .qvf-project-info-item + .qvf-project-info-item:not(.qvf-project-info-location) {
    padding-left: 24px;
    border-left: 1px solid var(--qvf-cinema-line);
}

.qvf-project-page .qvf-project-info-item span {
    margin-bottom: 8px;
    color: #77777e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
}

.qvf-project-page .qvf-project-info-item strong {
    display: block;
    color: var(--qvf-cinema-text);
    font-size: 15px;
    font-weight: 550;
    line-height: 1.45;
}

.qvf-project-page .qvf-project-info-location {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 20px 0;
}

.qvf-project-page .qvf-project-info-location span {
    margin: 2px 0 0;
}

.qvf-project-page .qvf-project-info-location strong {
    max-width: 820px;
    color: #c9c8c6;
    font-weight: 400;
}

/* Story: pull-quote + clean reading column. */
.qvf-project-page .qvf-project-story {
    padding: clamp(78px, 8vw, 118px) 0;
    background: #0d0d10;
}

.qvf-project-page .qvf-project-story-layout {
    display: grid;
    grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr);
    gap: clamp(56px, 8vw, 108px);
    align-items: start;
}

.qvf-project-page .qvf-project-story-intro {
    position: sticky;
    top: 112px;
}

.qvf-project-page .qvf-project-story .qvf-project-section-label {
    margin-bottom: 24px;
}

.qvf-project-page .qvf-project-story .qvf-project-logline {
    position: relative;
    margin: 0;
    padding-top: 25px;
    color: var(--qvf-cinema-text);
    font-size: clamp(29px, 3vw, 43px);
    line-height: 1.28;
    letter-spacing: -.027em;
}

.qvf-project-page .qvf-project-story .qvf-project-logline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 2px;
    background: var(--qvf-cinema-red);
}

.qvf-project-page .qvf-project-story-body {
    max-width: 670px;
    padding-left: clamp(26px, 3vw, 44px);
    border-left: 1px solid var(--qvf-cinema-line);
    color: #c7c7ca;
    font-size: 16.5px;
    line-height: 1.82;
}

.qvf-project-page .qvf-project-story-body p {
    margin: 0 0 1.25em;
}

.qvf-project-page .qvf-project-story-body p:first-child {
    color: #ededeb;
    font-size: 18px;
}

/* Director vision: two controlled editorial modules + themes band. */
.qvf-project-page .qvf-project-vision {
    padding: clamp(76px, 8vw, 108px) 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.018), transparent 35%),
        var(--qvf-cinema-surface-2);
}

.qvf-project-page .qvf-project-vision-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.qvf-project-page .qvf-project-vision-heading .qvf-project-section-label {
    margin: 0;
}

.qvf-project-page .qvf-project-vision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.qvf-project-page .qvf-project-panel {
    min-width: 0;
    padding: clamp(26px, 3vw, 38px);
    border: 1px solid var(--qvf-cinema-line);
    background: rgba(9,9,11,.48);
}

.qvf-project-page .qvf-project-panel-kicker,
.qvf-project-page .qvf-project-themes-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.qvf-project-page .qvf-project-panel-kicker span,
.qvf-project-page .qvf-project-themes-label span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(199,37,56,.52);
    border-radius: 50%;
    color: #d7a0a8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.qvf-project-page .qvf-project-panel-kicker strong,
.qvf-project-page .qvf-project-themes-label strong {
    color: var(--qvf-cinema-text);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.015em;
}

.qvf-project-page .qvf-project-panel .qvf-project-copy {
    color: #bdbdc1;
    font-size: 15.5px;
    line-height: 1.78;
}

.qvf-project-page .qvf-project-panel .qvf-project-copy p {
    margin-top: 0;
    margin-bottom: 1.15em;
}

.qvf-project-page .qvf-project-themes {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    margin-top: 18px;
    padding: 30px clamp(26px, 3vw, 38px);
    border: 1px solid var(--qvf-cinema-line);
    background: #0d0d10;
}

.qvf-project-page .qvf-project-themes-label {
    margin: 0;
}

.qvf-project-page .qvf-project-themes p {
    margin: 2px 0 0;
    color: #d0cfd1;
    font-size: 17px;
    line-height: 1.7;
}

/* Partner chips: restrained, not pill-heavy. */
.qvf-project-page .qvf-project-seeking {
    gap: 9px;
}

.qvf-project-page .qvf-project-seeking span {
    padding: 9px 14px;
    border-color: var(--qvf-cinema-line-strong);
    border-radius: 2px;
    color: #c9c9cc;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .055em;
    text-transform: uppercase;
}

/* Community support: a dark funding dossier rather than a generic donation form. */
.qvf-project-page .qvf-project-community {
    padding: clamp(82px, 8vw, 112px) 0;
    border-top: 1px solid var(--qvf-cinema-line);
    background:
        radial-gradient(circle at 88% 7%, rgba(199,37,56,.12), transparent 24%),
        #0b0b0d;
    color: var(--qvf-cinema-text);
}

.qvf-project-page .qvf-project-community-head {
    display: block;
    max-width: 860px;
}

.qvf-project-page .qvf-project-community .qvf-project-section-label {
    color: #8f8f95;
}

.qvf-project-page .qvf-project-community .qvf-project-section-title {
    max-width: 760px;
    margin: 0;
    color: var(--qvf-cinema-text) !important;
    -webkit-text-fill-color: var(--qvf-cinema-text);
    font-size: clamp(38px, 4.4vw, 60px);
    line-height: 1.02;
}

.qvf-project-page .qvf-project-community-copy {
    max-width: 760px;
    margin-top: 24px;
    color: #b8b8bc;
    font-size: 16px;
    line-height: 1.75;
}

.qvf-project-page .qvf-project-community-copy p {
    margin: 0 0 1em;
}

.qvf-project-page .qvf-project-community-copy p:first-child {
    color: #ededeb;
    font-size: 19px;
    line-height: 1.6;
}

.qvf-project-page .qvf-project-funding-panel {
    display: grid;
    grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr);
    gap: clamp(34px, 5vw, 70px);
    align-items: end;
    margin-top: 44px;
    padding: 28px 0;
    border-top: 1px solid var(--qvf-cinema-line-strong);
    border-bottom: 1px solid var(--qvf-cinema-line-strong);
}

.qvf-project-page .qvf-project-community-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 0;
}

.qvf-project-page .qvf-project-community-summary > div,
.qvf-project-page .qvf-project-community-stat {
    padding: 0 26px 0 0;
    border: 0;
    background: transparent;
}

.qvf-project-page .qvf-project-community-summary > div + div,
.qvf-project-page .qvf-project-community-stat + .qvf-project-community-stat {
    padding-left: 26px;
    border-left: 1px solid var(--qvf-cinema-line-strong);
}

.qvf-project-page .qvf-project-community-summary span,
.qvf-project-page .qvf-project-community-progress-label span {
    display: block;
    margin-bottom: 8px;
    color: #77777e;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.qvf-project-page .qvf-project-community-summary strong {
    display: block;
    color: var(--qvf-cinema-text);
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 620;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.qvf-project-page .qvf-project-community-stat.is-raised strong {
    color: #c9c9cc;
    font-size: clamp(20px, 2vw, 28px);
}

.qvf-project-page .qvf-project-community-progress-wrap {
    margin: 0;
}

.qvf-project-page .qvf-project-community-progress-label {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.qvf-project-page .qvf-project-community-progress-label span {
    margin: 0;
}

.qvf-project-page .qvf-project-community-progress-label strong {
    color: #d8d8da;
    font-size: 14px;
    font-weight: 650;
}

.qvf-project-page .qvf-project-community-progress {
    height: 5px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
}

.qvf-project-page .qvf-project-community-progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--qvf-cinema-red);
}

/* Payment methods. */
.qvf-project-page .qvf-project-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.qvf-project-page .qvf-project-payment-card,
.qvf-project-page .qvf-project-payment-card:not(:has(.qvf-project-payment-qr)):not(.qvf-project-payment-card-paypal) {
    display: block;
    min-width: 0;
    padding: clamp(20px, 2.5vw, 28px);
    border: 1px solid var(--qvf-cinema-line);
    border-radius: 0;
    background: var(--qvf-cinema-surface);
    color: var(--qvf-cinema-text);
    box-shadow: none;
}

.qvf-project-page .qvf-project-payment-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--qvf-cinema-line);
}

.qvf-project-page .qvf-project-payment-card-head > span {
    color: #d59aa3;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.qvf-project-page .qvf-project-payment-card-head h3 {
    margin: 0;
    color: var(--qvf-cinema-text) !important;
    -webkit-text-fill-color: var(--qvf-cinema-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.018em;
}

.qvf-project-page .qvf-project-payment-card-layout {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.qvf-project-page .qvf-project-payment-qr {
    grid-column: auto;
    grid-row: auto;
    align-self: start;
    margin: 0;
    padding: 8px;
    border: 0;
    background: #f5f4f0;
}

.qvf-project-page .qvf-project-payment-qr img {
    display: block;
    width: 100%;
    max-width: 118px;
    height: auto;
}

.qvf-project-page .qvf-project-payment-details {
    min-width: 0;
}

.qvf-project-page .qvf-project-payment-row,
.qvf-project-page .qvf-project-payment-card:not(:has(.qvf-project-payment-qr)):not(.qvf-project-payment-card-paypal) .qvf-project-payment-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.qvf-project-page .qvf-project-payment-row:last-of-type {
    border-bottom: 0;
}

.qvf-project-page .qvf-project-payment-row span {
    color: #77777e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .11em;
    line-height: 1.45;
    text-transform: uppercase;
}

.qvf-project-page .qvf-project-payment-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #d8d8da;
    font-size: 13px;
    font-weight: 520;
    line-height: 1.5;
    text-align: left;
}

.qvf-project-page .qvf-project-payment-row-emphasis strong {
    color: #fff;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: .015em;
}

.qvf-project-page .qvf-project-payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.qvf-project-page .qvf-project-copy-button,
.qvf-project-page .qvf-project-payment-card .qvf-project-button,
.qvf-project-page .qvf-project-payment-card:not(:has(.qvf-project-payment-qr)):not(.qvf-project-payment-card-paypal) .qvf-project-copy-button,
.qvf-project-page .qvf-project-payment-card:not(:has(.qvf-project-payment-qr)):not(.qvf-project-payment-card-paypal) > .qvf-project-button {
    display: inline-flex;
    width: auto;
    min-width: 0;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 2px;
    background: transparent;
    color: #d0d0d3 !important;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.qvf-project-page .qvf-project-copy-button:hover {
    border-color: rgba(255,255,255,.34);
    background: rgba(255,255,255,.055);
    color: #fff !important;
}

.qvf-project-page .qvf-project-payment-card .qvf-project-payment-primary {
    border-color: var(--qvf-cinema-red);
    background: var(--qvf-cinema-red);
    color: #fff !important;
}

.qvf-project-page .qvf-project-payment-card .qvf-project-payment-primary:hover {
    border-color: var(--qvf-cinema-red-hover);
    background: var(--qvf-cinema-red-hover);
}

.qvf-project-page .qvf-project-payment-card-paypal {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr) auto;
    gap: 24px;
    align-items: center;
    padding-top: 22px;
    padding-bottom: 22px;
}

.qvf-project-page .qvf-project-payment-card-paypal .qvf-project-payment-card-head {
    display: block;
    grid-column: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

.qvf-project-page .qvf-project-payment-card-paypal .qvf-project-payment-card-head > span {
    display: block;
    margin-bottom: 6px;
}

.qvf-project-page .qvf-project-payment-card-paypal > p {
    grid-column: auto;
    margin: 0;
    color: #8f8f95;
    font-size: 12.5px;
    line-height: 1.55;
}

.qvf-project-page .qvf-project-payment-card-paypal > .qvf-project-button {
    grid-column: auto;
    grid-row: auto;
    min-width: 158px;
}

.qvf-project-page .qvf-project-community-note {
    margin: 14px 0 0;
    color: #66666d;
    font-size: 10px;
    letter-spacing: .03em;
}

/* Responsive single-project polish. */
@media (max-width: 980px) {
    .qvf-project-page .qvf-project-hero-grid {
        grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
        gap: 44px;
    }

    .qvf-project-page .qvf-project-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qvf-project-page .qvf-project-info-item + .qvf-project-info-item:not(.qvf-project-info-location) {
        border-left: 0;
    }

    .qvf-project-page .qvf-project-info-item:nth-child(even):not(.qvf-project-info-location) {
        padding-left: 22px;
        border-left: 1px solid var(--qvf-cinema-line);
    }

    .qvf-project-page .qvf-project-story-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .qvf-project-page .qvf-project-story-intro {
        position: static;
        max-width: 760px;
    }

    .qvf-project-page .qvf-project-story-body {
        max-width: 760px;
    }

    .qvf-project-page .qvf-project-vision-grid {
        grid-template-columns: 1fr;
    }

    .qvf-project-page .qvf-project-themes {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .qvf-project-page .qvf-project-funding-panel {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .qvf-project-page .qvf-project-payment-grid {
        grid-template-columns: 1fr;
    }

    .qvf-project-page .qvf-project-payment-card-paypal {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    .qvf-project-page .qvf-project-hero {
        padding: 30px 0 54px;
    }

    .qvf-project-page .qvf-project-backlink {
        margin-bottom: 22px;
    }

    .qvf-project-page .qvf-project-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .qvf-project-page .qvf-project-poster {
        width: min(64vw, 290px);
        margin: 0 auto;
    }

    .qvf-project-page .qvf-project-title {
        font-size: clamp(40px, 13vw, 58px);
    }

    .qvf-project-page .qvf-project-hero-logline {
        margin-top: 24px;
        font-size: 19px;
    }

    .qvf-project-page .qvf-project-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .qvf-project-page .qvf-project-info-item {
        padding: 17px 14px 18px 0;
    }

    .qvf-project-page .qvf-project-info-item:nth-child(even):not(.qvf-project-info-location) {
        padding-left: 14px;
    }

    .qvf-project-page .qvf-project-info-item strong {
        font-size: 13px;
    }

    .qvf-project-page .qvf-project-info-location {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px 0;
    }

    .qvf-project-page .qvf-project-story,
    .qvf-project-page .qvf-project-vision,
    .qvf-project-page .qvf-project-community {
        padding-top: 62px;
        padding-bottom: 66px;
    }

    .qvf-project-page .qvf-project-story .qvf-project-logline {
        font-size: clamp(27px, 8.5vw, 38px);
    }

    .qvf-project-page .qvf-project-story-body {
        padding-left: 20px;
        font-size: 15px;
        line-height: 1.76;
    }

    .qvf-project-page .qvf-project-story-body p:first-child {
        font-size: 16px;
    }

    .qvf-project-page .qvf-project-panel {
        padding: 22px 20px;
    }

    .qvf-project-page .qvf-project-panel .qvf-project-copy {
        font-size: 14.5px;
    }

    .qvf-project-page .qvf-project-themes {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 20px;
    }

    .qvf-project-page .qvf-project-themes p {
        font-size: 15.5px;
    }

    .qvf-project-page .qvf-project-community .qvf-project-section-title {
        font-size: clamp(36px, 11vw, 50px);
    }

    .qvf-project-page .qvf-project-community-copy {
        font-size: 14.5px;
    }

    .qvf-project-page .qvf-project-funding-panel {
        margin-top: 32px;
        padding: 22px 0;
    }

    .qvf-project-page .qvf-project-community-summary {
        grid-template-columns: 1fr 1fr;
    }

    .qvf-project-page .qvf-project-community-summary > div,
    .qvf-project-page .qvf-project-community-stat {
        padding-right: 16px;
    }

    .qvf-project-page .qvf-project-community-summary > div + div,
    .qvf-project-page .qvf-project-community-stat + .qvf-project-community-stat {
        padding-left: 16px;
    }

    .qvf-project-page .qvf-project-community-summary strong {
        font-size: 22px;
    }

    .qvf-project-page .qvf-project-community-stat.is-raised strong {
        font-size: 19px;
    }

    .qvf-project-page .qvf-project-payment-card {
        padding: 18px;
    }

    .qvf-project-page .qvf-project-payment-card-layout {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
    }

    .qvf-project-page .qvf-project-payment-qr img {
        max-width: 92px;
    }

    .qvf-project-page .qvf-project-payment-row {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 7px 0;
    }

    .qvf-project-page .qvf-project-payment-actions {
        gap: 6px;
    }

    .qvf-project-page .qvf-project-copy-button,
    .qvf-project-page .qvf-project-payment-card .qvf-project-button {
        min-height: 34px;
        padding: 7px 9px;
        font-size: 9px;
    }

    .qvf-project-page .qvf-project-payment-card-paypal {
        display: block;
    }

    .qvf-project-page .qvf-project-payment-card-paypal > p {
        margin-top: 12px;
    }

    .qvf-project-page .qvf-project-payment-card-paypal > .qvf-project-button {
        margin-top: 16px;
    }
}

@media (max-width: 430px) {
    .qvf-project-page .qvf-project-info-grid {
        grid-template-columns: 1fr;
    }

    .qvf-project-page .qvf-project-info-item:nth-child(even):not(.qvf-project-info-location),
    .qvf-project-page .qvf-project-info-item + .qvf-project-info-item:not(.qvf-project-info-location) {
        padding-left: 0;
        border-left: 0;
    }

    .qvf-project-page .qvf-project-info-location {
        grid-column: 1;
    }

    .qvf-project-page .qvf-project-community-summary {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .qvf-project-page .qvf-project-community-summary > div + div,
    .qvf-project-page .qvf-project-community-stat + .qvf-project-community-stat {
        padding-top: 16px;
        padding-left: 0;
        border-top: 1px solid var(--qvf-cinema-line);
        border-left: 0;
    }

    .qvf-project-page .qvf-project-payment-card-layout {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .qvf-project-page .qvf-project-payment-qr img {
        max-width: 78px;
    }
}

/* ==========================================================
   QVFilm Projects v0.19.0
   Visual Storytelling & Community Polish
   ========================================================== */

.qvf-project-page {
    --qvf-cinema-red: #c72538;
    --qvf-cinema-line: rgba(255, 255, 255, 0.11);
    --qvf-cinema-soft: rgba(255, 255, 255, 0.035);
}

/* Cinematic hero: featured poster becomes the atmosphere, not a second poster. */
.qvf-project-page .qvf-project-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 44px 0 64px;
    background: #09090b;
}

.qvf-project-page .qvf-project-hero-backdrop,
.qvf-project-page .qvf-project-hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.qvf-project-page .qvf-project-hero-backdrop {
    inset: -7%;
    z-index: -3;
    background-position: center 34%;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(16px) saturate(0.72) brightness(0.58);
    opacity: 0.82;
    transform: scale(1.08);
}

.qvf-project-page .qvf-project-hero-vignette {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 7, 9, 0.94) 0%, rgba(7, 7, 9, 0.73) 42%, rgba(7, 7, 9, 0.86) 100%),
        linear-gradient(180deg, rgba(7, 7, 9, 0.38) 0%, rgba(7, 7, 9, 0.9) 100%);
}

.qvf-project-page .qvf-project-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    z-index: -1;
    background: linear-gradient(180deg, rgba(13, 13, 15, 0), #0d0d0f);
    pointer-events: none;
}

.qvf-project-page .qvf-project-hero-shell {
    position: relative;
    z-index: 2;
}

.qvf-project-page .qvf-project-backlink {
    margin-bottom: 30px;
}

.qvf-project-page .qvf-project-hero-grid {
    grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
    gap: clamp(38px, 5vw, 68px);
    align-items: center;
}

.qvf-project-page .qvf-project-poster {
    max-width: 340px;
}

.qvf-project-page .qvf-project-poster-image {
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.58);
}

.qvf-project-page .qvf-project-hero-content {
    padding: clamp(26px, 3.2vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 12, 0.42);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.qvf-project-page .qvf-project-title {
    font-size: clamp(48px, 6.4vw, 86px);
}

.qvf-project-page .qvf-project-hero-logline {
    margin-top: 28px;
    max-width: 760px;
    font-size: clamp(20px, 1.65vw, 27px);
    line-height: 1.5;
}

.qvf-project-page .qvf-project-facts {
    margin-top: 26px;
}

/* Tighter desktop rhythm. Large black gaps no longer do the storytelling. */
.qvf-project-page .qvf-project-section {
    padding: 58px 0;
}

.qvf-project-page .qvf-project-hero + .qvf-project-section {
    padding: 40px 0 44px;
}

.qvf-project-page .qvf-project-section-title {
    margin-bottom: 28px;
}

.qvf-project-page .qvf-project-info-grid {
    row-gap: 0;
}

.qvf-project-page .qvf-project-info-item {
    min-height: 72px;
}

.qvf-project-page .qvf-project-info-location {
    padding-top: 20px;
    padding-bottom: 0;
}

/* Synopsis: logline intentionally lives only in the hero. */
.qvf-project-page .qvf-project-synopsis {
    background: #0d0d0f;
}

.qvf-project-page .qvf-project-synopsis-heading {
    margin-bottom: 24px;
}

.qvf-project-page .qvf-project-synopsis-columns {
    max-width: none;
    column-count: 2;
    column-gap: clamp(38px, 5vw, 68px);
    column-rule: 1px solid var(--qvf-cinema-line);
    column-fill: balance;
    font-size: 17px;
    line-height: 1.78;
}

.qvf-project-page .qvf-project-synopsis-columns p {
    break-inside: avoid;
    margin-top: 0;
    margin-bottom: 1.1em;
}

.qvf-project-page .qvf-project-synopsis-columns p:first-child::first-letter {
    float: left;
    margin: 0.1em 0.12em 0 0;
    color: #fff;
    font-size: 3.2em;
    font-weight: 600;
    line-height: 0.78;
}

/* Visual World / Moodboard */
.qvf-project-page .qvf-project-visual-world {
    background: #09090b;
}

.qvf-project-page .qvf-project-visual-world-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 44px;
    align-items: end;
    margin-bottom: 28px;
}

.qvf-project-page .qvf-project-visual-world-head .qvf-project-section-title {
    margin-bottom: 0;
}

.qvf-project-page .qvf-project-visual-world-intro {
    margin: 0;
    color: #b8b8bc;
    font-size: 16px;
    line-height: 1.7;
}

.qvf-project-page .qvf-project-moodboard {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 0.8fr));
    grid-auto-rows: 180px;
    gap: 10px;
}

.qvf-project-page .qvf-project-moodboard-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    min-width: 0;
    background: #151518;
}

.qvf-project-page .qvf-project-moodboard-item.is-featured {
    grid-row: span 2;
}

.qvf-project-page .qvf-project-moodboard-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.55s ease;
}

.qvf-project-page .qvf-project-moodboard-item:hover img {
    transform: scale(1.025);
    filter: saturate(1.05);
}

.qvf-project-page .qvf-project-moodboard-item figcaption {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 28px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
    color: #fff;
}

.qvf-project-page .qvf-project-moodboard-item figcaption span {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    letter-spacing: 0.15em;
}

.qvf-project-page .qvf-project-moodboard-item figcaption p {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
}

/* Vision follows the imagery with less empty vertical runway. */
.qvf-project-page .qvf-project-vision {
    padding-top: 54px;
    padding-bottom: 54px;
}

.qvf-project-page .qvf-project-vision-grid {
    gap: 28px;
}

.qvf-project-page .qvf-project-vision-card,
.qvf-project-page .qvf-project-panel {
    padding: 26px;
}

.qvf-project-page .qvf-project-themes {
    margin-top: 28px;
    padding-top: 24px;
}

/* Community: story left, funding intelligence right. */
.qvf-project-page .qvf-project-community {
    padding: 64px 0 54px;
    background:
        radial-gradient(circle at 80% 15%, rgba(199, 37, 56, 0.08), transparent 32%),
        #0a0a0c;
}

.qvf-project-page .qvf-project-community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: clamp(44px, 6vw, 86px);
    align-items: start;
}

.qvf-project-page .qvf-project-community-head {
    max-width: 680px;
}

.qvf-project-page .qvf-project-community .qvf-project-section-title {
    max-width: 560px;
    margin-bottom: 22px;
}

.qvf-project-page .qvf-project-community-copy {
    max-width: 650px;
    font-size: 16px;
    line-height: 1.72;
}

.qvf-project-page .qvf-project-funding-panel {
    margin: 0;
    padding: 26px;
    border: 1px solid var(--qvf-cinema-line);
    background: rgba(255, 255, 255, 0.035);
}

.qvf-project-page .qvf-project-funding-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.qvf-project-page .qvf-project-community-stat {
    min-width: 0;
}

.qvf-project-page .qvf-project-community-stat span,
.qvf-project-page .qvf-project-community-progress-label span {
    display: block;
    color: #85858b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.qvf-project-page .qvf-project-community-stat strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: clamp(20px, 2vw, 31px);
    line-height: 1;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.qvf-project-page .qvf-project-community-stat.is-raised {
    padding-left: 24px;
    border-left: 1px solid var(--qvf-cinema-line);
    text-align: right;
}

.qvf-project-page .qvf-project-community-stat.is-raised strong {
    color: #f5f5f3;
    font-size: clamp(18px, 1.55vw, 26px);
}

.qvf-project-page .qvf-project-community-progress-wrap {
    margin-top: 26px;
}

.qvf-project-page .qvf-project-community-progress-label {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.qvf-project-page .qvf-project-community-progress-label strong {
    color: #fff;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.qvf-project-page .qvf-project-community-progress {
    height: 8px;
    margin-top: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.qvf-project-page .qvf-project-community-progress > span {
    display: block;
    height: 100%;
    background: var(--qvf-cinema-red);
}

.qvf-project-page .qvf-project-community-visual {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    margin-top: 34px;
    border: 1px solid var(--qvf-cinema-line);
    background: #151518;
}

.qvf-project-page .qvf-project-community-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.82) contrast(1.02);
}

.qvf-project-page .qvf-project-community-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 4, 6, 0.78), rgba(4, 4, 6, 0.28) 58%, rgba(4, 4, 6, 0.56));
}

.qvf-project-page .qvf-project-community-visual-copy {
    position: absolute;
    left: clamp(22px, 4vw, 50px);
    bottom: clamp(22px, 4vw, 44px);
    z-index: 2;
    max-width: 660px;
}

.qvf-project-page .qvf-project-community-visual-copy span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.qvf-project-page .qvf-project-community-visual-copy strong {
    display: block;
    color: #fff;
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

/* Contribution methods: quiet utility beneath a cinematic image. */
.qvf-project-page .qvf-project-payment-grid {
    margin-top: 16px;
    gap: 12px;
}

.qvf-project-page .qvf-project-payment-card {
    padding: 22px;
    background: rgba(20, 20, 23, 0.84);
    border-color: var(--qvf-cinema-line);
}

.qvf-project-page .qvf-project-payment-card-head {
    margin-bottom: 16px;
}

.qvf-project-page .qvf-project-payment-card-head h3 {
    font-size: 20px;
}

.qvf-project-page .qvf-project-payment-card-layout {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
}

.qvf-project-page .qvf-project-payment-qr img {
    max-width: 118px;
}

.qvf-project-page .qvf-project-payment-row {
    padding: 7px 0;
}

.qvf-project-page .qvf-project-payment-actions {
    margin-top: 12px;
}

.qvf-project-page .qvf-project-copy-button,
.qvf-project-page .qvf-project-payment-card .qvf-project-button {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.qvf-project-page .qvf-project-payment-card-paypal {
    min-height: 0;
    padding: 18px 22px;
}

.qvf-project-page .qvf-project-community-note {
    margin-top: 14px;
}

/* Sharing becomes a compact icon rail. */
.qvf-project-page .qvf-project-share {
    padding: 22px 0;
}

.qvf-project-page .qvf-project-share-inner {
    gap: 26px;
}

.qvf-project-page .qvf-project-share-copy p {
    margin: 2px 0 0;
}

.qvf-project-page .qvf-project-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qvf-project-page .qvf-project-share-button {
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.qvf-project-page .qvf-project-share-button:hover {
    transform: translateY(-2px);
    border-color: var(--qvf-cinema-red);
    background: var(--qvf-cinema-red);
    color: #fff;
}

.qvf-project-page .qvf-project-share-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.7;
}

.qvf-project-page .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Contact closes the dossier without a white interruption. */
.qvf-project-page .qvf-project-contact {
    padding: 56px 0;
    background: rgba(112, 112, 118, 0.24);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qvf-project-page .qvf-project-contact .qvf-project-section-label {
    color: rgba(255, 255, 255, 0.55);
}

.qvf-project-page .qvf-project-contact h2 {
    color: #fff;
    font-size: clamp(34px, 4.5vw, 58px);
}

.qvf-project-page .qvf-project-contact p,
.qvf-project-page .qvf-project-contact-name {
    color: rgba(255, 255, 255, 0.75);
}

.qvf-project-page .qvf-project-contact .qvf-project-button,
.qvf-project-page .qvf-project-contact-button {
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff !important;
}

.qvf-project-page .qvf-project-contact .qvf-project-button:hover,
.qvf-project-page .qvf-project-contact-button:hover {
    border-color: #fff;
    background: #fff;
    color: #0d0d0f !important;
}

@media (max-width: 1050px) {
    .qvf-project-page .qvf-project-hero-grid {
        grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
        gap: 34px;
    }

    .qvf-project-page .qvf-project-community-layout {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.9fr);
        gap: 36px;
    }

    .qvf-project-page .qvf-project-funding-grid {
        grid-template-columns: 1fr;
    }

    .qvf-project-page .qvf-project-community-stat.is-raised {
        padding: 18px 0 0;
        border-top: 1px solid var(--qvf-cinema-line);
        border-left: 0;
        text-align: left;
    }
}

@media (max-width: 820px) {
    .qvf-project-page .qvf-project-hero {
        padding: 34px 0 48px;
    }

    .qvf-project-page .qvf-project-hero-grid {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 26px;
    }

    .qvf-project-page .qvf-project-hero-content {
        padding: 22px;
    }

    .qvf-project-page .qvf-project-section {
        padding: 48px 0;
    }

    .qvf-project-page .qvf-project-synopsis-columns {
        column-gap: 34px;
    }

    .qvf-project-page .qvf-project-visual-world-head,
    .qvf-project-page .qvf-project-community-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .qvf-project-page .qvf-project-moodboard {
        grid-template-columns: 1.2fr 1fr;
        grid-auto-rows: 170px;
    }

    .qvf-project-page .qvf-project-moodboard-item.is-featured {
        grid-row: span 2;
    }

    .qvf-project-page .qvf-project-funding-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.8fr);
    }

    .qvf-project-page .qvf-project-community-stat.is-raised {
        padding: 0 0 0 20px;
        border-top: 0;
        border-left: 1px solid var(--qvf-cinema-line);
        text-align: right;
    }
}

@media (max-width: 680px) {
    .qvf-project-page .qvf-project-hero-backdrop {
        filter: blur(12px) saturate(0.72) brightness(0.5);
    }

    .qvf-project-page .qvf-project-hero-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .qvf-project-page .qvf-project-poster {
        width: min(58vw, 250px);
        max-width: none;
    }

    .qvf-project-page .qvf-project-hero-content {
        padding: 20px;
        background: rgba(10, 10, 12, 0.5);
    }

    .qvf-project-page .qvf-project-title {
        font-size: clamp(42px, 14vw, 68px);
    }

    .qvf-project-page .qvf-project-hero-logline {
        margin-top: 22px;
        font-size: 19px;
    }

    .qvf-project-page .qvf-project-section,
    .qvf-project-page .qvf-project-hero + .qvf-project-section {
        padding: 40px 0;
    }

    .qvf-project-page .qvf-project-synopsis-columns {
        column-count: 1;
        font-size: 16px;
    }

    .qvf-project-page .qvf-project-synopsis-columns p:first-child::first-letter {
        float: none;
        margin: 0;
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
    }

    .qvf-project-page .qvf-project-moodboard {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .qvf-project-page .qvf-project-moodboard-item.is-featured {
        grid-column: 1 / -1;
        grid-row: span 2;
    }

    .qvf-project-page .qvf-project-community {
        padding: 46px 0 40px;
    }

    .qvf-project-page .qvf-project-funding-grid {
        grid-template-columns: 1fr;
    }

    .qvf-project-page .qvf-project-community-stat.is-raised {
        padding: 18px 0 0;
        border-top: 1px solid var(--qvf-cinema-line);
        border-left: 0;
        text-align: left;
    }

    .qvf-project-page .qvf-project-community-visual {
        min-height: 230px;
    }

    .qvf-project-page .qvf-project-community-visual-copy strong {
        font-size: 25px;
    }

    .qvf-project-page .qvf-project-payment-grid {
        grid-template-columns: 1fr;
    }

    .qvf-project-page .qvf-project-payment-card-paypal {
        grid-column: auto;
    }

    .qvf-project-page .qvf-project-share-inner {
        align-items: flex-start;
    }

    .qvf-project-page .qvf-project-contact {
        padding: 44px 0;
    }
}

@media (max-width: 430px) {
    .qvf-project-page .qvf-project-moodboard {
        grid-template-columns: 1fr;
        grid-auto-rows: 210px;
    }

    .qvf-project-page .qvf-project-moodboard-item.is-featured {
        grid-column: auto;
        grid-row: span 1;
    }

    .qvf-project-page .qvf-project-payment-card-layout {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .qvf-project-page .qvf-project-payment-qr img {
        max-width: 88px;
    }
}
.qvf-project-page .qvf-project-share-button.is-copied {
    border-color: var(--qvf-cinema-red);
    background: var(--qvf-cinema-red);
}


/* ==========================================================
   QVFilm Projects v0.19.1
   Header Integration Fix
   The v0.19.0 backdrop used negative z-index inside an isolated
   stacking context, which could place it behind the hero's own
   background. Keep all visual layers in the positive stack.
   ========================================================== */

.qvf-project-page .qvf-project-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #09090b;
}

.qvf-project-page .qvf-project-hero-backdrop {
    z-index: 0 !important;
    opacity: 0.84;
}

.qvf-project-page .qvf-project-hero-vignette {
    z-index: 1 !important;
}

.qvf-project-page .qvf-project-hero::after {
    z-index: 2 !important;
}

.qvf-project-page .qvf-project-hero-shell {
    position: relative;
    z-index: 3 !important;
}

.qvf-project-page .qvf-project-hero-content {
    background: rgba(8, 8, 10, 0.34);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}


/* ==========================================================
   QVFilm Project Hub / Curation v0.20.0
   ========================================================== */

.qvf-project-hub {
    background: #0b0b0d;
    color: #f4f2ee;
}

.qvf-project-hub .qvf-project-container {
    width: min(1240px, calc(100% - 56px));
}

.qvf-hub-hero {
    --qvf-hub-hero-image: none;
    position: relative;
    isolation: isolate;
    min-height: clamp(620px, 76vh, 880px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #08080a;
    border-bottom: 1px solid rgba(255,255,255,.11);
}

.qvf-hub-hero-backdrop {
    position: absolute;
    inset: -7%;
    z-index: 0;
    background-image: var(--qvf-hub-hero-image);
    background-size: cover;
    background-position: center 36%;
    filter: blur(16px) saturate(.72) brightness(.54);
    transform: scale(1.08);
    opacity: .94;
}

.qvf-hub-hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(7,7,9,.92) 0%, rgba(7,7,9,.58) 45%, rgba(7,7,9,.78) 100%),
        linear-gradient(180deg, rgba(7,7,9,.18) 0%, rgba(7,7,9,.32) 46%, rgba(7,7,9,.94) 100%);
    pointer-events: none;
}

.qvf-hub-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .72fr);
    gap: clamp(42px, 8vw, 120px);
    align-items: end;
    padding-top: 150px;
    padding-bottom: clamp(70px, 9vw, 112px);
}

.qvf-hub-hero-intro h1,
.qvf-project-hub .qvf-hub-hero-intro h1 {
    max-width: 820px;
    margin: 18px 0 24px;
    color: #fff;
    font-size: clamp(58px, 7.6vw, 118px);
    line-height: .91;
    letter-spacing: -.055em;
    font-weight: 650;
}

.qvf-hub-hero-intro > p {
    max-width: 690px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.76);
    font-size: clamp(17px, 1.55vw, 22px);
    line-height: 1.55;
}

.qvf-hub-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.qvf-hub-text-link span {
    font-size: 16px;
}

.qvf-hub-spotlight {
    padding: clamp(28px, 3.4vw, 44px);
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(8,8,10,.36);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 28px 80px rgba(0,0,0,.24);
}

.qvf-hub-spotlight-kicker,
.qvf-hub-card-origin {
    color: rgba(255,255,255,.52);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.qvf-hub-spotlight h2,
.qvf-project-hub .qvf-hub-spotlight h2 {
    margin: 24px 0 15px;
    color: #fff;
    font-size: clamp(34px, 4.2vw, 62px);
    line-height: .98;
    letter-spacing: -.045em;
}

.qvf-hub-spotlight > p {
    margin: 0;
    color: rgba(255,255,255,.73);
    font-size: 16px;
    line-height: 1.65;
}

.qvf-hub-spotlight-badges,
.qvf-hub-card-badges,
.qvf-project-hub-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.qvf-hub-spotlight-badges { margin-top: 13px; }
.qvf-project-hub-badges { margin: 0 0 20px; }

.qvf-hub-spotlight-badges span,
.qvf-project-hub-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.78);
    font-size: 10px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.qvf-hub-spotlight-badges .is-funding,
.qvf-project-hub-badges .is-funding,
.qvf-hub-card-badges .is-funding {
    border-color: rgba(199,37,56,.55);
    background: rgba(199,37,56,.20);
    color: #fff;
}

.qvf-hub-spotlight-badges .is-pitch,
.qvf-project-hub-badges .is-pitch,
.qvf-hub-card-badges .is-pitch {
    background: rgba(0,0,0,.48);
    color: #fff;
}

.qvf-hub-spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.qvf-hub-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    background: #f2f0eb;
    border: 1px solid #f2f0eb;
    color: #111 !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.qvf-hub-button.is-ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,.34);
}

.qvf-hub-featured-funding,
.qvf-hub-journal {
    padding: clamp(72px, 8vw, 110px) 0;
    background: #111114;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.qvf-hub-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .55fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 42px;
}

.qvf-hub-section-heading h2,
.qvf-project-hub .qvf-hub-section-heading h2,
.qvf-hub-catalog-heading h2,
.qvf-project-hub .qvf-hub-catalog-heading h2 {
    margin: 14px 0 0;
    color: #fff;
    font-size: clamp(40px, 5.4vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
}

.qvf-hub-section-heading > p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 15px;
    line-height: 1.7;
}

.qvf-hub-funding-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.qvf-hub-funding-card {
    min-width: 0;
    border: 1px solid rgba(255,255,255,.10);
    background: #0d0d10;
}

.qvf-hub-funding-visual {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #18181c;
}

.qvf-hub-funding-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease, filter .5s ease;
}

.qvf-hub-funding-card:hover .qvf-hub-funding-visual img {
    transform: scale(1.025);
    filter: brightness(.88);
}

.qvf-hub-funding-mode {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 7px 10px;
    background: rgba(8,8,10,.78);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.qvf-hub-funding-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,.38);
    letter-spacing: .14em;
    text-transform: uppercase;
}

.qvf-hub-funding-body {
    padding: 24px 24px 26px;
}

.qvf-hub-funding-body h3,
.qvf-project-hub .qvf-hub-funding-body h3 {
    margin: 10px 0 10px;
    color: #fff;
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.qvf-hub-funding-body h3 a { color: inherit !important; text-decoration: none !important; }
.qvf-hub-funding-body > p { margin: 0 0 22px; color: rgba(255,255,255,.58); line-height: 1.6; }

.qvf-hub-funding-progress { margin: 0 0 22px; }
.qvf-hub-funding-progress > div:first-child { display:flex; justify-content:space-between; gap:14px; margin-bottom:8px; color:rgba(255,255,255,.54); font-size:10px; letter-spacing:.10em; text-transform:uppercase; }
.qvf-hub-funding-progress strong { color:#fff; font-size:12px; }
.qvf-hub-funding-track { height:4px; background:rgba(255,255,255,.10); overflow:hidden; }
.qvf-hub-funding-track span { display:block; height:100%; background:#c72538; }

.qvf-hub-filter-shell { display:flex; justify-content:space-between; gap:28px; align-items:flex-start; }

.qvf-project-hub .qvf-project-filters {
    padding: 28px 0;
    background: #0c0c0f;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.qvf-hub-catalog-heading { margin-bottom: 40px; }
.qvf-project-hub .qvf-project-archive-content { padding: clamp(70px, 8vw, 110px) 0; background:#0b0b0d; }
.qvf-project-hub .qvf-project-grid { gap: 48px 22px; }
.qvf-project-hub .qvf-hub-project-card { background: transparent; }

.qvf-hub-card-badges {
    position: absolute;
    z-index: 4;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: flex-end;
}

.qvf-hub-card-badges span {
    display:inline-flex;
    padding:6px 8px;
    border:1px solid rgba(255,255,255,.16);
    background:rgba(7,7,9,.74);
    color:#fff;
    font-size:9px;
    line-height:1;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

.qvf-project-hub .qvf-hub-card-origin { margin-bottom: 10px; }

.qvf-hub-journal { background:#17171b; }
.qvf-hub-journal-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.qvf-hub-journal-card { min-width:0; }
.qvf-hub-journal-image { display:block; overflow:hidden; aspect-ratio:4/3; background:#0f0f12; }
.qvf-hub-journal-image img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease, filter .45s ease; }
.qvf-hub-journal-card:hover .qvf-hub-journal-image img { transform:scale(1.025); filter:brightness(.86); }
.qvf-hub-journal-image > span { display:grid; place-items:center; width:100%; height:100%; color:rgba(255,255,255,.28); font-size:42px; letter-spacing:-.06em; }
.qvf-hub-journal-meta { display:flex; justify-content:space-between; gap:14px; margin-top:16px; color:rgba(255,255,255,.42); font-size:9px; letter-spacing:.10em; text-transform:uppercase; }
.qvf-hub-journal-card h3,
.qvf-project-hub .qvf-hub-journal-card h3 { margin:12px 0 18px; color:#fff; font-size:22px; line-height:1.16; letter-spacing:-.02em; }
.qvf-hub-journal-card h3 a { color:inherit !important; text-decoration:none !important; }

/* Single Project: curation badges + dedicated Video Pitch */
.qvf-project-page .qvf-project-hub-badges span { border-radius:0; }
.qvf-project-video-pitch { background:#111114; }
.qvf-project-video-pitch-grid { display:grid; grid-template-columns:minmax(260px,.52fr) minmax(0,1fr); gap:clamp(42px,7vw,90px); align-items:center; }
.qvf-project-video-pitch-copy > p { max-width:460px; margin:22px 0 0; color:var(--qvf-muted); font-size:16px; line-height:1.65; }
.qvf-project-video-pitch-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.qvf-project-video-pitch-meta span { padding:7px 9px; border:1px solid var(--qvf-border); color:var(--qvf-muted); font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.qvf-project-video-pitch-player .qvf-project-video-frame { margin:0; }
.qvf-project-video-pitch-gate { display:grid; place-items:center; min-height:360px; padding:44px; border:1px solid var(--qvf-border); background:#0c0c0f; text-align:center; }
.qvf-project-video-pitch-gate > span { font-size:34px; color:var(--qvf-muted); }
.qvf-project-video-pitch-gate strong { margin-top:10px; color:var(--qvf-text); font-size:24px; }
.qvf-project-video-pitch-gate p { max-width:520px; margin:12px 0 22px; color:var(--qvf-muted); line-height:1.6; }

@media (max-width: 1024px) {
    .qvf-hub-hero-inner { grid-template-columns: 1fr; gap:34px; }
    .qvf-hub-spotlight { max-width:620px; }
    .qvf-hub-section-heading { grid-template-columns:1fr; gap:18px; }
    .qvf-hub-funding-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .qvf-hub-journal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 18px; }
    .qvf-hub-filter-shell { flex-direction:column; }
    .qvf-project-video-pitch-grid { grid-template-columns:1fr; gap:32px; }
}

@media (max-width: 700px) {
    .qvf-project-hub .qvf-project-container { width:min(100% - 28px,1240px); }
    .qvf-hub-hero { min-height:720px; }
    .qvf-hub-hero-inner { padding-top:120px; padding-bottom:54px; }
    .qvf-hub-hero-intro h1,
    .qvf-project-hub .qvf-hub-hero-intro h1 { font-size:clamp(48px,15vw,74px); }
    .qvf-hub-spotlight { padding:24px 20px; }
    .qvf-hub-spotlight h2,
    .qvf-project-hub .qvf-hub-spotlight h2 { font-size:38px; }
    .qvf-hub-featured-funding,
    .qvf-hub-journal { padding:62px 0; }
    .qvf-hub-funding-grid,
    .qvf-hub-journal-grid { grid-template-columns:1fr; }
    .qvf-hub-section-heading h2,
    .qvf-project-hub .qvf-hub-section-heading h2,
    .qvf-hub-catalog-heading h2,
    .qvf-project-hub .qvf-hub-catalog-heading h2 { font-size:42px; }
    .qvf-project-hub .qvf-project-archive-content { padding:62px 0 78px; }
    .qvf-project-video-pitch-gate { min-height:300px; padding:32px 20px; }
}

/* ==========================================================
   QVFilm Projects v0.21.0
   Student Room & Community Unlock + Project Hub polish
   ========================================================== */

/* Project Hub typography: cinematic, not billboard-sized. */
.qvf-project-hub .qvf-hub-hero-intro h1 {
    max-width: 780px;
    font-size: clamp(48px, 5.2vw, 76px) !important;
    line-height: .96 !important;
    letter-spacing: -.045em !important;
}

.qvf-project-hub .qvf-hub-spotlight h2 {
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1 !important;
}

.qvf-project-hub .qvf-hub-section-heading h2,
.qvf-project-hub .qvf-hub-catalog-heading h2 {
    max-width: 800px;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
}

.qvf-project-hub .qvf-hub-journal-card h3 {
    font-size: clamp(18px, 1.55vw, 22px) !important;
}

.qvf-project-hub .qvf-hub-featured-funding,
.qvf-project-hub .qvf-hub-journal {
    padding-top: clamp(58px, 6.5vw, 82px);
    padding-bottom: clamp(58px, 6.5vw, 82px);
}

.qvf-project-hub .qvf-project-archive-content {
    padding-top: clamp(58px, 6vw, 82px);
    padding-bottom: clamp(70px, 7vw, 96px);
}

/* Video cards: fill the visual frame instead of showing empty black bands. */
.qvf-project-page .qvf-project-video-frame,
.qvf-project-page .qvf-project-video-lazy {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    background: #08080a;
}

.qvf-project-page .qvf-project-video-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.qvf-project-page .qvf-project-video-play > img,
.qvf-project-page .qvf-project-video-poster-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* youtube hq thumbnails are often 4:3 letterboxed; crop the utility bands. */
.qvf-project-page [data-qvf-video-provider="youtube"] .qvf-project-video-play > img {
    transform: scale(1.34);
}

.qvf-project-page [data-qvf-video-provider="youtube"] .qvf-project-video-play:hover > img {
    transform: scale(1.39);
}

/* Video modal: title is visible and stage owns the whole frame. */
.qvf-video-modal-dialog {
    width: min(1180px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    border: 1px solid rgba(255,255,255,.14);
    background: #08080a;
    box-shadow: 0 32px 100px rgba(0,0,0,.62);
}

.qvf-video-modal-topbar {
    min-height: 72px;
    padding: 14px 18px 14px 22px;
    background: rgba(12,12,15,.97);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.qvf-video-modal-title {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.qvf-video-modal-title small {
    color: rgba(255,255,255,.42);
    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.qvf-video-modal-title strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: clamp(15px, 1.5vw, 20px);
    line-height: 1.25;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qvf-video-modal-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: calc(100vh - 150px);
    background: #000;
}

.qvf-video-modal-stage iframe,
.qvf-video-modal-stage video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0;
    object-fit: contain;
}

/* Moodboard click-to-view gallery. */
.qvf-project-page .qvf-project-moodboard-open {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 1;
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;
}

.qvf-project-page .qvf-project-moodboard-open img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qvf-project-page .qvf-project-moodboard-item figcaption {
    z-index: 2;
    pointer-events: none;
}

.qvf-project-page .qvf-project-moodboard-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(7,7,9,.58);
    color: #fff;
    font-size: 13px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .22s ease, transform .22s ease, background .22s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.qvf-project-page .qvf-project-moodboard-item:hover .qvf-project-moodboard-zoom,
.qvf-project-page .qvf-project-moodboard-open:focus-visible .qvf-project-moodboard-zoom {
    opacity: 1;
    transform: translateY(0);
}

html.qvf-lightbox-open,
body.qvf-lightbox-open {
    overflow: hidden !important;
}

.qvf-moodboard-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3,3,5,.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.qvf-moodboard-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.qvf-moodboard-modal-dialog {
    width: min(1320px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    border: 1px solid rgba(255,255,255,.12);
    background: #0a0a0c;
    box-shadow: 0 35px 110px rgba(0,0,0,.68);
}

.qvf-moodboard-modal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    padding: 13px 16px 13px 22px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.qvf-moodboard-modal-caption {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qvf-moodboard-modal-caption small {
    color: rgba(255,255,255,.42);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
}

.qvf-moodboard-modal-caption strong {
    overflow: hidden;
    color: #fff;
    font-size: clamp(15px, 1.4vw, 19px);
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qvf-moodboard-modal-close,
.qvf-moodboard-modal-nav {
    appearance: none;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(12,12,15,.76);
    color: #fff;
    cursor: pointer;
}

.qvf-moodboard-modal-close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 25px;
}

.qvf-moodboard-modal-stage {
    position: relative;
    display: grid;
    place-items: center;
    height: min(72vh, 820px);
    min-height: 360px;
    overflow: hidden;
    background: #050506;
}

.qvf-moodboard-modal-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qvf-moodboard-modal-stage.is-loading::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(255,255,255,.2);
    border-top-color: #fff;
    border-radius: 999px;
    animation: qvfMoodSpin .7s linear infinite;
}

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

.qvf-moodboard-modal-nav {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    transform: translateY(-50%);
    font-size: 20px;
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.qvf-moodboard-modal-nav.is-prev { left: 18px; }
.qvf-moodboard-modal-nav.is-next { right: 18px; }
.qvf-moodboard-modal-nav:hover,
.qvf-moodboard-modal-close:hover { background: #c72538; border-color: #c72538; }

.qvf-moodboard-modal-counter {
    padding: 11px 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-align: right;
}

/* Community story + funding now reads as one authored block. */
.qvf-project-page .qvf-project-community-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: stretch;
}

.qvf-project-page .qvf-project-community-storycard {
    min-width: 0;
    padding: clamp(26px, 3.4vw, 44px);
    border: 1px solid rgba(255,255,255,.11);
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}

.qvf-project-page .qvf-project-community-storycard .qvf-project-community-head {
    max-width: none;
}

.qvf-project-page .qvf-project-community-storycard .qvf-project-community-copy {
    max-width: 760px;
}

.qvf-project-page .qvf-project-community-inline-funding {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.qvf-project-page .qvf-project-community-money-row {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(160px, .7fr);
    gap: 24px;
    align-items: end;
}

.qvf-project-page .qvf-project-community-money-row .qvf-project-community-stat.is-raised {
    padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,.11);
    text-align: right;
}

.qvf-project-page .qvf-project-community-money-row .qvf-project-community-stat strong {
    font-size: clamp(21px, 2.2vw, 32px);
    white-space: nowrap;
}

.qvf-project-page .qvf-project-community-visual {
    min-height: 100%;
    margin-top: 0;
}

.qvf-project-page .qvf-project-community-progress-wrap {
    margin-top: 22px;
}

/* ----------------------------------------------------------
   Student Room
   ---------------------------------------------------------- */
body.qvf-student-room-page,
body.qvf-student-room-page .haru-page,
body.qvf-student-room-page .site-content {
    background: #09090b !important;
}

.qvf-student-room {
    --qvf-student-bg: #09090b;
    --qvf-student-surface: #111114;
    --qvf-student-surface-2: #17171b;
    --qvf-student-line: rgba(255,255,255,.11);
    --qvf-student-text: #f5f5f3;
    --qvf-student-muted: #9a9aa1;
    --qvf-student-dim: #6f6f76;
    --qvf-student-red: #c72538;
    min-height: 70vh;
    background: var(--qvf-student-bg);
    color: var(--qvf-student-text);
    font-family: inherit;
}

.qvf-student-room *,
.qvf-student-room *::before,
.qvf-student-room *::after { box-sizing: border-box; }

.qvf-student-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.qvf-student-hero,
.qvf-student-join-stage {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--qvf-student-line);
    background:
        radial-gradient(circle at 82% 18%, rgba(199,37,56,.15), transparent 30%),
        #0b0b0e;
}

.qvf-student-hero::after,
.qvf-student-join-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(7,7,9,.96), rgba(7,7,9,.65) 55%, rgba(7,7,9,.88));
}

.qvf-student-hero-backdrop,
.qvf-student-join-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .22;
    background:
        linear-gradient(115deg, transparent 0 47%, rgba(255,255,255,.08) 47% 48%, transparent 48%),
        radial-gradient(circle at 70% 40%, rgba(255,255,255,.09), transparent 31%);
}

.qvf-student-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: clamp(46px, 8vw, 110px);
    align-items: end;
    min-height: 560px;
    padding-top: 110px;
    padding-bottom: 70px;
}

.qvf-student-kicker {
    color: rgba(255,255,255,.48);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.qvf-student-hero h1,
.qvf-student-join-copy h1 {
    max-width: 760px;
    margin: 17px 0 25px;
    color: #fff !important;
    font-size: clamp(46px, 5.7vw, 78px) !important;
    line-height: .96 !important;
    font-weight: 700;
    letter-spacing: -.05em !important;
}

.qvf-student-hero p,
.qvf-student-join-copy > p {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 17px;
    line-height: 1.75;
}

.qvf-student-hero-note {
    padding: 25px;
    border: 1px solid var(--qvf-student-line);
    background: rgba(10,10,13,.56);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.qvf-student-hero-note > span {
    color: var(--qvf-student-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.qvf-student-hero-note strong {
    display: block;
    margin-top: 11px;
    color: #fff;
    font-size: 23px;
    line-height: 1.2;
}

.qvf-student-hero-note p {
    margin-top: 14px;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 1.7;
}

.qvf-student-main { padding: 46px 0 96px; }

.qvf-student-notice {
    margin-bottom: 26px;
    padding: 15px 18px;
    border: 1px solid rgba(111,200,143,.34);
    background: rgba(111,200,143,.08);
    color: #d9f4e2;
    font-size: 14px;
    line-height: 1.6;
}

.qvf-student-notice.is-warning {
    border-color: rgba(226,189,115,.4);
    background: rgba(226,189,115,.08);
    color: #f4dfb6;
}

.qvf-student-notice small { display:block; margin-top:4px; opacity:.7; }

.qvf-student-card,
.qvf-student-progress-card,
.qvf-student-projects-section {
    border: 1px solid var(--qvf-student-line);
    background: var(--qvf-student-surface);
}

.qvf-student-card { padding: clamp(24px, 3vw, 36px); }

.qvf-student-card h2,
.qvf-student-progress-card h2,
.qvf-student-projects-section h2,
.qvf-student-project-form h3,
.qvf-student-locked-panel h3,
.qvf-student-dashboard-head h2,
.qvf-student-join-card h2 {
    color: #fff !important;
}

.qvf-student-card h2,
.qvf-student-progress-card h2,
.qvf-student-projects-section h2 {
    margin: 10px 0 0;
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.035em !important;
}

.qvf-student-card > p,
.qvf-student-progress-card p,
.qvf-student-projects-section p,
.qvf-student-help {
    color: var(--qvf-student-muted);
    line-height: 1.7;
}

.qvf-student-login-grid,
.qvf-student-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.qvf-student-login-form form p { margin:0 0 18px; }
.qvf-student-login-form label,
.qvf-student-form label { display:block; }
.qvf-student-login-form input[type="text"],
.qvf-student-login-form input[type="password"] { width:100%; }

.qvf-student-dashboard-head {
    display: flex;
    justify-content: space-between;
    gap: 26px;
    align-items: flex-end;
    padding: 8px 0 30px;
}

.qvf-student-dashboard-head h2 { margin:8px 0 3px; font-size:36px !important; }
.qvf-student-dashboard-head p { margin:0; color:var(--qvf-student-dim); }
.qvf-student-text-link { color:#fff !important; text-decoration:none !important; font-size:12px; }

.qvf-student-progress-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(380px,.85fr);
    gap: 34px 48px;
    padding: clamp(28px, 4vw, 46px);
    margin-bottom: 18px;
    background:
        radial-gradient(circle at 92% 12%, rgba(199,37,56,.12), transparent 28%),
        var(--qvf-student-surface);
}

.qvf-student-progress-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 0;
    border: 1px solid var(--qvf-student-line);
}

.qvf-student-progress-metrics > div { padding:18px; min-width:0; }
.qvf-student-progress-metrics > div + div { border-left:1px solid var(--qvf-student-line); }
.qvf-student-progress-metrics span { display:block; color:var(--qvf-student-dim); font-size:9px; letter-spacing:.12em; text-transform:uppercase; }
.qvf-student-progress-metrics strong { display:block; margin-top:8px; color:#fff; font-size:16px; line-height:1.25; word-break:break-word; }

.qvf-student-unlock-track {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 8px;
}

.qvf-student-unlock-track > span {
    position:relative;
    height:6px;
    background:rgba(255,255,255,.10);
}
.qvf-student-unlock-track > span.is-complete { background:var(--qvf-student-red); }
.qvf-student-unlock-track i {
    position:absolute;
    top:10px;
    left:0;
    color:rgba(255,255,255,.35);
    font-size:9px;
    font-style:normal;
}
.qvf-student-unlock-track > span.is-complete i { color:#fff; }
.qvf-student-admin-unlock { grid-column:1/-1; color:#9fd8b3; font-size:12px; }

.qvf-student-card-head {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:24px;
}

.qvf-student-status {
    flex:0 0 auto;
    padding:7px 9px;
    border:1px solid var(--qvf-student-line);
    color:var(--qvf-student-muted);
    font-size:9px;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
}
.qvf-student-status.is-verified,
.qvf-student-status.is-unlocked { border-color:rgba(111,200,143,.42); color:#9bd7b0; }
.qvf-student-status.is-pending { border-color:rgba(226,189,115,.4); color:#e2bd73; }
.qvf-student-status.is-rejected,
.qvf-student-status.is-locked { border-color:rgba(199,37,56,.4); color:#e97886; }
.qvf-student-status.is-count { color:#fff; }

.qvf-student-inline-warning {
    padding:12px 14px;
    border-left:2px solid #e2bd73;
    background:rgba(226,189,115,.06);
    color:#e7cf9e !important;
    font-size:13px;
}

.qvf-student-form { margin-top:24px; }
.qvf-student-form label { margin-bottom:16px; }
.qvf-student-form label > span {
    display:block;
    margin-bottom:7px;
    color:#b8b8be;
    font-size:10px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.qvf-student-form input[type="text"],
.qvf-student-form input[type="email"],
.qvf-student-form input[type="url"],
.qvf-student-form input[type="password"],
.qvf-student-form input[type="file"],
.qvf-student-form select,
.qvf-student-form textarea,
.qvf-student-login-form input[type="text"],
.qvf-student-login-form input[type="password"] {
    width:100%;
    min-height:46px;
    padding:11px 13px;
    border:1px solid var(--qvf-student-line);
    border-radius:0;
    outline:none;
    background:#0b0b0e;
    color:#fff;
    font:inherit;
    font-size:14px;
}
.qvf-student-form textarea { min-height:110px; resize:vertical; line-height:1.65; }
.qvf-student-form input:focus,
.qvf-student-form select:focus,
.qvf-student-form textarea:focus { border-color:rgba(255,255,255,.34); box-shadow:0 0 0 1px rgba(255,255,255,.08); }

.qvf-student-field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 14px; }
.qvf-student-help { margin:-5px 0 18px; font-size:12px; }

.qvf-student-button,
.qvf-student-login-form input[type="submit"] {
    appearance:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:11px 18px;
    border:1px solid var(--qvf-student-red);
    border-radius:0;
    background:var(--qvf-student-red);
    color:#fff !important;
    cursor:pointer;
    text-decoration:none !important;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.qvf-student-button.is-ghost { background:transparent; border-color:rgba(255,255,255,.22); }
.qvf-student-button:hover { filter:brightness(1.08); }

.qvf-student-referral-list { margin-top:28px; border-top:1px solid var(--qvf-student-line); }
.qvf-student-referral-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,.07);
}
.qvf-student-referral-row strong { display:block; color:#e8e8ea; font-size:13px; }
.qvf-student-referral-row small { display:block; margin-top:3px; color:var(--qvf-student-dim); font-size:10px; }
.qvf-student-referral-row > span { max-width:180px; color:var(--qvf-student-muted); font-size:10px; line-height:1.35; text-align:right; }
.qvf-student-referral-row > span.is-qualified { color:#96d2aa; }
.qvf-student-referral-row > span.is-rejected { color:#df7582; }

.qvf-student-projects-section { margin-top:18px; padding:clamp(26px,4vw,46px); }
.qvf-student-project-list { margin-bottom:30px; border-top:1px solid var(--qvf-student-line); }
.qvf-student-project-list article { display:flex; justify-content:space-between; gap:22px; align-items:center; padding:17px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.qvf-student-project-list article span { color:var(--qvf-student-red); font-size:9px; font-weight:800; letter-spacing:.12em; }
.qvf-student-project-list h3 { margin:5px 0; color:#fff; font-size:20px; }
.qvf-student-project-list small { color:var(--qvf-student-dim); }
.qvf-student-project-actions { display:flex; gap:14px; }
.qvf-student-project-actions a { color:#fff !important; font-size:11px; text-decoration:none !important; border-bottom:1px solid rgba(255,255,255,.26); }

.qvf-student-locked-panel { padding:44px; border:1px dashed rgba(255,255,255,.14); background:#0c0c0f; text-align:center; }
.qvf-student-locked-panel > span { color:var(--qvf-student-dim); font-size:30px; }
.qvf-student-locked-panel h3 { margin:10px 0; font-size:26px; }
.qvf-student-locked-panel p { max-width:560px; margin:0 auto; }

.qvf-student-project-form { margin-top:30px; padding-top:30px; border-top:1px solid var(--qvf-student-line); }
.qvf-student-project-form-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.7fr); gap:32px; align-items:end; margin-bottom:28px; }
.qvf-student-project-form-head h3 { margin:9px 0 0; font-size:30px; line-height:1.08; }
.qvf-student-project-form-head p { margin:0; color:var(--qvf-student-muted); }
.qvf-student-project-submit-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; }

.qvf-student-join-stage { min-height:720px; display:grid; align-items:center; }
.qvf-student-join-grid { position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,470px); gap:clamp(50px,8vw,110px); align-items:center; padding-top:90px; padding-bottom:90px; }
.qvf-student-join-copy ul { margin:30px 0 0; padding:0; list-style:none; color:rgba(255,255,255,.72); }
.qvf-student-join-copy li { padding:11px 0; border-bottom:1px solid rgba(255,255,255,.09); }
.qvf-student-invited-email { color:#fff !important; font-weight:700; }
.qvf-student-verify-fallback { padding:120px 0; }

@media (max-width: 1024px) {
    .qvf-project-page .qvf-project-community-layout { grid-template-columns:1fr; }
    .qvf-project-page .qvf-project-community-visual { min-height:360px; }
    .qvf-student-hero-inner,
    .qvf-student-join-grid,
    .qvf-student-progress-card { grid-template-columns:1fr; }
    .qvf-student-hero-inner { min-height:0; padding-top:100px; }
    .qvf-student-hero-note { max-width:620px; }
}

@media (max-width: 700px) {
    .qvf-project-hub .qvf-hub-hero-intro h1 { font-size:clamp(42px,13vw,58px) !important; }
    .qvf-project-hub .qvf-hub-section-heading h2,
    .qvf-project-hub .qvf-hub-catalog-heading h2 { font-size:clamp(32px,10vw,42px) !important; }

    .qvf-video-modal { padding:8px; }
    .qvf-video-modal-dialog { width:calc(100vw - 16px); max-height:calc(100vh - 16px); }
    .qvf-video-modal-topbar { min-height:62px; padding:10px 12px 10px 14px; }
    .qvf-video-modal-title strong { max-width:calc(100vw - 110px); }

    .qvf-moodboard-modal { padding:8px; }
    .qvf-moodboard-modal-dialog { width:calc(100vw - 16px); max-height:calc(100vh - 16px); }
    .qvf-moodboard-modal-stage { height:calc(100vh - 150px); min-height:260px; }
    .qvf-moodboard-modal-nav { width:44px; height:44px; }
    .qvf-moodboard-modal-nav.is-prev { left:10px; }
    .qvf-moodboard-modal-nav.is-next { right:10px; }

    .qvf-project-page .qvf-project-community-money-row { grid-template-columns:1fr; gap:16px; }
    .qvf-project-page .qvf-project-community-money-row .qvf-project-community-stat.is-raised { padding:16px 0 0; border-left:0; border-top:1px solid rgba(255,255,255,.1); text-align:left; }

    .qvf-student-shell { width:min(100% - 28px,1180px); }
    .qvf-student-hero-inner { padding-top:76px; padding-bottom:54px; gap:34px; }
    .qvf-student-hero h1,
    .qvf-student-join-copy h1 { font-size:clamp(40px,13vw,58px) !important; }
    .qvf-student-main { padding-top:28px; padding-bottom:70px; }
    .qvf-student-login-grid,
    .qvf-student-two-col,
    .qvf-student-field-grid,
    .qvf-student-progress-metrics,
    .qvf-student-project-form-head { grid-template-columns:1fr; }
    .qvf-student-progress-metrics > div + div { border-left:0; border-top:1px solid var(--qvf-student-line); }
    .qvf-student-dashboard-head,
    .qvf-student-project-list article { align-items:flex-start; flex-direction:column; }
    .qvf-student-card-head { flex-direction:column; }
    .qvf-student-project-submit-actions { flex-direction:column; }
    .qvf-student-project-submit-actions .qvf-student-button { width:100%; }
    .qvf-student-join-grid { padding-top:70px; padding-bottom:70px; }
}

.qvf-hub-student-cta {
    padding: clamp(58px, 7vw, 86px) 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.09);
    background:
        radial-gradient(circle at 78% 28%, rgba(199,37,56,.12), transparent 28%),
        #0d0d10;
}
.qvf-hub-student-cta-grid {
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(320px,.65fr);
    gap:clamp(42px,7vw,88px);
    align-items:center;
}
.qvf-hub-student-cta h2 {
    max-width:760px;
    margin:14px 0 18px;
    color:#fff !important;
    font-size:clamp(34px,4vw,54px) !important;
    line-height:1.02 !important;
    letter-spacing:-.035em !important;
}
.qvf-hub-student-cta p { max-width:700px; margin:0; color:rgba(255,255,255,.58); font-size:15px; line-height:1.75; }
.qvf-hub-student-cta-action { padding:24px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.025); }
.qvf-hub-student-cta-action > span { display:block; color:#c72538; font-size:9px; font-weight:800; letter-spacing:.14em; }
.qvf-hub-student-cta-action > strong { display:block; margin:12px 0 22px; color:#fff; font-size:20px; line-height:1.3; }
@media(max-width:900px){.qvf-hub-student-cta-grid{grid-template-columns:1fr}.qvf-hub-student-cta-action{max-width:620px}}
.qvf-student-inline-warning p { margin:0; color:inherit; }
.qvf-student-resend-form { margin-top:8px; }
.qvf-student-text-button { appearance:none; padding:0; border:0; border-bottom:1px solid currentColor; background:transparent; color:#fff; cursor:pointer; font:inherit; font-size:11px; }

/* ==========================================================
   QVFilm Projects v0.22.0
   Community Identity + Investor / Sponsor Experience
   ========================================================== */

/* Project Hub typography: cinematic, but no billboard-sized copy. */
.qvf-project-hub .qvf-hub-hero-intro h1 {
    max-width: 820px;
    font-size: clamp(44px, 4.65vw, 68px) !important;
    line-height: .98 !important;
    letter-spacing: -.04em !important;
}
.qvf-project-hub .qvf-hub-section-heading h2,
.qvf-project-hub .qvf-hub-catalog-heading h2 {
    max-width: 820px;
    font-size: clamp(34px, 3.2vw, 48px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
}
.qvf-project-hub .qvf-hub-student-cta h2 {
    font-size: clamp(32px, 3.1vw, 46px) !important;
}

/* Single project poster becomes an intentional interaction. */
.qvf-project-page .qvf-project-poster-open {
    position: relative;
    display: block;
    overflow: hidden;
    background: #0a0a0c;
    cursor: zoom-in;
}
.qvf-project-page .qvf-project-poster-open .qvf-project-poster-image {
    display: block;
    width: 100%;
    transition: transform .55s cubic-bezier(.2,.72,.2,1), filter .35s ease;
}
.qvf-project-page .qvf-project-poster-open:hover .qvf-project-poster-image {
    transform: scale(1.035);
    filter: brightness(1.04);
}
.qvf-project-poster-zoom {
    position:absolute;
    right:12px;
    bottom:12px;
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    border:1px solid rgba(255,255,255,.3);
    background:rgba(5,5,7,.62);
    color:#fff;
    font-size:14px;
    opacity:0;
    transform:translateY(5px);
    transition:.25s ease;
    backdrop-filter:blur(10px);
}
.qvf-project-poster-open:hover .qvf-project-poster-zoom { opacity:1; transform:none; }
.qvf-project-page .qvf-project-international-title { margin-bottom: 14px; }
.qvf-project-page .qvf-project-facts {
    margin: 0 0 24px;
    padding: 0;
}
.qvf-project-page .qvf-project-hero-logline { margin-top: 0; }

.qvf-poster-modal {
    position:fixed;
    inset:0;
    z-index:999999;
    display:grid;
    place-items:center;
    padding:28px;
    background:rgba(3,3,5,.94);
    opacity:0;
    visibility:hidden;
    transition:opacity .22s ease, visibility .22s ease;
}
.qvf-poster-modal.is-open { opacity:1; visibility:visible; }
.qvf-poster-modal-dialog { position:relative; max-width:min(92vw,1000px); max-height:92vh; }
.qvf-poster-modal img { display:block; max-width:100%; max-height:88vh; width:auto; height:auto; object-fit:contain; box-shadow:0 30px 90px rgba(0,0,0,.5); }
.qvf-poster-modal-close {
    position:absolute;
    top:-14px;
    right:-14px;
    width:44px;
    height:44px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:50%;
    background:#0c0c0f;
    color:#fff;
    cursor:pointer;
    font-size:20px;
}

/* Looking For becomes a compact decision strip before synopsis. */
.qvf-project-page .qvf-project-section:has(.qvf-project-seeking) {
    padding-top: 42px;
    padding-bottom: 42px;
    background:#101014;
}
.qvf-project-page .qvf-project-section:has(.qvf-project-seeking) .qvf-project-section-title {
    margin-top:10px;
    margin-bottom:20px;
    font-size:clamp(26px,2.5vw,36px) !important;
}

/* Visual World narrative now belongs to the gallery, not a stranded header column. */
.qvf-project-visual-world-head { margin-bottom: 28px !important; }
.qvf-project-visual-world-note {
    display:grid;
    grid-template-columns: minmax(130px,.28fr) minmax(0,1fr);
    gap:28px;
    margin-top:24px;
    padding:22px 0 0;
    border-top:1px solid rgba(255,255,255,.12);
}
.qvf-project-visual-world-note > span {
    color:#c72538;
    font-size:10px;
    font-weight:800;
    letter-spacing:.14em;
}
.qvf-project-visual-world-note p {
    max-width:760px;
    margin:0;
    color:rgba(255,255,255,.68);
    font-size:14px;
    line-height:1.75;
}

/* Director / pitcher image is an editorial figure inside the vision essay. */
.qvf-project-director-portrait {
    float:left;
    width:min(42%,240px);
    margin:4px 26px 18px 0;
    border:1px solid rgba(255,255,255,.12);
    background:#0d0d10;
}
.qvf-project-director-portrait img {
    display:block;
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    filter:saturate(.86) contrast(1.03);
}
.qvf-project-director-portrait figcaption { padding:12px 13px 13px; }
.qvf-project-director-portrait figcaption strong { display:block; color:#fff; font-size:13px; line-height:1.3; }
.qvf-project-director-portrait figcaption span { display:block; margin-top:4px; color:#9b9ba2; font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.qvf-project-panel-statement::after { content:""; display:block; clear:both; }
.qvf-project-themes-copy p { margin:0 0 12px !important; }
.qvf-project-themes-copy p:last-child { margin-bottom:0 !important; }

/* Social authentication is provider-neutral and uses configured OAuth only. */
.qvf-social-auth { margin-top:22px; }
.qvf-social-auth-divider { display:flex; align-items:center; gap:12px; color:rgba(255,255,255,.38); font-size:10px; text-transform:uppercase; letter-spacing:.1em; }
.qvf-social-auth-divider::before,.qvf-social-auth-divider::after { content:""; height:1px; flex:1; background:rgba(255,255,255,.11); }
.qvf-social-auth-buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:14px; }
.qvf-social-auth-button { display:flex; align-items:center; justify-content:center; gap:10px; min-height:44px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.035); color:#fff !important; text-decoration:none !important; font-size:12px; font-weight:700; }
.qvf-social-auth-button:hover { border-color:rgba(255,255,255,.38); background:rgba(255,255,255,.07); }
.qvf-social-auth-icon { display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:#fff; color:#111; font-weight:900; }
.qvf-social-auth-button.is-facebook .qvf-social-auth-icon { background:#1877f2; color:#fff; }
.qvf-social-auth-admin-hint { margin-top:16px; padding:11px 12px; border:1px solid rgba(226,189,115,.25); color:#dfca9e; font-size:11px; line-height:1.55; }

/* Student Room identity and project submission polish. */
.qvf-student-hero h1,
.qvf-student-join-copy h1 {
    font-size:clamp(44px,5vw,70px) !important;
    line-height:.98 !important;
    letter-spacing:-.045em !important;
}
.qvf-student-progress-card.is-unlocked-state {
    border-color:rgba(111,200,143,.25);
    background:radial-gradient(circle at 92% 12%,rgba(111,200,143,.10),transparent 30%),var(--qvf-student-surface);
}
.qvf-student-progress-card.is-locked-state {
    border-color:rgba(199,37,56,.22);
    background:radial-gradient(circle at 92% 12%,rgba(199,37,56,.11),transparent 30%),var(--qvf-student-surface);
}
.qvf-student-progress-card.is-unlocked-state .qvf-student-unlock-track > span.is-complete { background:#6fc88f; }
.qvf-student-progress-card.is-unlocked-state .qvf-student-unlock-track > span.is-complete i { color:#9fe0b6; }
.qvf-student-dashboard-avatar { flex:0 0 auto; width:64px; height:64px; overflow:hidden; border:1px solid rgba(255,255,255,.14); background:#111115; }
.qvf-student-dashboard-avatar img { width:100%; height:100%; object-fit:cover; }
.qvf-student-profile-photo-row { display:grid; grid-template-columns:150px minmax(0,1fr); gap:24px; align-items:center; margin:20px 0 24px; }
.qvf-student-profile-photo-preview { overflow:hidden; aspect-ratio:1; border:1px solid rgba(255,255,255,.12); background:#0a0a0d; }
.qvf-student-profile-photo-preview img { width:100%; height:100%; object-fit:cover; }
.qvf-student-profile-photo-field { margin:0 !important; }
.qvf-student-profile-subhead { margin:30px 0 14px; color:#fff; font-size:15px; }
.qvf-student-profile-gallery-block { margin:30px 0; padding-top:26px; border-top:1px solid var(--qvf-student-line); }
.qvf-student-profile-gallery-existing { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:15px 0 18px; }
.qvf-student-profile-gallery-thumb { position:relative; margin:0; overflow:hidden; aspect-ratio:4/3; border:1px solid rgba(255,255,255,.11); }
.qvf-student-profile-gallery-thumb img { width:100%; height:100%; object-fit:cover; }
.qvf-student-profile-gallery-thumb label { position:absolute; inset:auto 6px 6px 6px; margin:0; padding:5px 7px; background:rgba(0,0,0,.72); color:#fff; font-size:9px; }
.qvf-student-gallery-upload { padding:14px; border:1px dashed rgba(255,255,255,.16); background:#0a0a0d; }

.qvf-student-project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:22px 0 32px; }
.qvf-student-project-card { min-width:0; border:1px solid var(--qvf-student-line); background:#0d0d10; }
.qvf-student-project-card-poster { display:block; overflow:hidden; aspect-ratio:16/10; background:#08080a; }
.qvf-student-project-card-poster img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.qvf-student-project-card:hover .qvf-student-project-card-poster img { transform:scale(1.025); }
.qvf-student-project-card-body { padding:16px; }
.qvf-student-project-card-body h3 { margin:6px 0 3px; color:#fff; font-size:18px; line-height:1.2; }
.qvf-student-project-card-body h3 small { display:block; margin-top:4px; color:#85858d; font-size:11px; font-weight:500; }
.qvf-student-project-state { color:#c72538; font-size:9px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.qvf-student-project-funding { margin:14px 0; }
.qvf-student-project-funding > div:first-child { display:flex; justify-content:space-between; color:#9a9aa2; font-size:10px; }
.qvf-student-project-funding-track { height:3px; margin-top:7px; background:rgba(255,255,255,.1); }
.qvf-student-project-funding-track span { display:block; height:100%; background:#c72538; }
.qvf-student-project-actions { justify-content:flex-start; }

.qvf-student-project-form-polished { margin-top:32px; padding:30px; border:1px solid var(--qvf-student-line); background:linear-gradient(145deg,#111115,#0c0c0f); }
.qvf-student-project-form-head { display:block; margin-bottom:30px; padding-bottom:22px; border-bottom:1px solid var(--qvf-student-line); }
.qvf-student-project-form-head h3 { font-size:clamp(28px,3vw,38px); }
.qvf-student-project-form-head p { max-width:760px; margin-top:10px; line-height:1.7; }
.qvf-student-form-section { margin:0 0 28px; padding:0 0 26px; border:0; border-bottom:1px solid rgba(255,255,255,.08); }
.qvf-student-form-section:last-of-type { border-bottom:0; }
.qvf-student-form-section > legend { width:100%; margin-bottom:18px; padding:0; color:#fff; font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.qvf-student-document-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.qvf-student-document-upload { padding:16px; border:1px solid rgba(255,255,255,.11); background:#0a0a0c; }
.qvf-student-document-upload strong { display:block; margin-bottom:6px; color:#fff; font-size:13px; }
.qvf-student-document-upload small { display:block; margin-bottom:12px; color:#777780; font-size:10px; line-height:1.45; }

/* Investor + Angel Sponsor login, borrowing the split-panel rhythm without losing QVFilm DNA. */
.qvf-investor-login-page { padding:70px 0 100px !important; min-height:calc(100vh - 100px); background:#070709; }
.qvf-investor-login-stage {
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(380px,.75fr);
    min-height:650px;
    padding:0 !important;
    border:1px solid rgba(255,255,255,.12);
    background:#0e0e11;
    overflow:hidden;
    box-shadow:0 35px 110px rgba(0,0,0,.32);
}
.qvf-investor-login-visual { position:relative; min-height:650px; background:#16161a var(--qvf-investor-login-image) center/cover no-repeat; }
.qvf-investor-login-visual-overlay { position:absolute; inset:0; background:linear-gradient(180deg,rgba(5,5,7,.18),rgba(5,5,7,.84)),linear-gradient(90deg,rgba(5,5,7,.08),rgba(5,5,7,.42)); }
.qvf-investor-login-visual-copy { position:absolute; z-index:2; left:clamp(28px,4vw,58px); right:clamp(28px,4vw,58px); bottom:clamp(34px,6vw,72px); max-width:620px; }
.qvf-investor-login-visual-copy > span { color:#c72538; font-size:10px; font-weight:800; letter-spacing:.16em; }
.qvf-investor-login-visual-copy strong { display:block; margin:14px 0 12px; color:#fff; font-size:clamp(30px,3.5vw,52px); line-height:1.02; letter-spacing:-.035em; }
.qvf-investor-login-visual-copy p { max-width:520px; margin:0; color:rgba(255,255,255,.62); line-height:1.7; }
.qvf-investor-login-panel { align-self:center; padding:clamp(34px,5vw,64px); }
.qvf-investor-login-panel h1 { margin:12px 0 16px; color:#fff; font-size:clamp(36px,4vw,54px); line-height:1; letter-spacing:-.035em; }
.qvf-investor-login-panel > p { margin:0 0 28px; color:#9b9ba2; font-size:14px; line-height:1.7; }
.qvf-investor-login-panel .login-username label,.qvf-investor-login-panel .login-password label { display:block; margin:0 0 6px; color:#aaaab0; font-size:10px; text-transform:uppercase; letter-spacing:.1em; }
.qvf-investor-login-panel .input { width:100%; min-height:48px; padding:11px 13px; border:1px solid rgba(255,255,255,.13); border-radius:0; background:#09090c; color:#fff; }
.qvf-investor-login-panel .login-submit .button { width:100%; min-height:46px; border:1px solid #c72538; border-radius:0; background:#c72538; color:#fff; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; cursor:pointer; }
.qvf-investor-login-panel .login-remember { color:#85858d; font-size:11px; }
.qvf-investor-login-notice { margin:0 0 18px; padding:11px 13px; border-left:2px solid #c72538; background:rgba(199,37,56,.07); color:#e4b2b8; font-size:12px; line-height:1.55; }
.qvf-investor-login-footnote { display:grid; gap:3px; margin-top:18px; padding-top:16px; border-top:1px solid rgba(255,255,255,.09); }
.qvf-investor-login-footnote strong { color:#fff; font-size:11px; }
.qvf-investor-login-footnote span { color:#6f6f77; font-size:10px; line-height:1.55; }

.qvf-investor-case-studies,
.qvf-investor-suggested { margin-top:70px; padding-top:56px; border-top:1px solid var(--qvf-ir-line); }
.qvf-investor-case-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.qvf-investor-case-grid article { min-height:260px; padding:22px; border:1px solid var(--qvf-ir-line); background:linear-gradient(155deg,#151519,#0d0d10); }
.qvf-investor-case-grid article > span { color:#c72538; font-size:11px; font-weight:800; }
.qvf-investor-case-grid strong { display:block; margin:36px 0 12px; color:#fff; font-size:18px; line-height:1.2; }
.qvf-investor-case-grid p { margin:0; color:#9999a1; font-size:13px; line-height:1.65; }
.qvf-investor-case-grid small { display:block; margin-top:22px; color:#696971; font-size:9px; letter-spacing:.1em; }
.qvf-investor-suggested-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.qvf-investor-suggested-card { border:1px solid var(--qvf-ir-line); background:#101013; }
.qvf-investor-suggested-visual { display:block; aspect-ratio:16/11; overflow:hidden; background:#08080a; }
.qvf-investor-suggested-visual img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.qvf-investor-suggested-card:hover .qvf-investor-suggested-visual img { transform:scale(1.025); }
.qvf-investor-suggested-card > div { padding:17px; }
.qvf-investor-suggested-card small { color:#c72538; font-size:9px; letter-spacing:.1em; text-transform:uppercase; }
.qvf-investor-suggested-card h3 { margin:7px 0 9px; color:#fff; font-size:18px; }
.qvf-investor-suggested-card p { margin:0 0 14px; color:#8d8d95; font-size:12px; line-height:1.6; }
.qvf-investor-suggested-card a { color:#fff !important; font-size:10px; font-weight:800; text-transform:uppercase; text-decoration:none !important; }

@media (max-width: 1050px) {
    .qvf-investor-login-stage { grid-template-columns:1fr; }
    .qvf-investor-login-visual { min-height:440px; }
    .qvf-investor-case-grid,.qvf-investor-suggested-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .qvf-student-project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .qvf-student-profile-gallery-existing { grid-template-columns:repeat(4,minmax(0,1fr)); }
}

@media (max-width: 700px) {
    .qvf-project-hub .qvf-hub-hero-intro h1 { font-size:clamp(36px,10.5vw,48px) !important; }
    .qvf-project-hub .qvf-hub-section-heading h2,
    .qvf-project-hub .qvf-hub-catalog-heading h2 { font-size:clamp(29px,8.5vw,38px) !important; }
    .qvf-project-visual-world-note { grid-template-columns:1fr; gap:8px; }
    .qvf-project-director-portrait { float:none; width:min(100%,260px); margin:0 0 20px; }
    .qvf-poster-modal { padding:12px; }
    .qvf-student-hero h1,.qvf-student-join-copy h1 { font-size:clamp(38px,11vw,52px) !important; }
    .qvf-student-profile-photo-row { grid-template-columns:1fr; }
    .qvf-student-profile-photo-preview { width:140px; }
    .qvf-student-profile-gallery-existing { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .qvf-student-project-grid,.qvf-student-document-grid { grid-template-columns:1fr; }
    .qvf-student-project-form-polished { padding:20px 16px; }
    .qvf-social-auth-buttons { grid-template-columns:1fr; }
    .qvf-investor-login-page { padding:18px 0 55px !important; }
    .qvf-investor-login-stage { border-left:0; border-right:0; }
    .qvf-investor-login-visual { min-height:350px; }
    .qvf-investor-login-visual-copy strong { font-size:34px; }
    .qvf-investor-case-grid,.qvf-investor-suggested-grid { grid-template-columns:1fr; }
}
.qvf-student-project-funding i { display:block; height:3px; margin-top:7px; background:rgba(255,255,255,.1); font-style:normal; }
.qvf-student-project-funding i b { display:block; height:100%; background:#c72538; }


/* ==========================================================
   QVFilm Projects v0.23.0
   Community Profiles & Collaboration polish
   ========================================================== */

/* Project Hub: compact hierarchy + clear audience labels */
.qvf-project-hub .qvf-hub-section-heading.is-stacked {
    display:block;
}
.qvf-project-hub .qvf-hub-section-heading.is-stacked > div {
    max-width:760px;
}
.qvf-project-hub .qvf-hub-section-heading.is-stacked p {
    max-width:720px;
    margin:16px 0 0;
    color:#8f8f96;
    font-size:14px;
    line-height:1.7;
}
.qvf-hub-audience-badges,
.qvf-student-project-badges {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin:8px 0 4px;
}
.qvf-hub-audience-badges span,
.qvf-student-project-badges > span:not(.qvf-student-project-state) {
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:4px 7px;
    border:1px solid rgba(255,255,255,.12);
    color:#b4b4bb;
    font-size:8px;
    line-height:1;
    font-weight:800;
    letter-spacing:.08em;
}
.qvf-hub-audience-badges .is-community,
.qvf-student-project-badges .is-community { border-color:rgba(86,180,117,.38); color:#79d49a; }
.qvf-hub-audience-badges .is-angel,
.qvf-student-project-badges .is-angel { border-color:rgba(226,189,115,.42); color:#e2bd73; }
.qvf-hub-audience-badges .is-investor,
.qvf-student-project-badges .is-investor { border-color:rgba(199,37,56,.45); color:#e46a7a; }
.qvf-hub-audience-badges .is-coproduction,
.qvf-student-project-badges .is-coproduction { border-color:rgba(121,145,202,.42); color:#9aaee5; }

/* Project share: direct URL */
.qvf-project-page .qvf-project-share-inner {
    align-items:flex-end;
    flex-wrap:wrap;
}
.qvf-project-share-link {
    flex:1 1 100%;
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.1);
}
.qvf-project-share-link label {
    display:block;
    margin-bottom:7px;
    color:#8d8d94;
    font-size:9px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.qvf-project-share-link > div {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    max-width:720px;
}
.qvf-project-share-link input {
    min-width:0;
    height:40px;
    padding:0 12px;
    border:1px solid rgba(255,255,255,.12);
    background:#0a0a0d;
    color:#c8c8ce;
    font-size:12px;
}
.qvf-project-share-link button {
    min-height:40px;
    padding:0 15px;
    border:1px solid rgba(255,255,255,.18);
    background:transparent;
    color:#fff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.06em;
    cursor:pointer;
}

/* Public Project Hub discussion */
.qvf-project-discussion {
    padding:68px 0;
    border-top:1px solid rgba(255,255,255,.08);
    background:#0c0c0f;
}
.qvf-project-discussion-head {
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(260px,.6fr);
    gap:48px;
    align-items:end;
    margin-bottom:34px;
}
.qvf-project-discussion-head h2 {
    margin:8px 0 0;
    color:#fff;
    font-size:clamp(30px,4vw,48px);
    line-height:1.02;
}
.qvf-project-discussion-head > p {
    margin:0;
    color:#8c8c94;
    font-size:13px;
    line-height:1.7;
}
.qvf-project-comment-list {
    display:grid;
    gap:12px;
}
.qvf-project-comment {
    display:grid;
    grid-template-columns:52px minmax(0,1fr);
    gap:14px;
    padding:18px;
    border:1px solid rgba(255,255,255,.09);
    background:#111114;
}
.qvf-project-comment.depth-2,
.qvf-project-comment.depth-3 {
    margin-left:52px;
}
.qvf-project-comment-avatar {
    width:52px;
    height:52px;
    overflow:hidden;
    border-radius:50%;
    background:#1c1c21;
}
.qvf-project-comment-avatar img {
    width:100%;
    height:100%;
    object-fit:cover;
}
.qvf-project-comment-body header {
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:flex-start;
}
.qvf-project-comment-body header > div {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}
.qvf-project-comment-body header strong {
    color:#fff;
    font-size:13px;
}
.qvf-project-comment-body header span {
    padding:3px 6px;
    border:1px solid rgba(199,37,56,.32);
    color:#d96978;
    font-size:8px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.qvf-project-comment-body time {
    color:#66666e;
    font-size:9px;
}
.qvf-project-comment-copy {
    margin-top:10px;
    color:#b9b9c0;
    font-size:13px;
    line-height:1.7;
}
.qvf-project-comment-copy p { margin:0 0 10px; }
.qvf-project-comment-body footer a {
    color:#fff !important;
    font-size:9px;
    font-weight:800;
    text-transform:uppercase;
    text-decoration:none !important;
}
.qvf-project-comment-moderation {
    margin:10px 0 0;
    color:#e2bd73;
    font-size:10px;
}
.qvf-project-discussion-empty {
    padding:20px;
    border:1px solid rgba(255,255,255,.08);
    color:#7c7c84;
    font-size:12px;
}
.qvf-project-comment-form {
    margin-top:28px;
    padding-top:28px;
    border-top:1px solid rgba(255,255,255,.08);
}
.qvf-project-comment-form h3 {
    margin:0 0 18px;
    color:#fff;
    font-size:24px;
}
.qvf-project-comment-form label {
    display:block;
    margin-bottom:8px;
    color:#8f8f97;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.qvf-project-comment-form textarea {
    width:100%;
    padding:14px;
    border:1px solid rgba(255,255,255,.12);
    background:#09090c;
    color:#fff;
    resize:vertical;
}
.qvf-project-comment-submit {
    min-height:42px;
    padding:0 18px;
    border:1px solid #c72538;
    background:#c72538;
    color:#fff;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    cursor:pointer;
}
.qvf-project-comment-note {
    color:#66666e;
    font-size:10px;
}
.qvf-project-discussion-login {
    display:grid;
    gap:8px;
    padding:22px;
    border:1px solid rgba(255,255,255,.1);
    background:#101013;
}
.qvf-project-discussion-login strong { color:#fff; font-size:16px; }
.qvf-project-discussion-login p { margin:0; color:#85858d; font-size:12px; }
.qvf-project-discussion-login > div { display:flex; flex-wrap:wrap; gap:10px; margin-top:6px; }
.qvf-project-discussion-login a {
    padding:10px 12px;
    border:1px solid rgba(255,255,255,.14);
    color:#fff !important;
    font-size:9px;
    font-weight:800;
    text-decoration:none !important;
}

/* Student Room login + identity polish */
.qvf-student-room .qvf-student-hero h1 {
    max-width:760px;
    font-size:clamp(38px,4.2vw,58px) !important;
    line-height:.98 !important;
    letter-spacing:-.045em;
}
.qvf-student-login-form .login-submit {
    margin:18px 0 0 !important;
}
.qvf-student-login-form input[type="submit"] {
    display:block;
    width:100% !important;
    margin:0 !important;
    min-height:46px !important;
    padding:0 18px !important;
    text-align:center;
}
.qvf-student-dashboard-avatar,
.qvf-student-profile-photo-preview {
    background:#111114;
}
.qvf-student-dashboard-avatar img,
.qvf-student-profile-photo-preview img {
    width:100%;
    height:100%;
    object-fit:cover;
}
.qvf-student-account-links {
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:10px;
}
.qvf-student-account-links a {
    color:#9e9ea5 !important;
    font-size:10px;
    text-decoration:none !important;
}
.qvf-student-progress-copy h2 {
    display:flex;
    align-items:center;
    gap:10px;
}
.qvf-student-lock-icon {
    display:inline-grid;
    place-items:center;
    width:30px;
    height:30px;
    border:1px solid currentColor;
    border-radius:50%;
    font-size:13px;
}
.qvf-student-lock-icon.is-unlocked { color:#6fc88f; }
.qvf-student-lock-icon.is-locked { color:#d94a5c; }
.qvf-student-progress-metrics strong.is-incomplete-count { color:#6fc88f !important; }
.qvf-student-progress-metrics strong.is-pending-count { color:#e05668 !important; }
.qvf-student-submit-link {
    display:inline-flex;
    width:auto;
    margin-top:18px;
}
.qvf-student-profile-subhead {
    display:grid;
    gap:5px;
}
.qvf-student-profile-subhead span {
    color:#fff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.1em;
}
.qvf-student-profile-subhead strong {
    color:#85858d;
    font-size:11px;
    font-weight:500;
}
.qvf-student-project-card-poster {
    aspect-ratio:2/3 !important;
}
.qvf-student-project-card-poster img {
    object-fit:cover !important;
    object-position:center !important;
}
.qvf-student-project-badges {
    align-items:center;
}
.qvf-student-project-submit-cta {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-top:26px;
    padding:22px;
    border:1px solid rgba(255,255,255,.1);
    background:linear-gradient(120deg,#111114,#160d11);
}
.qvf-student-project-submit-cta h3 { margin:5px 0 6px; color:#fff; font-size:22px; }
.qvf-student-project-submit-cta p { margin:0; color:#85858d; font-size:12px; }

/* Registration */
.qvf-student-join-copy h1 {
    max-width:720px;
    font-size:clamp(30px,3.3vw,44px) !important;
    line-height:1 !important;
}
.qvf-student-join-card h2 {
    font-size:clamp(26px,2.4vw,36px) !important;
}
.qvf-student-join-benefits li {
    display:flex;
    gap:10px;
    align-items:flex-start;
}
.qvf-student-join-benefits li span { color:#6fc88f; font-weight:800; }
.qvf-student-captcha input {
    max-width:170px;
}
.qvf-student-honeypot {
    position:absolute !important;
    left:-99999px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}
.qvf-student-register-button {
    width:100%;
    min-height:48px;
    justify-content:center;
}

/* Dedicated submit workspace */
.qvf-student-submit-page {
    min-height:100vh;
    background:#09090b;
}
.qvf-submit-hero {
    padding:84px 0 58px;
    border-bottom:1px solid rgba(255,255,255,.08);
    background:
      radial-gradient(circle at 86% 20%,rgba(199,37,56,.15),transparent 34%),
      linear-gradient(135deg,#0c0c0f,#08080a);
}
.qvf-submit-hero-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.58fr);
    gap:54px;
    align-items:end;
}
.qvf-submit-hero h1 {
    max-width:720px;
    margin:10px 0 18px;
    color:#fff;
    font-size:clamp(42px,5.2vw,70px);
    line-height:.98;
    letter-spacing:-.045em;
}
.qvf-submit-hero p {
    max-width:700px;
    margin:0 0 18px;
    color:#9a9aa1;
    font-size:14px;
    line-height:1.7;
}
.qvf-submit-tips {
    padding:24px;
    border:1px solid rgba(255,255,255,.1);
    background:rgba(16,16,19,.86);
}
.qvf-submit-tips strong { display:block; margin:7px 0 12px; color:#fff; font-size:18px; line-height:1.35; }
.qvf-submit-tips ul { margin:0; padding:0 0 0 18px; color:#92929a; font-size:11px; line-height:1.65; }
.qvf-submit-main { padding:52px 0 90px; }
.qvf-submit-form {
    max-width:1080px;
    margin:0 auto;
}
.qvf-submit-form-head {
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:end;
    margin-bottom:24px;
    padding-bottom:22px;
    border-bottom:1px solid rgba(255,255,255,.1);
}
.qvf-submit-form-head span { color:#c72538; font-size:9px; font-weight:800; letter-spacing:.12em; }
.qvf-submit-form-head h2 { margin:5px 0 0; color:#fff; font-size:30px; }
.qvf-submit-form-head p { max-width:420px; margin:0; color:#777780; font-size:11px; line-height:1.6; }
.qvf-file-field { position:relative; }
.qvf-file-control {
    position:relative;
    display:flex;
    align-items:center;
    min-height:48px;
    border:1px solid rgba(255,255,255,.13);
    background:#0a0a0d;
    overflow:hidden;
}
.qvf-file-control b {
    flex:0 0 auto;
    align-self:stretch;
    display:flex;
    align-items:center;
    padding:0 15px;
    background:#1a1a1f;
    color:#fff;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.qvf-file-control em {
    padding:0 12px;
    color:#777780;
    font-size:10px;
    font-style:normal;
}
.qvf-file-control input[type="file"] {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    cursor:pointer;
}
.qvf-submit-rules {
    margin-top:26px;
    padding:26px;
    border:1px solid rgba(226,189,115,.24);
    background:rgba(226,189,115,.035);
}
.qvf-submit-rules h3 { margin:7px 0 14px; color:#fff; font-size:24px; }
.qvf-submit-rules ul { margin:0; padding-left:20px; color:#9b9ba2; font-size:12px; line-height:1.7; }
.qvf-submit-consent {
    display:flex !important;
    gap:10px;
    align-items:flex-start;
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.08);
}
.qvf-submit-consent input { margin-top:3px; }
.qvf-submit-consent span { color:#dddde1; font-size:12px; line-height:1.5; }
.qvf-submit-gate { padding:120px 0; }

/* Public filmmaker profile */
.qvf-filmmaker-profile {
    background:#0a0a0d;
    color:#fff;
}
.qvf-filmmaker-hero {
    padding:86px 0 76px;
    background:
      radial-gradient(circle at 80% 20%,rgba(199,37,56,.12),transparent 34%),
      #0b0b0e;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.qvf-filmmaker-hero-grid {
    display:grid;
    grid-template-columns:280px minmax(0,1fr);
    gap:54px;
    align-items:center;
}
.qvf-filmmaker-avatar {
    overflow:hidden;
    aspect-ratio:4/5;
    border:1px solid rgba(255,255,255,.12);
    background:#111114;
}
.qvf-filmmaker-avatar img { width:100%; height:100%; object-fit:cover; }
.qvf-filmmaker-identity h1 {
    margin:10px 0 12px;
    color:#fff;
    font-size:clamp(44px,6vw,80px);
    line-height:.95;
    letter-spacing:-.045em;
}
.qvf-filmmaker-role {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    color:#cfcfd4;
    font-size:14px;
}
.qvf-filmmaker-identity > p {
    max-width:720px;
    color:#9c9ca4;
    font-size:14px;
    line-height:1.8;
}
.qvf-filmmaker-links {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:22px;
}
.qvf-filmmaker-links a {
    padding:8px 10px;
    border:1px solid rgba(255,255,255,.12);
    color:#fff !important;
    font-size:9px;
    font-weight:800;
    text-decoration:none !important;
}
.qvf-filmmaker-profile-share { margin-top:24px; max-width:720px; }
.qvf-filmmaker-profile-share > span { display:block; margin-bottom:7px; color:#777780; font-size:9px; text-transform:uppercase; letter-spacing:.1em; }
.qvf-filmmaker-profile-share { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.qvf-filmmaker-profile-share > span { grid-column:1/-1; }
.qvf-filmmaker-profile-share input { min-width:0; height:40px; padding:0 12px; background:#08080a; border:1px solid rgba(255,255,255,.12); color:#aaaab2; }
.qvf-filmmaker-profile-share button { padding:0 14px; border:1px solid rgba(255,255,255,.15); background:transparent; color:#fff; cursor:pointer; }
.qvf-filmmaker-gallery,
.qvf-filmmaker-projects { padding:64px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.qvf-filmmaker-gallery header h2,
.qvf-filmmaker-projects header h2 { margin:8px 0 26px; font-size:34px; color:#fff; }
.qvf-filmmaker-gallery-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; }
.qvf-filmmaker-gallery-grid figure { margin:0; aspect-ratio:4/3; overflow:hidden; background:#111; }
.qvf-filmmaker-gallery-grid img { width:100%; height:100%; object-fit:cover; }
.qvf-filmmaker-project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.qvf-filmmaker-project-grid article { border:1px solid rgba(255,255,255,.1); background:#101013; }
.qvf-filmmaker-project-grid a { display:block; color:#fff !important; text-decoration:none !important; }
.qvf-filmmaker-project-grid img { width:100%; aspect-ratio:2/3; object-fit:cover; }
.qvf-filmmaker-project-grid span { display:block; padding:14px 14px 0; color:#c72538; font-size:9px; font-weight:800; text-transform:uppercase; }
.qvf-filmmaker-project-grid h3 { margin:7px 14px 16px; font-size:18px; }

/* Investor login collaboration visual + account avatar */
.qvf-investor-login-visual {
    background-color:#111114;
}
.qvf-investor-account-avatar {
    width:58px;
    height:58px;
    margin-bottom:10px;
    border-radius:50%;
    object-fit:cover;
    border:1px solid rgba(255,255,255,.14);
}
.qvf-investor-section-heading.is-stacked {
    display:block;
}
.qvf-investor-section-heading.is-stacked > div {
    max-width:780px;
}
.qvf-investor-section-heading.is-stacked p {
    max-width:720px;
    margin:14px 0 0;
}
.qvf-investor-case-grid article a {
    display:inline-block;
    margin-top:14px;
    color:#8f8f97 !important;
    font-size:9px;
    text-decoration:none !important;
}
.qvf-investor-case-grid article a:hover { color:#fff !important; }

/* Deal Room: invite a co-investor / Angel Sponsor */
.qvf-deal-partner-referral {
    display:grid;
    grid-template-columns:minmax(0,.8fr) minmax(360px,1fr);
    gap:48px;
    margin-top:64px;
    padding:42px;
    border:1px solid var(--qvf-ir-line);
    background:linear-gradient(135deg,#121215,#170d11);
}
.qvf-deal-partner-referral h2 {
    max-width:600px;
    margin:10px 0 14px;
    color:#fff;
    font-size:clamp(28px,3vw,42px);
    line-height:1.05;
}
.qvf-deal-partner-referral-copy p {
    max-width:620px;
    margin:0;
    color:#8f8f97;
    font-size:13px;
    line-height:1.7;
}
.qvf-deal-partner-referral-form {
    display:grid;
    gap:13px;
}
.qvf-deal-referral-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.qvf-deal-partner-referral-form label > span {
    display:block;
    margin-bottom:6px;
    color:#8d8d95;
    font-size:9px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.qvf-deal-partner-referral-form input,
.qvf-deal-partner-referral-form textarea {
    width:100%;
    padding:12px;
    border:1px solid rgba(255,255,255,.12);
    background:#09090c;
    color:#fff;
}
.qvf-deal-partner-referral-form button {
    justify-self:start;
    min-height:42px;
    padding:0 16px;
    border:1px solid #c72538;
    background:#c72538;
    color:#fff;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
}
.qvf-deal-partner-referral-form small { color:#66666e; font-size:9px; line-height:1.5; }

@media (max-width: 900px) {
    .qvf-project-discussion-head,
    .qvf-submit-hero-grid,
    .qvf-filmmaker-hero-grid,
    .qvf-deal-partner-referral {
        grid-template-columns:1fr;
    }
    .qvf-filmmaker-avatar { max-width:280px; }
    .qvf-filmmaker-gallery-grid { grid-template-columns:repeat(3,1fr); }
    .qvf-filmmaker-project-grid { grid-template-columns:repeat(2,1fr); }
    .qvf-deal-partner-referral { padding:28px; }
}
@media (max-width: 620px) {
    .qvf-student-room .qvf-student-hero h1,
    .qvf-student-join-copy h1,
    .qvf-submit-hero h1 {
        font-size:clamp(36px,11vw,50px) !important;
    }
    .qvf-student-project-submit-cta,
    .qvf-submit-form-head {
        align-items:flex-start;
        flex-direction:column;
    }
    .qvf-project-discussion { padding:52px 0; }
    .qvf-project-comment { grid-template-columns:40px 1fr; padding:14px; }
    .qvf-project-comment-avatar { width:40px; height:40px; }
    .qvf-project-comment.depth-2,
    .qvf-project-comment.depth-3 { margin-left:20px; }
    .qvf-project-comment-body header { flex-direction:column; gap:6px; }
    .qvf-project-share-link > div,
    .qvf-filmmaker-profile-share { grid-template-columns:1fr; }
    .qvf-filmmaker-gallery-grid { grid-template-columns:repeat(2,1fr); }
    .qvf-filmmaker-project-grid { grid-template-columns:1fr; }
    .qvf-deal-referral-grid { grid-template-columns:1fr; }
}


/* v0.23.0 final login / registration sizing pass */
.qvf-student-login-form .login-submit,
.qvf-student-login-form .login-submit input[type=submit] {
    box-sizing:border-box;
}
.qvf-student-login-form .login-submit input[type=submit] {
    display:flex !important;
    align-items:center;
    justify-content:center;
    border-radius:0 !important;
    border:1px solid #c72538 !important;
    background:#c72538 !important;
    color:#fff !important;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.qvf-student-register-button {
    border-radius:0 !important;
    letter-spacing:.06em;
    text-transform:none;
}
.qvf-student-join-copy h1 {
    max-width:620px;
}
@media (max-width:620px) {
    .qvf-student-room .qvf-student-hero h1 { font-size:clamp(34px,9vw,44px) !important; }
    .qvf-student-join-copy h1 { font-size:clamp(28px,8.5vw,38px) !important; }
}

/* ==========================================================
   QVFilm Projects v0.24.0
   Student Identity & Access Polish
   ========================================================== */

/* Student Room: calm the hero and keep the login composition cinematic. */
.qvf-student-room .qvf-student-hero-copy h1 {
    max-width: 760px;
    font-size: clamp(42px, 5.1vw, 72px) !important;
    line-height: .98 !important;
    letter-spacing: -.045em;
}
.qvf-student-login-copy h2 {
    max-width: 560px;
    font-size: clamp(32px, 3.4vw, 48px) !important;
    line-height: 1.02;
}
.qvf-student-login-copy > p { max-width: 570px; }
.qvf-student-login-art {
    margin-top: 28px;
    max-width: 620px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: #0b0b0e;
}
.qvf-student-login-art img {
    display: block;
    width: 100%;
    height: auto;
    opacity: .94;
}
.qvf-student-login-form #loginform .login-submit,
.qvf-student-login-form #loginform p.login-submit {
    margin: 18px 0 0 !important;
    width: 100%;
}
.qvf-student-login-form #wp-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 46px;
    margin: 0 !important;
    text-align: center;
}

/* Join page: keep registration heading editorial, not billboard-sized. */
.qvf-student-join-copy h1 {
    max-width: 640px;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: 1.02 !important;
}
.qvf-student-join-card h2 {
    font-size: clamp(28px, 3vw, 40px) !important;
}
.qvf-password-meter {
    --qvf-password-score: 0;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    color: #777780;
    font-size: 9px;
}
.qvf-password-meter::before {
    content: '';
    grid-column: 1 / -1;
    height: 3px;
    background: linear-gradient(90deg,#c72538 calc(var(--qvf-password-score) * 100%),rgba(255,255,255,.08) 0);
    transition: background .18s ease;
}
.qvf-password-meter.is-medium::before { background: linear-gradient(90deg,#d4a64d calc(var(--qvf-password-score) * 100%),rgba(255,255,255,.08) 0); }
.qvf-password-meter.is-strong::before { background: linear-gradient(90deg,#58ba78 100%,rgba(255,255,255,.08) 0); }
.qvf-password-meter b { grid-column: 1 / -1; font-weight: 600; }
.qvf-password-meter.is-strong b { color:#71cd8e; }

/* Activation gate: newly-created accounts do not see profile/invite/project tools yet. */
.qvf-student-activation-gate {
    display: grid;
    grid-template-columns: 76px minmax(0,1fr);
    gap: 28px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto 72px;
    padding: clamp(28px,4vw,48px);
    background: linear-gradient(135deg,#111115,#170d11);
}
.qvf-student-activation-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(199,37,56,.45);
    border-radius: 50%;
    color: #e45a6b;
    font-size: 26px;
}
.qvf-student-activation-gate h2 { margin: 8px 0 12px; color:#fff; font-size: clamp(28px,4vw,42px); }
.qvf-student-activation-gate p { max-width: 650px; color:#92929a; line-height:1.7; }
.qvf-student-activation-address { color:#fff !important; font-weight:700; }
.qvf-student-activation-gate .qvf-student-resend-form { margin-top:20px; }

/* Student Room now presents profile information instead of a giant edit form. */
.qvf-student-profile-summary-grid {
    display: grid;
    grid-template-columns: 190px minmax(0,1fr);
    gap: 30px;
    align-items: start;
}
.qvf-student-profile-summary-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    background:#0b0b0e;
}
.qvf-student-profile-summary-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.qvf-student-profile-summary-facts {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
}
.qvf-student-profile-summary-facts > div { padding:16px; background:#111114; }
.qvf-student-profile-summary-facts span { display:block; margin-bottom:6px; color:#72727a; font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.qvf-student-profile-summary-facts strong { color:#fff; font-size:13px; line-height:1.4; }
.qvf-student-profile-summary-bio { max-width:720px; margin:22px 0 0; color:#a0a0a8; font-size:13px; line-height:1.75; }
.qvf-student-profile-summary-bio.is-empty { color:#777780; font-style:italic; }
.qvf-student-profile-summary-actions { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top:22px; }
.qvf-student-profile-summary-actions > span { color:#c7a95f; font-size:10px; }
.qvf-student-text-link { color:#cfcfd3 !important; font-size:10px; font-weight:700; text-decoration:none !important; }

/* Dedicated filmmaker-profile editing workspace. */
.qvf-student-profile-workspace { min-height:70vh; }
.qvf-student-workspace-hero {
    padding: 68px 0 44px;
    border-bottom:1px solid rgba(255,255,255,.08);
    background: radial-gradient(circle at 75% 10%,rgba(199,37,56,.11),transparent 36%),#0b0b0e;
}
.qvf-student-workspace-hero h1 { max-width:840px; margin:12px 0 18px; color:#fff; font-size:clamp(36px,5vw,60px); line-height:1; }
.qvf-student-workspace-hero p { max-width:760px; margin:0 0 14px; color:#9999a1; font-size:14px; line-height:1.75; }
.qvf-student-workspace-back { display:inline-block; margin-bottom:28px; color:#8f8f97 !important; font-size:10px; text-decoration:none !important; }
.qvf-student-profile-editor-shell { padding:48px 0 80px; }
.qvf-student-profile-editor-card { max-width:1040px; margin:0 auto; }
.qvf-student-profile-editor-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:28px; padding-top:24px; border-top:1px solid rgba(255,255,255,.08); }
.qvf-student-editor-review-note { margin:12px 0 0; text-align:right; color:#777780; font-size:10px; }

/* Ajax media controls */
.qvf-student-file-control {
    position:relative;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:12px;
    align-items:center;
    min-height:46px;
    margin-top:8px;
    border:1px solid rgba(255,255,255,.12);
    background:#0c0c0f;
    overflow:hidden;
}
.qvf-student-file-control strong { display:grid; place-items:center; align-self:stretch; padding:0 16px; background:#1a1a1f; color:#fff; font-size:10px; text-transform:uppercase; letter-spacing:.06em; }
.qvf-student-file-control em { min-width:0; padding-right:12px; overflow:hidden; color:#85858d; font-size:10px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.qvf-student-file-control input[type=file] { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.qvf-student-upload-progress {
    position:relative;
    display:block;
    height:18px;
    margin-top:10px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.1);
    background:#09090b;
}
.qvf-student-upload-progress[hidden] { display:none !important; }
.qvf-student-upload-progress i { position:absolute; inset:0 auto 0 0; width:0; background:#c72538; transition:width .15s linear; }
.qvf-student-upload-progress b { position:relative; z-index:2; display:block; padding:2px 6px; color:#fff; font-size:9px; line-height:12px; }
.qvf-student-upload-message { display:block; min-height:16px; margin-top:7px; color:#777780; font-size:10px; }
.qvf-student-upload-message.is-success { color:#70c98b; }
.qvf-student-upload-message.is-error { color:#e46a78; }
.qvf-student-profile-gallery-thumb { position:relative; margin:0; }
.qvf-student-profile-gallery-thumb button {
    position:absolute;
    right:7px;
    bottom:7px;
    min-height:28px;
    padding:0 9px;
    border:1px solid rgba(255,255,255,.2);
    background:rgba(7,7,9,.82);
    color:#fff;
    font-size:9px;
    cursor:pointer;
}

/* Comment composer: resist theme autosize scripts and stay visually contained. */
.qvf-project-comment-form { max-width: 860px; }
.qvf-project-comment-form #respond,
.qvf-project-comment-form .comment-respond,
.qvf-project-comment-form form { width:100%; max-width:860px; }
.qvf-project-comment-form .comment-form-comment { margin:0 0 12px; }
.qvf-project-comment-form textarea#comment {
    display:block !important;
    box-sizing:border-box !important;
    width:100% !important;
    height:140px !important;
    min-height:140px !important;
    max-height:220px !important;
    padding:16px !important;
    overflow:auto !important;
    resize:vertical !important;
    line-height:1.65 !important;
}
.qvf-project-comment-form .form-submit { margin:14px 0 0; }

/* Investor login illustration receives a stronger cinematic crop. */
.qvf-investor-login-visual {
    background-position:center center !important;
    background-size:cover !important;
}
.qvf-investor-login-visual-overlay {
    background:linear-gradient(180deg,rgba(5,5,7,.08),rgba(5,5,7,.82)),linear-gradient(90deg,rgba(5,5,7,.02),rgba(5,5,7,.36)) !important;
}

/* Admin unlock state is intentionally visible in Student Room. */
.qvf-student-admin-unlock {
    margin-top:18px;
    padding:11px 14px;
    border:1px solid rgba(88,186,120,.28);
    background:rgba(88,186,120,.07);
    color:#7bd096;
    font-size:10px;
}

@media (max-width: 760px) {
    .qvf-student-room .qvf-student-hero-copy h1 { font-size:clamp(36px,11vw,52px) !important; }
    .qvf-student-profile-summary-grid { grid-template-columns:1fr; }
    .qvf-student-profile-summary-photo { width:min(220px,72vw); }
    .qvf-student-profile-summary-facts { grid-template-columns:1fr; }
    .qvf-student-activation-gate { grid-template-columns:1fr; }
    .qvf-student-profile-editor-actions { justify-content:stretch; flex-direction:column-reverse; }
    .qvf-student-profile-editor-actions .qvf-student-button { width:100%; text-align:center; }
}


/* ==========================================================
   v0.24.1 — Access state + Investor typography polish
   ========================================================== */

/* Keep the cinematic login visual on the exact same type system as the login panel. */
.qvf-investor-room .qvf-investor-login-visual-copy,
.qvf-investor-room .qvf-investor-login-visual-copy > span,
.qvf-investor-room .qvf-investor-login-visual-copy strong,
.qvf-investor-room .qvf-investor-login-visual-copy p {
    font-family:'DM Sans',sans-serif !important;
}
.qvf-investor-room .qvf-investor-login-visual-copy strong {
    font-weight:700 !important;
    letter-spacing:-.035em !important;
}

/* Investor identity card: portrait on the left, identity and actions on the right. */
.qvf-investor-room .qvf-investor-account {
    display:grid !important;
    grid-template-columns:72px minmax(0,1fr) !important;
    gap:16px !important;
    align-items:center !important;
    padding:18px !important;
}
.qvf-investor-account-portrait {
    display:grid;
    place-items:center;
}
.qvf-investor-room .qvf-investor-account-avatar {
    width:64px !important;
    height:64px !important;
    margin:0 !important;
    border-radius:50%;
    object-fit:cover;
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 8px 24px rgba(0,0,0,.28);
}
.qvf-investor-account-copy {
    min-width:0;
}
.qvf-investor-account-copy > span,
.qvf-investor-account-copy > strong,
.qvf-investor-account-copy > small {
    display:block;
}
.qvf-investor-account-copy > span {
    margin:0 0 5px;
    color:var(--qvf-ir-dim);
    font-size:9px;
    font-weight:700;
    letter-spacing:.14em;
    text-transform:uppercase;
}
.qvf-investor-account-copy > strong {
    color:#fff;
    font-size:17px;
    line-height:1.3;
}
.qvf-investor-account-copy > small {
    margin-top:3px;
    overflow:hidden;
    color:var(--qvf-ir-muted);
    font-size:11px;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.qvf-investor-account-actions {
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
    margin-top:12px;
}
.qvf-investor-account-actions a {
    display:inline-flex !important;
    align-items:center;
    gap:6px;
    margin:0 !important;
    padding:0 0 2px !important;
    border:0 !important;
    border-bottom:1px solid rgba(255,255,255,.25) !important;
    color:#d7d7db !important;
    font-size:10px !important;
    font-weight:650 !important;
    line-height:1.4;
    text-decoration:none !important;
}
.qvf-investor-account-actions a:hover {
    color:#fff !important;
    border-bottom-color:#fff !important;
}
.qvf-investor-account-actions svg {
    width:14px;
    height:14px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
    flex:0 0 auto;
}

/* Readability for the four global indie-film proof cards. */
.qvf-investor-room .qvf-investor-case-grid article {
    padding:24px !important;
}
.qvf-investor-room .qvf-investor-case-grid strong {
    margin:32px 0 12px !important;
    font-size:21px !important;
    line-height:1.25 !important;
}
.qvf-investor-room .qvf-investor-case-grid p {
    font-size:14.5px !important;
    line-height:1.72 !important;
}
.qvf-investor-room .qvf-investor-case-grid small {
    font-size:9.5px !important;
    line-height:1.5 !important;
}
.qvf-investor-room .qvf-investor-case-grid article a {
    font-size:10px !important;
    line-height:1.45 !important;
}

/* Seeking Capital cards need titles/loglines that can be scanned at dashboard distance. */
.qvf-investor-room .qvf-investor-suggested-card > div {
    padding:19px !important;
}
.qvf-investor-room .qvf-investor-suggested-card h3 {
    margin:8px 0 10px !important;
    font-size:22px !important;
    line-height:1.2 !important;
}
.qvf-investor-room .qvf-investor-suggested-card p {
    margin:0 0 16px !important;
    color:#a4a4ab !important;
    font-size:14px !important;
    line-height:1.68 !important;
}

@media (max-width:760px) {
    .qvf-investor-room .qvf-investor-account {
        grid-template-columns:56px minmax(0,1fr) !important;
        gap:12px !important;
    }
    .qvf-investor-room .qvf-investor-account-avatar {
        width:52px !important;
        height:52px !important;
    }
    .qvf-investor-account-actions {
        gap:7px 10px;
    }
}
