
@font-face {
    font-display: swap;
    font-family: TCCC-UnityText;
    font-style: normal;
    font-weight: 400;
    src: url(https://cognition-public-storage.s3.ap-southeast-2.amazonaws.com/coca-cola-festive-season-promotion-2025/fonts/tccc-unitytext-regular.woff2) format("woff2")
}

@font-face {
    font-display: swap;
    font-family: TCCC-UnityText;
    font-style: normal;
    font-weight: 700;
    src: url(https://cognition-public-storage.s3.ap-southeast-2.amazonaws.com/coca-cola-festive-season-promotion-2025/fonts/tccc-unitytext-bold.woff2) format("woff2")
}

:root {

    --colour-neutral-1000: hsl(0, 0%, 100%);
    --colour-neutral-900: hsl(0, 0%, 90%);
    --colour-neutral-800: hsl(0, 0%, 80%);
    --colour-neutral-700: hsl(0, 0%, 70%);
    --colour-neutral-600: hsl(0, 0%, 60%);
    --colour-neutral-500: hsl(0, 0%, 50%);
    --colour-neutral-400: hsl(0, 0%, 40%);
    --colour-neutral-300: hsl(0, 0%, 30%);
    --colour-neutral-200: hsl(0, 0%, 20%);
    --colour-neutral-100: hsl(0, 0%, 10%);
    --colour-neutral-0: hsl(0, 0%, 0%);
    --colour-neutral-900: #FFFFFF;
    --colour-neutral-0: #000000;

    --colour-secondary: #f00009;
    --colour-tertiary: #115833;

    --colour-background: var(--colour-neutral-900);

    --colour-text: var(--colour-neutral-0);
    --colour-headline: var(--colour-secondary);

    --colour-highlight: var(--colour-secondary);

    --font-family-sans-serif: "TCCC-UnityText", sans-serif;
    --font-family-serif: "richmond-display", serif;
}

body {
    color: var(--colour-text);
    background: var(--colour-background);
    font-family: var(--font-family-sans-serif);
}

* {
    color: var(--colour-text);
}

h1, h2, h3, h4, h5, h6,
legend {
    font-family: var(--font-family-sans-serif);
    font-weight: bold;
    color: var(--colour-headline);
}

.minimals {
    font-size: 0.8em;
}

.text-wrap-balance {
    text-wrap: balance;
}

#app a:link, #app a:visited {
    color: var(--colour-text);
    text-decoration: underline;
}

#app a:hover, #app a:active {
    color: var(--colour-highlight);
}

#app .btn,
#app a.btn {
    background: var(--colour-secondary);
    color: var(--colour-neutral-900);
    border: none;
    border-radius: 0em;
    font-family: var(--font-family-sans-serif);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0em;
    padding: 0.3em 1.25em 0.3em;
    line-height: 1;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, background-size 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}

#app .btn.btn-secondary,
#app a.btn.btn-secondary {
    background: var(--colour-neutral-900);
    color: var(--colour-secondary);
}

#app .btn:hover,
#app .btn:focus,
#app .btn.btn-secondary:hover,
#app .btn.btn-secondary:focus {
    /*transform: scale(1.05);*/

    background: var(--colour-tertiary);
    color: var(--colour-neutral-900);
    box-shadow: none;
}

#header {
    --colour-background: var(--colour-secondary);
    background: var(--colour-background);
}

.header-grid {
    display: grid;

    --colour-background: var(--colour-secondary);
    --colour-text: var(--colour-neutral-900);
    --colour-headline: var(--colour-neutral-900);
    --colour-highlight: var(--colour-neutral-0);

    background: var(--colour-background);
    color: var(--colour-text);

    grid-template-areas:
            'bctth bctth bctth bctth bctth bctth'
            '. win-lockup win-lockup win-lockup win-lockup .'
            '. info info info info .'
            'santa santa santa-2 . . .'
            'santa santa . bauble bauble .'
            'santa santa . . . .'
            'santa santa . minimals minimals .';

    grid-template-columns: 1rem 3fr 3fr 2fr 2fr 1rem;
    gap: 1.5rem 0;
    padding-top: 2rem;

    position: relative;
}

.bctth {
    grid-area: bctth;
    width: 100%;
    max-width: 80%;
    margin-inline: auto;
}

.win-lockup {
    grid-area: win-lockup;
    max-width: 100%;
}

