:root {
    /* ── Brand palette ── */
    --brand-magenta: #d0128c;
    --brand-teal:    #00b18b;
    --brand-black:   #0a0a0a;
    --brand-white:   #ffffff;
    --brand-yellow:  #fff200;
    --brand-lime:    #CDF24C;

    /* ── Legacy names kept for backward-compat ── */
    --blue:          #034ea2;
    --light-blue:    #d4f0e9;
    --dark-grey:     #555555;
    --darker-grey:   #333333;
    --bright:        #ffffff;
    --dark:          #0a0a0a;
    --middle-grey:   #f0f0f0;
    --bluish-green:  #00b18b;
    --yellow:        #fff200;
    --pink:          #d0128c;
}

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

html { box-sizing: border-box; }

body, html {
    padding: 0;
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    background-color: #fafafa;
    color: var(--brand-black);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

/* ── Form fields ───────────────────────────────────────────── */
.Field__Label {
    display: block;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.7em;
    margin-bottom: 0.6em;
    color: var(--brand-black);
}

.Field { margin: 1.5em 0; }

.Field div label {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.Field select,
input[type='text'],
input[type='email'] {
    border: 2px solid var(--brand-black);
    border-radius: 0;
    padding: 0.85rem 1rem;
    font-size: 1em;
    font-family: inherit;
    width: 100%;
    background: #fff;
    transition: border-color 0.12s;
}

.Field select:focus,
input[type='text']:focus,
input[type='email']:focus,
.Field textarea:focus {
    border-color: var(--brand-magenta);
    outline: none;
}

.Field textarea {
    border: 2px solid var(--brand-black);
    border-radius: 0;
    padding: 0.85rem 1rem;
    font-size: 1em;
    font-family: inherit;
    width: 100%;
}

.Field select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding-right: 48px;
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="512" height="512"><path d="m396.6 160 19.4 20.7L256 352 96 180.7l19.3-20.7L256 310.5z"/></svg>');
    background-size: 28px 28px;
    background-position: right 10px center;
    background-repeat: no-repeat;
}

.Field select:focus,
.Field select:active {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="512" height="512"><path d="m396.6 352 19.4-20.7L256 160 96 331.3l19.3 20.7L256 201.5z"/></svg>');
}

.Field__Helptext {
    color: var(--dark-grey);
    font-size: 0.82em;
    margin-top: 0.3em;
}

.Field input[type='checkbox'] {
    appearance: none;
    cursor: pointer;
    height: 20px;
    width: 20px;
    border: 2px solid var(--brand-black);
    border-radius: 0;
    background: #fff;
    flex-shrink: 0;
}

.Field input[type='checkbox']:hover {
    border-color: var(--brand-magenta);
}

.Field input[type='checkbox']:checked {
    background-color: var(--brand-magenta);
    border-color: var(--brand-magenta);
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="white" d="m173.898 439.404-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>');
}

/* ── Buttons ────────────────────────────────────────────────── */
.Button {
    appearance: none;
    background-color: var(--brand-black);
    border: 2px solid var(--brand-black);
    border-radius: 0;
    cursor: pointer;
    font-size: 0.78em;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--brand-white);
    padding: 0.75em 1.6em;
    margin-right: 1em;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.12s, border-color 0.12s;
}

.Button:hover {
    background-color: var(--brand-magenta);
    border-color: var(--brand-magenta);
    color: var(--brand-white);
}

/* ── Cards ──────────────────────────────────────────────────── */
.Card {
    padding: 2rem;
    margin: 1em;
    background-color: var(--brand-white);
    border: 1px solid #e4e4e4;
}

.Card--Two {
    display: grid;
    grid-template-columns: 640px 1fr;
    gap: 2em;
}

.Card--Narrow {
    max-width: 960px;
    width: 100%;
    margin: 2em auto;
}

.Card h1       { margin-top: 0; }
.Card__Description h2 { margin-top: 0; }

