:root {
    /* Font Variables */
    --font-primary: 'Arial', sans-serif;
    --font-secondary: 'Georgia', serif;

    /* Font Size Variables (1em = 16px) */
    --font-size-small: 0.875em; /* 14px */
    --font-size-base: 1em; /* 16px */
    --font-size-medium: 1.125em; /* 18px */
    --font-size-large: 1.5em; /* 24px */
    --font-size-xlarge: 2em; /* 32px */

    /* Colour Variables */
    --color-primary: #773B88;
    --color-accent-1: #FDBD43;
    --color-accent-2: #88C540;
    --color-white: #ffffff;
    --color-black: #000000;

    /* Spacing Variables */
    --spacing-small: 0.5rem;
    --spacing-medium: 1rem;
    --spacing-large: 2rem;

    /* Border Radius */
    --border-radius: 4px;
}

p {
    margin-bottom: 1rem; /* Adds spacing between paragraphs */
    line-height: 1.6; /* Improves readability */
}


/* General Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    font-size: 100%; /* 16px base */
    -webkit-text-size-adjust: 100%;
    line-height: 1.5;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(0.5rem, 1rem, 2rem); /* Default font size */
    color: #fff; /* Neutral text colour */
    background-color: #000;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

img,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

svg {
    fill: currentColor;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
    appearance: none;
}

textarea {
    resize: none; /* Prevent default resizing */
}

a {
    cursor:pointer !important;
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 1rem 0;
}

code {
    font-family: "Courier New", Courier, monospace;
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

/* Headings Reset */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.2;
}

/* Forms and Inputs Reset */
form {
    margin: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input,
textarea,
button,
select {
    width: 100%;
    padding: 0.5rem;
    line-height: 1.4;
    border-radius: 4px;
}

input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #007BFF;
    outline-offset: 2px;
}

button {
    cursor: pointer;
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

legend {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Craft CMS-specific */
.cp-nav {
    background: none;
    margin: 0;
    padding: 0;
}

.cp-nav a {
    display: inline-block;
    padding: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.cp-nav a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Mobile Hide */
.mobile-blocker {
  display: none; /* hidden by default */
}

@media (max-width: 1220px) {
  .mobile-blocker {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    background: #ffffff;
    color:#9f9f9f;
    z-index: 9999;
    padding: 2em;
    text-align: center;
    font-size: 1.2rem;
    font-family: sans-serif;
    line-height: 1.5;
  }

  body > *:not(.mobile-blocker) {
    display: none !important;
  }
}


/* Style 404 */
section.error-404 {
    height: 100vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2.5em;
    background:#b44ef6;
}

.error-404__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-404__graphic {
    max-width: 20vw;
    margin-bottom:2em;
}

a.button.error-404__btn {
    padding: 10px 34px;
    rotate: -4deg;
    background: #000000;
    border-radius: 14px;
}