/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

@view-transition {
    navigation: auto;
}

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

body {
    margin: 0;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}

button,
input { /* 1 */
    overflow: visible;
}

button,
select { /* 1 */
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

details {
    display: block;
}

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}

body {
    font-family: "Plus Jakarta Sans", serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Outfit", serif;
}

button {
    cursor: pointer;
}

.btn--primary {
    text-align: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--button-border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    background: var(--primary-colour);
    color: #ffffff;
    border: 2px solid var(--primary-colour);
}

.btn--primary:hover {
    background: var(--primary-colour-lighter);
    border-color: var(--primary-colour-lighter);
}

.btn--secondary {
    text-align: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--button-border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    background: transparent;
    color: var(--text-colour-dark);
    border: 2px solid var(--text-colour-dark);
}

.btn--secondary:hover {
    background: var(--text-colour-dark);
    color: #fff;
}

.nav {
    background: #fff;
    font-family: "Outfit", sans-serif;
    /*max-width: var(--container-width);*/
    /*margin: 0 auto;*/
}

.nav__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    margin: 0 auto;
    padding: 2rem 2.5rem;
}

.nav__logo {
    flex-shrink: 0;
    justify-self: start;
}

.nav__logo img {
    display: block;
    height: 60px;
    width: auto;
}

.nav__toggle {
    display: none;
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
}

/* Links — centre column */
.nav__links {
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-self: center;
}

.nav__links a {
    color: var(--text-colour-dark);
    text-decoration: none;
    font-weight: 500;
}

.nav__links a:hover {
    color: var(--primary-colour);
}

.nav__links a.nav__link--active {
    color: var(--primary-colour);
    text-underline-offset: 4px;
}

/* Actions — right column */
.nav__actions {
    display: flex;
    gap: 0.75rem;
    justify-self: end;
}

/* Mobile */
@media (max-width: 1023px) {
    .nav__inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .nav__burger {
        display: flex;
        margin-left: auto;
    }

    .nav__links,
    .nav__actions {
        flex-basis: 100%;
        order: 3;
        display: none;
    }

    .nav__toggle:checked ~ .nav__links,
    .nav__toggle:checked ~ .nav__actions {
        display: flex;
    }

    .nav__links {
        flex-direction: column;
        gap: 0.5rem;
        justify-self: stretch;
    }

    .nav__links a {
        display: block;
        padding: 0.5rem 0;
    }

    .nav__actions {
        flex-direction: column;
        justify-self: stretch;
        margin-top: 0.5rem;
    }

    .nav__btn {
        text-align: center;
    }
}

.cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    padding: 1rem 1.25rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));

    background: var(--secondary-colour);
    color: var(--text-colour-lighter);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    border: var(--text-colour-dark) 3px solid;
}

.cookie-bar__text {
    margin: 0;
    flex: 1 1 260px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-bar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.cookie-bar__link {
    color: inherit;
    text-decoration: underline;
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .cookie-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-bar__actions {
        justify-content: center;
    }

    .cookie-bar__actions .btn--primary {
        flex: 1 1 auto;
    }
}