.bauble {
    grid-area: bauble;
    width: 100%;
    max-width: 100%;
}

.header-santa {
    grid-area: santa;
    grid-column: santa / santa-2;
    align-self: end;
}

.header-santa img {
    aspect-ratio: 0.65;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.header-info {
    grid-area: info;
    text-align: center;
}

.header-info h2 {
    font-size: 5vw;
}

.promo-open .header-info h2 {
    line-height: 1.4;
}

.header-info h2 .btn {
    font-size: 1em !important;
    vertical-align: baseline;
    margin-top: 0.25em;
}

.header-minimals {
    grid-area: minimals;
    align-self: end;
    text-align: center;
    font-size: clamp(8px, 0.8rem, 3vw);
}

#footer {
    --colour-background: var(--colour-secondary);
    --colour-text: var(--colour-neutral-900);
    --colour-highlight: var(--colour-neutral-0);

    background: var(--colour-background);
    color: var(--colour-text);

    border-top: 5px solid var(--colour-tertiary);

}

#footer .links {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    text-transform: uppercase;
    font-family: var(--font-family-sans-serif);
    font-weight: bold;
    letter-spacing: 0;
    padding: 2rem 0 1rem;
    font-size: 1.2rem;
}

#footer .links > * {
    margin: 0.5rem 0;
    line-height: 1;
}

#footer .participating-brands {
    display: grid;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    gap: 0.5em;

    grid-template-areas:
            'text text text text'
            '. . . .'
            '. . . .';

    max-width: 50em;
    margin: 1rem auto;

    font-weight: bold;
}

#footer .participating-brands-text {
    grid-area: text;
}

#footer .participating-brands-logo {
    max-width: 100%;
}

#footer .minimals {
    font-family: "Roboto Condensed", sans-serif;
    line-height: 1.2;
}

#footer .links a:link,
#footer .links a:visited {
    /*text-decoration: underline;*/
    text-decoration: none;
}

#footer a:hover,
#footer a:active {
    /*color: var(--colour-neutral-900);*/
}

#footer img.logo {
    /*opacity: 30%;*/
}

@media (min-width: 576px) {
    .header-grid {
        grid-template-columns: 1rem 2fr 1fr 1fr 1fr 1rem;
    }

    .header-info h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 767.98px) {

    .header-info h2.post-promo {
        font-size: min(6vw, 1.6rem);
    }

    .header-info p.post-promo {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .header-grid {
        grid-template-areas:
                'santa . bctth bctth bctth .'
                'santa . win-lockup win-lockup win-lockup .'
                'santa . info info info .'
                'santa . . . bauble .'
                'santa . . minimals bauble .'
        ;
        grid-template-columns: 40fr 5fr 0fr 40fr 15fr 5fr;
        grid-template-rows: auto;
        gap: 2rem 0;
    }

    .header-grid.promo-closed {
        grid-template-areas:
                'santa . bctth bctth bctth .'
                'santa . win-lockup win-lockup win-lockup .'
                'santa . info info bauble .'
                'santa . minimals minimals minimals .'
    ;
    }

    .header-santa {
        grid-column: santa;
    }

    .header-santa img {
        aspect-ratio: 0.55;
    }

    .promo-open .bauble {
        position: absolute;
        top: 0;
        left: 0;
    }

    .header-info {
        padding: 0;

        text-align: center;
        align-items: center;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .promo-closed .header-info {
        text-align: left;
        align-items: start;
    }

    .header-info h2 {
        font-size: 1.5rem;
    }

}

@media (min-width: 992px) {
    .header-grid {
        grid-template-columns: 36fr 5fr 15fr 25fr 15fr 5fr;
    }

    #footer .links {
        flex-direction: row;
        font-size: 0.9rem;
    }

    #footer .links a {
        /*padding-right: 1em;*/
        margin: 0 1em;
        /*border-right: 1px solid var(--colour-neutral-0);*/
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #footer .links a:last-child {
        border-right: none;
    }

    #footer .participating-brands {
        grid-template-areas:
                'text . . . . . . . .';
        grid-template-columns: 16ch repeat(8, 1fr);
        grid-template-rows: auto;
        font-size: 0.9rem;

        text-align: center;
    }

    #footer .participating-brands-logo {
        width: 4.25em;
    }
}

@media (min-width: 1200px) {

    #footer .links {
        /*font-size: 1rem;*/
    }
}