/* ── Messages ────────────────────────────────────────────────── */
.Message {
    padding: 16px;
    background-color: var(--brand-teal);
    color: var(--brand-white);
    border-left: 4px solid var(--brand-black);
}

.GreyCard {
    background: #f2f2f2;
    padding: 0.5em 2em;
}

/* ── Footer ─────────────────────────────────────────────────── */
.Footer {
    margin: 0;
    padding: 2.8em 2.5em 2.2em;
    background-color: var(--brand-white);
    border-top: 4px solid var(--brand-teal);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.Footer img {
    max-width: min(100%, 531px);
    display: block;
    opacity: 0.9;
    flex: 0 1 531px;
}

.Footer__Disclaimer {
    margin: 0;
    flex: 1 1 auto;
    max-width: 48rem;
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.62);
}

@media (max-width: 960px) {
    .Footer {
        align-items: flex-start;
    }

    .Footer__Disclaimer {
        max-width: 36rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 760px) {
    .Footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .Footer img {
        flex: 0 0 auto;
        width: 100%;
    }

    .Footer__Disclaimer {
        text-align: left;
        max-width: 100%;
    }
}

.Footer__Tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 0.62em;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.3);
    margin-top: 1.4em;
    margin-bottom: 0;
}

.ProjectHero--Logos {
    margin-top: 1.5em;
    padding: 0 2.5rem 2rem;
}

.ProjectHero--Logos img { max-width: 100%; }

/* ── Gallery items ───────────────────────────────────────────── */
.GalleryItem {
    display: flex;
    flex-direction: column;
}

.GalleryItem p {
    margin: 0 0 0.5em;
    font-size: 0.72em;
    color: var(--brand-black);
    text-decoration: none;
    background-color: var(--brand-yellow);
    padding: 4px 8px;
    display: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.GalleryItem:link, .GalleryItem:visited {
    color: var(--brand-black);
    text-decoration: none;
}

/* ── Cookie consent banner ───────────────────────────────────── */
.CookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--brand-black);
    color: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    line-height: 1.4;
}
.CookieBanner[hidden] { display: none; }
.CookieBanner__Text { margin: 0; flex: 1; }
.CookieBanner__Actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.CookieBanner__Btn {
    padding: 0.5rem 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: none;
    cursor: pointer;
    border-radius: 2px;
}
.CookieBanner__Btn--Accept {
    background: var(--brand-magenta);
    color: var(--brand-white);
}
.CookieBanner__Btn--Accept:hover { opacity: 0.85; }
.CookieBanner__Btn--Decline {
    background: transparent;
    color: var(--brand-white);
    border: 1px solid rgba(255,255,255,0.35);
}
.CookieBanner__Btn--Decline:hover { border-color: var(--brand-white); }
@media (max-width: 600px) {
    .CookieBanner { flex-direction: column; align-items: flex-start; }
}

/* ── Print ───────────────────────────────────────────────────── */
@page {
    size: A4;
    margin: 0.5cm;
    zoom: 1.1;
}

@media print {
    .Panel { display: block !important; }
    .Panel .Gallery { display: block !important; margin-bottom: 0; }
    .Panel .Gallery .GalleryPill.GalleryPill--Arrow { display: block; width: 100%; background-image: none; margin-bottom: 1em; }
    .Gallery--Photos { display: block !important; width: 100% !important; }
    .Gallery--Photos a:link, .Gallery--Photos a:visited { width: 100% !important; display: block; }
    .Gallery.Gallery--Photos img { max-width: 100% !important; border-radius: 0 !important; width: 100% !important; display: block; }
    a.GalleryPill:link, a.GalleryPill:visited { display: block !important; width: 100%; margin: 0 0 1em 0; }
    .Header__Pill--Search  { display: none !important; }
    .Header__Pill--Download { display: none !important; }
    .ProfileHeader { display: none !important; }
    .Profile h1 { margin: 5px 0; font-size: 1.2em; }
    .Profile { font-size: 0.8em !important; }
    .GalleryItem p { display: block; }
}
