/* =========================================================
   VENUS STAR HIGH SCHOOL
   DEBATE & LANGUAGE POLICY
   Creative Subject Page
   ========================================================= */


/* =========================================================
   ROOT / DESIGN TOKENS
   ========================================================= */

:root {
    --vshs-ink: #12161c;
    --vshs-slate: #5b6472;
    --vshs-paper: #ffffff;

    --vshs-blue: #1b3a6b;
    --vshs-deep: #0b1b33;
    --vshs-sky: #3ec1f3;

    --vshs-line: #e2e7ee;
    --vshs-dark-line: rgba(255, 255, 255, 0.14);

    --vshs-white: #ffffff;
    --vshs-light-text: #d4deeb;
    --vshs-muted-light: #aebed2;

    --vshs-font:
        "Inter",
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0;

    overflow-x: hidden;

    background: var(--vshs-paper);
    color: var(--vshs-ink);

    font-family: var(--vshs-font);
    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* =========================================================
   MEDIA RESET
   ========================================================= */

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

figure {
    margin: 0;
}

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


/* =========================================================
   MAIN CONTENT
   ========================================================= */

main {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   HERO
   ========================================================= */

.vshs-creative-intro {
    width: 100%;
    margin: 0;
    padding:
        clamp(48px, 6vw, 92px)
        clamp(28px, 4vw, 76px)
        clamp(58px, 7vw, 100px);

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

    gap: clamp(36px, 5vw, 92px);

    align-items: center;

    background: var(--vshs-paper);
}


/* =========================================================
   HERO COPY
   ========================================================= */

.vshs-creative-copy {
    width: 100%;
    min-width: 0;
}

.vshs-creative-kicker {
    margin: 0 0 20px;

    color: var(--vshs-blue) !important;

    font-family: var(--vshs-font);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.vshs-creative-title {
    margin: 0;
    max-width: 820px;

    color: var(--vshs-ink) !important;

    font-family: var(--vshs-font);
    font-size: clamp(48px, 6.5vw, 100px);
    line-height: 0.94;

    font-weight: 800;
    letter-spacing: -0.06em;
}

.vshs-creative-description {
    margin: 30px 0 0;
    max-width: 780px;

    color: var(--vshs-slate) !important;

    font-family: var(--vshs-font);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.78;
    font-weight: 400;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.vshs-creative-image-wrap {
    position: relative;

    width: 100%;
    height: min(680px, 48vw);
    min-height: 500px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: var(--vshs-deep);
}

.vshs-creative-image-wrap > img,
.vshs-creative-hero-image {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;
}

.vshs-creative-image-wrap::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            transparent 48%,
            rgba(7, 18, 35, 0.82) 100%
        );

    pointer-events: none;
}

.vshs-creative-image-label {
    position: absolute;

    left: clamp(20px, 2vw, 32px);
    bottom: clamp(18px, 2vw, 28px);

    z-index: 2;

    margin: 0;

    color: #09122e !important;

    font-family: var(--vshs-font);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.14em;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.vshs-creative-rule {
    width: 100%;
    height: 1px;

    margin: 0;
    padding: 0;

    background: var(--vshs-line);
}


/* =========================================================
   GENERAL SECTION
   ========================================================= */

.vshs-creative-section {
    width: 100%;

    margin: 0;
    padding:
        clamp(68px, 8vw, 120px)
        clamp(28px, 4vw, 76px);

    background: var(--vshs-paper);
    color: var(--vshs-ink);
}


/* =========================================================
   SECTION INNER
   ========================================================= */

.vshs-creative-section-inner {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;
}


/* =========================================================
   SECTION TYPOGRAPHY — LIGHT
   ========================================================= */

.vshs-creative-section-kicker {
    margin: 0 0 14px;

    color: var(--vshs-blue) !important;

    font-family: var(--vshs-font);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.vshs-creative-section-heading {
    margin: 0;
    max-width: 1080px;

    color: var(--vshs-ink) !important;

    font-family: var(--vshs-font);
    font-size: clamp(34px, 4.5vw, 68px);
    line-height: 1.02;

    font-weight: 800;
    letter-spacing: -0.05em;
}

.vshs-creative-section-copy {
    max-width: 900px;

    margin: 22px 0 0;

    color: var(--vshs-slate) !important;

    font-family: var(--vshs-font);
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.7;
    font-weight: 400;
}


/* =========================================================
   SKILLS
   ========================================================= */

.vshs-creative-skill-grid {
    display: grid;

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

    width: 100%;

    margin-top: 58px;

    border-top: 1px solid var(--vshs-line);
}

.vshs-creative-skill {
    min-width: 0;

    padding:
        32px
        clamp(20px, 2vw, 36px)
        22px
        0;

    border-right: 1px solid var(--vshs-line);
}

.vshs-creative-skill + .vshs-creative-skill {
    padding-left: clamp(20px, 2vw, 36px);
}

.vshs-creative-skill:last-child {
    border-right: 0;
}

.vshs-creative-skill-number {
    display: block;

    color: var(--vshs-blue) !important;

    font-family: var(--vshs-font);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.vshs-creative-skill h3 {
    margin: 14px 0 9px;

    color: var(--vshs-ink) !important;

    font-family: var(--vshs-font);
    font-size: clamp(21px, 1.5vw, 26px);
    line-height: 1.2;

    font-weight: 700;
    letter-spacing: -0.025em;
}

.vshs-creative-skill p {
    margin: 0;

    color: var(--vshs-slate) !important;

    font-family: var(--vshs-font);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
}


/* =========================================================
   DARK SECTIONS
   ========================================================= */

.vshs-creative-section--dark {
    width: 100%;

    background: var(--vshs-deep) !important;
    color: #ffffff !important;
}


/* =========================================================
   DARK SECTION — FORCE CORRECT TEXT COLOURS
   ========================================================= */

/*
   These selectors intentionally use !important because
   the main Venus Star website may contain global rules
   for h1, h2, p, blockquote, etc.
*/

.vshs-creative-section--dark
.vshs-creative-section-kicker {
    color: var(--vshs-sky) !important;
}

.vshs-creative-section--dark
.vshs-creative-section-heading2 {
    margin: 0;
    max-width: 1080px;

    color: #ffffff !important;

    font-family: var(--vshs-font) !important;
    font-size: clamp(34px, 4.5vw, 68px);
    line-height: 1.02;

    font-weight: 800 !important;
    letter-spacing: -0.05em;
}

.vshs-creative-section--dark
.vshs-creative-section-copy {
    color: var(--vshs-light-text) !important;

    font-family: var(--vshs-font) !important;
    font-weight: 400 !important;
}


/* =========================================================
   GALLERY
   ========================================================= */

.vshs-creative-gallery {
    display: grid;

    grid-template-columns:
        1.15fr
        1fr
        1fr
        1.15fr;

    grid-auto-rows: clamp(260px, 24vw, 420px);

    gap: clamp(10px, 1vw, 18px);

    width: 100%;

    margin-top: 56px;
}

.vshs-creative-gallery-card {
    position: relative;

    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #dfe5ec;
}

.vshs-creative-gallery-card--tall {
    grid-row: span 2;
}

.vshs-creative-gallery-card--wide {
    grid-column: span 1;
}


/* =========================================================
   GALLERY IMAGES — FULL CONTAINER
   ========================================================= */

.vshs-creative-gallery-card > img {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
}

.vshs-creative-gallery-card:hover > img {
    transform: scale(1.045);
}


/* =========================================================
   GALLERY OVERLAY
   ========================================================= */

.vshs-creative-gallery-card::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(6, 15, 29, 0.82) 100%
        );

    pointer-events: none;
}


/* =========================================================
   GALLERY CAPTION
   ========================================================= */

.vshs-creative-gallery-caption {
    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 17px;

    z-index: 2;

    margin: 0;

    color: #ffffff !important;

    font-family: var(--vshs-font) !important;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700 !important;
}


/* =========================================================
   FEATURE SECTION
   ========================================================= */

.vshs-creative-feature-grid {
    display: grid;

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

    gap: clamp(40px, 6vw, 100px);

    align-items: center;

    width: 100%;
}


/* =========================================================
   FEATURE IMAGE
   ========================================================= */

.vshs-creative-feature-photo {
    position: relative;

    width: 100%;
    min-height: clamp(440px, 45vw, 700px);

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #dfe5ec;
}

.vshs-creative-feature-photo > img {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   FEATURE LIST
   ========================================================= */

.vshs-creative-feature-list {
    list-style: none;

    width: 100%;

    margin: 34px 0 0;
    padding: 0;

    border-top: 1px solid var(--vshs-line);
}

.vshs-creative-feature-list li {
    display: grid;

    grid-template-columns: 56px minmax(0, 1fr);

    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid var(--vshs-line);
}

.vshs-creative-feature-list strong {
    color: var(--vshs-blue) !important;

    font-family: var(--vshs-font);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
}

.vshs-creative-feature-list span {
    color: var(--vshs-slate) !important;

    font-family: var(--vshs-font);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
}


/* =========================================================
   QUOTE SECTION
   ========================================================= */

.vshs-creative-quote {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 0;

    text-align: center;
}

.vshs-creative-quote-mark {
    margin: 0;

    color: var(--vshs-sky) !important;

    font-family: var(--vshs-font) !important;
    font-size: 64px;
    line-height: 0.7;
    font-weight: 800;
}

.vshs-creative-quote blockquote {
    display: block;

    width: 100%;
    max-width: 1100px;

    margin: 24px auto 0;
    padding: 0;

    color: #ffffff !important;

    font-family: var(--vshs-font) !important;
    font-size: clamp(28px, 4.2vw, 58px);
    line-height: 1.1;

    font-style: normal !important;
    font-weight: 700 !important;

    letter-spacing: -0.045em;
}

.vshs-creative-quote cite {
    display: block;

    margin-top: 22px;

    color: var(--vshs-muted-light) !important;

    font-family: var(--vshs-font) !important;
    font-size: 12px;
    line-height: 1.4;

    font-style: normal !important;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.vshs-creative-reveal {
    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.vshs-creative-reveal.vshs-creative-is-visible {
    opacity: 1;
    transform: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .vshs-creative-intro {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .vshs-creative-image-wrap {
        height: min(680px, 72vw);
        min-height: 480px;
    }

    .vshs-creative-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-auto-rows: 300px;
    }

    .vshs-creative-gallery-card--tall {
        grid-row: span 1;
    }

    .vshs-creative-feature-grid {
        grid-template-columns: 1fr;

        gap: 56px;
    }

    .vshs-creative-feature-photo {
        min-height: 520px;
    }

    .vshs-creative-section-heading,
    .vshs-creative-section-heading2 {
        max-width: 900px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .vshs-creative-intro,
    .vshs-creative-section {
        padding-left: 20px;
        padding-right: 20px;
    }


    /* Hero */

    .vshs-creative-intro {
        padding-top: 40px;
        padding-bottom: 56px;

        gap: 36px;
    }

    .vshs-creative-kicker {
        margin-bottom: 16px;

        font-size: 10px;
    }

    .vshs-creative-title {
        font-size: clamp(42px, 14vw, 64px);
        line-height: 0.94;
    }

    .vshs-creative-description {
        margin-top: 24px;

        font-size: 16px;
        line-height: 1.7;
    }


    /* Hero image */

    .vshs-creative-image-wrap {
        width: 100%;
        height: 500px;
        min-height: 0;
    }


    /* Sections */

    .vshs-creative-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .vshs-creative-section-heading,
    .vshs-creative-section-heading2 {
        font-size: clamp(34px, 10vw, 52px);
    }

    .vshs-creative-section-copy {
        font-size: 16px;
        line-height: 1.7;
    }


    /* Skills */

    .vshs-creative-skill-grid {
        grid-template-columns: 1fr;

        margin-top: 42px;
    }

    .vshs-creative-skill,
    .vshs-creative-skill + .vshs-creative-skill {
        padding:
            24px
            0;

        border-right: 0;
        border-bottom: 1px solid var(--vshs-line);
    }

    .vshs-creative-skill:last-child {
        border-bottom: 0;
    }


    /* Gallery */

    .vshs-creative-gallery {
        grid-template-columns: 1fr;

        grid-auto-rows: 320px;

        gap: 12px;

        margin-top: 40px;
    }

    .vshs-creative-gallery-card--wide {
        grid-column: span 1;
    }

    .vshs-creative-gallery-card--tall {
        grid-row: span 1;
    }


    /* Feature */

    .vshs-creative-feature-grid {
        gap: 44px;
    }

    .vshs-creative-feature-photo {
        min-height: 400px;
    }

    .vshs-creative-feature-list {
        margin-top: 28px;
    }

    .vshs-creative-feature-list li {
        grid-template-columns: 48px minmax(0, 1fr);

        gap: 14px;

        padding: 18px 0;
    }


    /* Quote */

    .vshs-creative-quote-mark {
        font-size: 52px;
    }

    .vshs-creative-quote blockquote {
        font-size: clamp(28px, 9vw, 44px);
        line-height: 1.08;
    }

    .vshs-creative-quote cite {
        font-size: 10px;
        line-height: 1.5;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .vshs-creative-intro,
    .vshs-creative-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .vshs-creative-title {
        font-size: 42px;
    }

    .vshs-creative-image-wrap {
        height: 430px;
    }

    .vshs-creative-gallery {
        grid-auto-rows: 280px;
    }

    .vshs-creative-feature-photo {
        min-height: 340px;
    }
}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .vshs-creative-reveal {
        opacity: 1;
        transform: none;

        transition: none;
    }

    .vshs-creative-gallery-card > img {
        transition: none;
    }
}


/* =========================================================
   FINAL SAFETY OVERRIDES
   Protect this page from the parent website's typography.
   ========================================================= */

.vshs-creative-section--dark p {
    color: var(--vshs-light-text) !important;
}

.vshs-creative-section--dark h1,
.vshs-creative-section--dark h2,
.vshs-creative-section--dark h3 {
    color: #ffffff !important;
}

.vshs-creative-section--dark blockquote {
    color: #ffffff !important;
    font-style: normal !important;
}

.vshs-creative-section--dark cite {
    color: var(--vshs-muted-light) !important;
}

.vshs-creative-section--dark
.vshs-creative-section-kicker {
    color: var(--vshs-sky) !important;
}

.vshs-creative-section--dark
.vshs-creative-gallery-caption {
    color: #ffffff !important;
}


/* =========================================================
   IMPORTANT:
   No global HR styling.
   No body class required.
   No .vshs-creative-page wrapper required.
   ========================================================= */