﻿/* Copyright © 2025-2026 Kingdom Compiled™. All rights reserved. */

/*
    Table of Contents

    1. Html
        - 1.1 Html fonts
        - 1.2 Html Tags
        - 1.3 Html Fields
    2. Classes
        - 2.1 General
        - 2.2 Common
    3. Wrapper
        - 3.1 General
        - 3.2 Header
        - 3.3 Introduction
        - 3.4 Contact
        - 3.5 Footer
    4. Keyframes
        - 4.1 Animation Classes
        - 4.2 Keyframes
    5. Responsive
*/

/*
    1. Html
*/

/*
    1.1 Html fonts
*/

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aboreto';
    src: url('fonts/Aboreto/Aboreto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.lato {
    font-family: 'Lato';
}

.aboreto {
    font-family: 'Aboreto';
}

/*
    1.2 Html tags
*/

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

section[id],
a[id] {
    /* Purposely 1px off, because we don't want the nav border-bottom to stack with the other divider. */
    scroll-margin-top: 60px; 
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, a, p, span {
    font-weight: 400;
    letter-spacing: 1px;
    font-family: "Aboreto", system-ui;
}

h3, h4, h5, h6 {
     color: #dce8f5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Aboreto", system-ui;
    font-weight: bold;
}

h1 { font-size: 35px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
h4 { font-size: 21px; }
h5 { font-size: 20px; }
h6 { font-size: 19px; }
p  { font-size: 18px; }

.small {
    font-size: 13px;
}

a {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    text-decoration: none;
    color: #759eff;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: none;
    color: #dce8f5;
}

a:hover, a:active, a:focus {
    user-select: none;
    -moz-user-select: none;
    outline: none;
}

img {
    border: 0 none;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

/*
    1.3 Html fields
*/

input[type="text"], input[type="email"], input[type="password"], textarea, select {
    background: transparent none repeat scroll 0 0;
    border: medium none;
    color: #202228;
}

input[type="text"], input[type="email"], textarea {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    box-sizing: border-box;
    line-height: 20px;
    opacity: 0.7;
    padding: 12px 12px 12px 0;
    transition: all 0.2s linear 0s;
    width: 100%;
}

input[type="text"], input[type="email"], input[type="password"], textarea, select {
    margin: 0 0 20px;
    border-bottom: 2px solid #dadada;
    resize: none;
}

button, input[type="submit"], input[type="button"], input[type="reset"] {
    background: #3399e0 none repeat scroll 0 0;
    border: medium none;
    box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.5);
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: lighter;
    line-height: 1.125;
    padding: 12px 25px;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
}

button, input {
    line-height: normal;
}

button, input, select, textarea {
    font-size: 100%;
    max-width: 100%;
    vertical-align: baseline;
}

body, button, input, select, textarea {
    font-family: "Lato", sans-serif;
}

/*
    2. Classes

    2.1 General
*/

.back-to-top {
    position: fixed;
    background-color: #4f6fbc;
    opacity: 0.8;
    border-radius: 3px;
    bottom: 35px;
    right: 45px;
    color: #fff;
    cursor: pointer;
    font-size: 1.3em;
    font-weight: bold;
    padding-left: 13px;
    padding-right: 13px;
    padding-top: 5px;
    text-align: center;
    transition: all 0.2s ease-out 0s;
    vertical-align: middle;
    z-index: 100;
    overflow: hidden;
}

.back-to-top::before {
    will-change: transform;
    content: "";
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg,
        rgba(143, 168, 200, 0),
        #8fa8c8,
        #dce8f5,
        #8fa8c8,
        rgba(143, 168, 200, 0),
        rgba(143, 168, 200, 0)
    );
    animation: rotateBorder 4s linear infinite;
    z-index: 0;
}

.back-to-top::after {
    content: "";
    position: absolute;
    inset: 1px;
    background-color: #4f6fbc;
    border-radius: 2px;
    z-index: 0;
}

.back-to-top span,
.back-to-top > * {
    position: relative;
    z-index: 1;
}

.back-to-top:hover {
    background-color: #6087e2;
    opacity: 0.8;
}

/*
    2.2 Common
*/

.right  { float: right; }
.left   { float: left; }
.clear  { clear: both; }

.to-lower { 
    text-transform: lowercase;
}

.center {
    justify-content: center !important;
    text-align: center !important;
}

.no-select {
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.divider {
    border: none;
    border-width: 1px 0 0;
    border-image-slice: 2;
    border-image-source: linear-gradient(90deg, rgba(184, 134, 45, 0), #596c99, #5f7fc9, #596c99, rgba(184, 134, 45, 0));
    border-style: solid;
    margin: 15px 0;
}

/* Section transitions */
.module-light + .module-dark,
.module-dark + .module-light {
    border-width: 1px 0 0;
    border-image-slice: 2;
    border-image-source: linear-gradient(90deg, rgba(184, 134, 45, 0), #6fa3ef, #dceeff, #6fa3ef, rgba(184, 134, 45, 0));
    border-style: solid;
}

.module-dark .divider {
    opacity: 0.5;
}

.module-dark .legal-section .divider {
    gap: 0;
    display: flex;
    padding: 0;
    margin: 0;
}

/* Modules */
.module-light {
    background-color: #405587;
    z-index: 1;
}

.module-dark {
    background-color: #242a3b;
    overflow: hidden;
}

.module-dark::before,
.module-light::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/ui-background.avif');
    background-repeat: repeat;
    background-size: 350px;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.module-light,
.module-dark {
    width: 100%;
    position: relative;
    padding: 50px 0;
    color: #fff;
}

.module-dark:first-of-type {
    padding: 0;
}

/* Game images */
.game-image-container {
    position: relative;
    margin-top: 15px;
}

.game-image-container img {
    position: relative;
    mask-image: url('images/mask.avif');
    -webkit-mask-image: url('images/mask.avif');
    mask-size: 90% 105%;
    -webkit-mask-size: 90% 105%;
    mask-position: center;
    -webkit-mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

/* Team */
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding: 20px 0;
}

.team-member {
    width: 280px;
    flex-shrink: 0;
    background-color: #242a3b;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-in-out;
    position: relative;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.team-member::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(143, 168, 200, 0), #739fd7, #4671c7, #739fd7, rgba(143, 168, 200, 0)) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.team-member::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/ui-background.avif);
    background-repeat: repeat;
    background-size: 350px;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.team-member > p {
    text-align: unset !important;
}

.team-member p:first-of-type {
    min-height: 110px;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-photo {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 15px;
    background-size: cover;
}

.role {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Wishlist */
.wishlist-btn {
    position: relative;
    overflow: hidden;
    background-color: #1a1f2e;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    color: #dce8f5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.wishlist-btn::before {
    will-change: transform;
    content: "";
    position: absolute;
    inset: -300%;
    background: conic-gradient(from 0deg, rgba(143, 168, 200, 0), #8fa8c8, #dce8f5, #8fa8c8, rgba(143, 168, 200, 0), rgba(143, 168, 200, 0));
    animation: rotateBorder 4s linear infinite;
    z-index: 0;
}

.wishlist-btn::after {
    content: "";
    position: absolute;
    inset: 1px;
    background: #1a1f2e;
    border-top-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 1;
}

.wishlist-btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Aboreto", system-ui;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 11px 25px;
}

.wishlist-btn:hover {
    color: #fff;
}

/* Socials */
.social-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding: 20px 0;
}

.social-title {
    position: absolute;
    top: 10%;
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.social-block {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: #2c2c2c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-in-out;
}

.social-block:hover {
    transform: scale(1.05);
}

.social-block::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: 1;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background: linear-gradient(135deg, rgba(143, 168, 200, 0), #8fa8c8, #dce8f5, #8fa8c8, rgba(143, 168, 200, 0)) border-box;
    opacity: 1;
    transition: opacity 0s;
}

.social-block::after {
    background: linear-gradient(135deg, #dce8f5, #8fa8c8, rgba(143, 168, 200, 0), #8fa8c8, #dce8f5) border-box;
    opacity: 0;
    transition: opacity 0s;
}

.social-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*filter: grayscale(100%) brightness(0.85) contrast(0.8) sepia(80%) hue-rotate(165deg);*/
    filter: grayscale(100%) brightness(0.9) contrast(0.8) sepia(100%) hue-rotate(180deg);
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
    box-shadow: inset 0 0 50px 20px rgba(0, 0, 0, 0.8);
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.overlay p,
.overlay a {
    margin-bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-block:hover .overlay {
    background: rgba(0, 0, 0, 0.4);
}

.social-block:hover .overlay p,
.social-block:hover .overlay a {
    opacity: 1;
}

.social-mastodon-wrapper {
    position: relative;
}

.social-platform-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 30%;
    height: 30%;
    opacity: 0.95;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.social-fog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.8;
}

.social-block:hover .social-platform-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.social-block:hover .social-image {
    transform: scale(1.1);
}

.mastodon-popup {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3a5e;
    border: 1px solid rgba(143, 168, 200, 0.3);
    padding: 8px 12px;
    white-space: nowrap;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.mastodon-popup a {
    color: #dce8f5;
    font-size: 11px;
    display: block;
}

.mastodon-popup a:hover {
    color: #fff;
}

.social-mastodon-wrapper:hover .mastodon-popup {
    display: flex;
}

h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

p {
    font-size: 18px;
    margin-bottom: 15px;
}

/*
    3. Wrapper

    3.1 General
*/

.container {
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    z-index: 1;
}

.container h2 {
    line-height: 1.125;
    padding-bottom: 20px;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    margin: 0 auto;
    display: table;
    justify-content: center;
}

.h2-wrapper {
    position: relative;
    overflow: visible;
    display: block;
    width: 100%;
    text-align: center;
}

.container h2::before {
    content: "";
    position: absolute;
    /*top: -35px;
    left: -490px;
    width: 450px;
    height: 96px;*/
    top: -25px;
    left: -480px;
    width: 450px;
    height: 80px;
    background-image: url(images/ornament-left.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%;
}

.container h2::after {
    content: "";
    position: absolute;
    /*top: -35px;
    right: -490px;
    width: 450px;
    height: 96px;*/
    top: -25px;
    right: -480px;
    width: 450px;
    height: 80px;
    background-image: url(images/ornament-right.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0;
}

.container p {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    text-align: justify;
    padding-bottom: 15px;
}

.container p:last-of-type {
    padding-bottom: 0;
}

.container p:last-of-type {
    margin-bottom: 0;
}

body #wrapper {
    margin: 0 auto;
}

/*
    3.2 Header
*/

.module-light {
    width: 100%;
    position: relative;
    background-color: #405587;
}

.module-light::before {
    content: " ";
    background-image: radial-gradient(circle at 50% 100%, #5071be, #405587 65%);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    animation: opacity 5s ease-in-out infinite;
    z-index: 0;
}

.module-light .container {
    position: relative;
    z-index: 1;
}

.module-light .container > div,
.module-light .container > span {
    position: relative;
    z-index: 2;
}

header {
    padding: 20px 0;
    border-width: 0 0 1px;
    border-image-slice: 1;
    border-image-source: linear-gradient(90deg, rgba(184, 134, 45, 0), #6fa3ef, #dceeff, #6fa3ef, rgba(184, 134, 45, 0));
    border-style: solid;
}

body #wrapper #logo {
    background: url("images/logo-small.avif") no-repeat center center;
    background-size: contain;
    height: 123px;
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
    top: -23px;
}

#logo::after {
    content: "";
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 200, 50, 0.15), rgba(255, 200, 50, 0) 60%);
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    animation: opacity 5s ease-in-out infinite;
    z-index: 0;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.nav-wishlist img {
    transition: filter 0.2s ease;
}

.nav-wishlist:hover img {
    filter: brightness(0) invert(1);
}

.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(36, 42, 59, 0.95);
    backdrop-filter: blur(8px);
    z-index: 999;
    padding: 10px 0;
    border-width: 0 0 1px;
    border-image-slice: 2;
    border-bottom: 1px solid rgba(143, 168, 200, 0.2);
    border-style: solid;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-nav::before {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/ui-background.avif');
    background-repeat: repeat;
    background-size: 350px;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.sticky-nav.visible {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.sticky-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    position: relative;
}

.sticky-nav ul li a {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s ease;
    font-weight: 400;
}

.sticky-nav ul li a:hover {
    color: #dce8f5;
}

.nav-wishlist {
    color: #8fa8c8 !important;
    border: 1px solid rgba(143, 168, 200, 0.4);
    padding: 5px 15px !important;
    transition: all 0.2s ease !important;
}

.nav-wishlist:hover {
    background: rgba(143, 168, 200, 0.15);
    border-color: #dce8f5;
    color: #dce8f5 !important;
}

.nav-bar {
    display: none;
}

#nav-logo-img-mobile {
    background: url("images/logo-small.avif") no-repeat center center;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: block;
    position: relative;
    overflow: visible;
}

#nav-logo-img-mobile::after {
    content: "";
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 200, 50, 0.25), rgba(255, 200, 50, 0) 50%);
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: opacity 5s ease-in-out infinite;
    z-index: 0;
}

#logo::after,
#nav-logo-img::after,
#nav-logo-img-mobile::after {
    will-change: opacity;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    box-shadow: none;
    cursor: pointer;
    padding: 6px;
    top: 16px;
    position: absolute;
    right: 20px;
    z-index: 2;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.2s ease;
    border-radius: 1px;
}

.nav-toggle:hover span {
    background: #dce8f5;
}

/* header nav */

.header-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.header-nav ul li a {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
    font-weight: 600;
}

.header-nav ul li a:hover {
    color: #dce8f5;
}

.header-nav {
    position: absolute !important;
    bottom: 6px;
    left: 0;
    right: 0;
    width: 100%;
    border-top-width: 1px;
    border-top-style: solid;
    border-image-slice: 2;
    border-image-source: linear-gradient(90deg, rgba(184, 134, 45, 0), #596c99, #5f7fc9, #596c99, rgba(184, 134, 45, 0));
    padding: 10px 0;
    z-index: 1;   
}

/* X state */
.sticky-nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sticky-nav.open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.sticky-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#nav-logo-img {
    background: url("images/logo-small.avif") no-repeat center center;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: block;
    position: relative;
    overflow: visible;
}

#nav-logo-img::after {
    content: "";
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 200, 50, 0.25), rgba(255, 200, 50, 0) 50%);
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: opacity 5s ease-in-out infinite;
    z-index: 0;
}

/*
    3.3 Introduction
*/

#introduction-image-container {
    min-height: 683px;
    position: relative;
    padding-bottom: 0;
    z-index: 0;
    overflow: hidden;
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    min-width: 100%;
    min-height: 100%;
    margin: 0 auto;
    width: auto;
    height: 100lvh;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    transition: height 0.3s ease, width 0.3s ease;
}

#introduction .container p {
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 20px;
    position: relative;
    top: 110px;
    text-align: center;
    font-weight: 400;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.9s;
}

#introduction .container h1 {
    font-family: "Aboreto", system-ui;
    font-size: 58px;
    font-weight: bold;
    position: relative;
    top: 100px;
    z-index: 1;
    cursor: default;
    line-height: 1.125;
    text-align: center;
    color: #ffffff;
    margin: 0 auto;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.faq-item {
    border: 1px solid rgba(143, 168, 200, 0.2);
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.faq-item.open {
    border-color: rgba(143, 168, 200, 0.5);
}

.faq-question {
    padding: 15px 20px 15px 20px;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color 0.2s ease;
    margin-bottom: 0;
    font-size: 16px;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #8fa8c8;
}

.faq-item.open .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover {
    color: #fff;
}

.faq-answer {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    cursor: pointer;
    padding: 0 20px;
    margin: 0;
    text-align: left;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

/* Press kit */
.press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
    align-items: start;
}

.press-fact-sheet h3 {
    margin-bottom: 20px;
}

.press-facts {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.press-facts li {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: baseline;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(143, 168, 200, 0.1);
    text-align: start;
}

.press-facts li span {
    font-family: "Aboreto", system-ui;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8fa8c8;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
}

/* Newsletter */
.newsletter-form {
    max-width: 480px;
    margin: 30px auto 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-input-wrapper {
    display: flex;
}

.newsletter-input-wrapper input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(143, 168, 200, 0.4);
    border-right: none;
    color: #fff;
    padding: 13px 16px;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    margin: 0;
    outline: none;
    opacity: 1;
}

.newsletter-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-input-wrapper button {
    background: transparent;
    border: 1px solid rgba(143, 168, 200, 0.4);
    color: #dce8f5;
    padding: 13px 24px;
    font-family: "Aboreto", system-ui;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.newsletter-input-wrapper button:hover {
    background: rgba(143, 168, 200, 0.15);
    border-color: #dce8f5;
    color: #fff;
}

.newsletter-disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 12px;
    letter-spacing: 0.5px;
    text-align: center;
}

.newsletter-input-wrapper input:-webkit-autofill,
.newsletter-input-wrapper input:-webkit-autofill:hover,
.newsletter-input-wrapper input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #00000000 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    transition: background-color 5000s ease-in-out 0s;
}

/*
    3.4 Contact
*/

.contact-form {
    max-width: 700px;
    margin: 30px auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-family: "Aboreto", system-ui;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: block;
}

.input-wrapper textarea {
    display: block;
}

.input-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(143, 168, 200, 0), #8fa8c8, #dce8f5, #8fa8c8, rgba(143, 168, 200, 0)) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.input-wrapper:hover::before {
    opacity: 1;
}

.input-wrapper:focus-within::before {
    opacity: 1;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    padding: 12px 15px;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    transition: border-color 0.2s ease;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Must be AFTER the combined rule above */
.form-group select {
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpolyline points='1,1 6,7 11,1' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-color: rgba(255, 255, 255, 0.05);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group select option {
    background: #405587;
    color: #fff;
}

.form-submit {
    text-align: center;
    margin-top: 10px;
}

.form-submit button {
    background: transparent;
    color: #dce8f5;
    font-family: "Aboreto", system-ui;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 14px 40px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: none;
}

.form-submit button:hover {
    background: rgba(143, 168, 200, 0.15);
    border-color: #dce8f5;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
    /* Making sure the browser doesn't override colours when auto-filling the form. */
    -webkit-box-shadow: 0 0 0px 1000px #00000000 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    transition: background-color 5000s ease-in-out 0s;
}

.contact-alt {
    text-align: center;
    margin-top: 25px;
    padding-top: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* Legal pages */
.legal-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.container-padding {
    padding-top: 50px;
    padding-bottom: 50px;
}

.legal-block {
    position: relative;
    z-index: 1;
    padding: 30px 0;
}

.legal-block ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legal-block ul li {
    font-weight: 300;
    line-height: 1.75;
    padding-left: 16px;
}

.legal-block ul li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: #8fa8c8;
}

.legal-block a {
    color: #759eff;
    font-size: 15px;
}

.legal-block a:hover {
    color: #dce8f5;
}

.legal-meta {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    margin-top: 10px;
}

/*
    3.5 Footer
*/

footer {
    padding: 20px 0 !important;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    list-style: none;
    padding: 0;
}

.footer-social-link {
    display: flex;
    align-items: center;
}

.footer-social-link img {
    opacity: 0.5;
    transition: opacity 0.2s ease;
    transform: translateZ(0);
}

.footer-social-link:hover img {
    opacity: 1;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    display: block;
    cursor: default;
    letter-spacing: 1.5px;
}

.footer-copyright-middle {
    margin: 5px 0;
}

.footer-copyright a {
    font-size: 10px;
}

/*
    4. Keyframes

    4.1 Animation Classes
*/

.fade-in {
    visibility: visible;
    animation: fadeIn 0.5s;
    animation-fill-mode: forwards;
    -webkit-animation: fadeIn 0.5s;
    -webkit-animation-fill-mode: forwards;
}

.fade-out {
    visibility: hidden;
    animation: fadeOut 0.5s;
    animation-fill-mode: forwards;
    -webkit-animation: fadeOut 0.5s;
    -webkit-animation-fill-mode: forwards;
}

.fade-in-section > .container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible > .container {
    opacity: 1;
    transform: translateY(0);
}

.slide {
    position: relative;
    top: -200px;
    transition: all 0.25s ease 0s;
    animation: slide 0.5s forwards;
    -webkit-animation: slide 0.5s forwards;
    animation-delay: 2s;
    -webkit-animation-delay: 2s;
}

div.slideToBottom h1,
div.slideToBottom h1 sup {
    animation: slideToBottom 1.35s;
    animation-fill-mode: forwards;
    -webkit-animation: slideToBottom 1.35s;
    -webkit-animation-fill-mode: forwards;
}

#introduction .container h1 sup {
    font-size: 28px;
    vertical-align: super;
    font-weight: bold;
    position: absolute;
}

.container h2 sup {
    font-size: 14px;
    vertical-align: super;
    font-weight: bold;
    position: absolute;
}

.opacity-zero {
    opacity: 0;
}

.delay {
    animation-delay: 0.85s;
}

/*
    4.2 Keyframes
*/

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes opacity {
    0%   { opacity: 0.4; }
    50%  { opacity: 1; }
    100% { opacity: 0.4; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@-webkit-keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes slideToBottom {
    from {
        transform: translateY(-50%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes slide {
    100% { top: 0; }
}

@keyframes slide {
    100% { top: 0; }
}

/*
    5. Responsive
*/

@media screen and (max-width: 48em) {
    .module-light, .module-dark {
         padding: 40px 0;
    }

    .h2-wrapper::before,
    .h2-wrapper::after {
        content: "";
        position: absolute;
        top: -20px;
        width: 60px;
        height: 70px;
        z-index: 2;
        pointer-events: none;
    }

    .h2-wrapper {
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }

    .h2-wrapper {
        padding-top: 20px;
        margin-top: -20px;
    }

    h3 {
        font-size: clamp(16px, 4.5vw, 24px);
    }

    header {
        border-width: 0 0 1px;
        border-image-slice: 1;
        border-image-source: linear-gradient(90deg, rgba(184, 134, 45, 0), #6fa3ef, #dceeff, #6fa3ef, rgba(184, 134, 45, 0));
        border-style: solid;
    }
    
    .back-to-top {
        right: 45px;
    }

    .container {
        width: auto;
    }

    .container p {
        text-align: left;
    }

    /* This is kind of an ugly hack, but I can't fix the issue with h2's when it wraps to the next line and hides the ornaments. */
    .container h2 {
        white-space: nowrap;
        font-size: clamp(16px, 4.5vw, 32px);
    }

    #introduction .container h1 {
        top: 110px;
        width: auto;
        font-size: clamp(20px, 7vw, 42px);
    }

    #introduction .container p {
        top: 120px;
        width: auto;
        max-width: 80%;
        font-size: clamp(8px, 2.5vw, 12px);
        margin: 0 auto;
    }

    #introduction {
        clip-path: inset(0 0 0 0);
    }

    .social-container {
        grid-template-columns: 1fr;
    }

    .social-block {
        width: 70%;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .team-container {
        grid-template-columns: 1fr;
    }

    .team-member p:first-of-type {
        min-height: unset;
    }

    .form-group:first-of-type {
        margin-bottom: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .sticky-nav {
        padding: 0;
    }

    .nav-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 10px 0;
        width: 100%;
    }

    .sticky-nav.open .nav-bar {
        border-bottom: 1px solid rgba(143, 168, 200, 0.2);
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .sticky-nav.open .nav-toggle {
        top: 50%;
        transform: translateY(-50%);
    }

    #backtotop {
        z-index: 2;
    }

    #nav-overlay {
        display: none;
        position: fixed;
        inset: -20px;
        background: rgba(0, 0, 0, 0.6);
        z-index: 10;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    #nav-overlay.visible {
        opacity: 1;
    }

    .sticky-nav ul li.nav-logo {
        display: none;
    }

    .sticky-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        width: 100%;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
        line-height: 30px;
    }

    .sticky-nav.open ul {
        max-height: 400px;
        opacity: 1;
        padding: 10px 0 14px;
    }

    .sticky-nav ul li a {
        padding: 10px 0;
        display: block;
    }

    .press-grid {
        grid-template-columns: 1fr;
        direction: rtl;
        text-align: center;
    }

    .press-grid > * {
        direction: ltr;
    }
    
    .press-facts li span {
        text-align: start;
    }

    .press-download p {
        text-align: center;
    }

    .press-download h3 {
        margin-bottom: 20px;
    }

    .sticky-nav {
        transform: translateY(0);
        background: transparent;
        backdrop-filter: none;
        border-bottom: 1px solid transparent;
        transition: transform 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
    }

    .sticky-nav.scrolled,
    .sticky-nav.open {
        background-color: rgba(36, 42, 59, 0.95);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(143, 168, 200, 0.2);
    }

    .sticky-nav.open #nav-logo-img-mobile {
        opacity: 1;
    }

    .header-nav {
        display: none;
    }

    #nav-logo-img-mobile {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    #nav-logo-img-mobile.visible {
        opacity: 1;
    }

    body #wrapper #logo {
        top: 0;
    }

    #introduction-image-container {
        min-height: 400px;
    }

    /* There's this weird bug with mobile phone on position fixed because the viewport changes because the website bar dissapears.*/
    /* This would fix it, but then we lose the parallex effect, leaving it out for now. */
    /*
        #background-video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) translateZ(0);
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: 65% center;
        z-index: 0;
        pointer-events: none;
    }
    */

    section[id],
    a[id] {
        scroll-margin-top: 59px;
    }

    .legal-block {
        padding: 20px 0;
    }

    .legal-block[id] {
        scroll-margin-top: 100px;
    }

    .copyright-word {
        display: none;
    }

    .sticky-nav::before {
        opacity: 0;
    }

    .sticky-nav.scrolled::before,
    .sticky-nav.open::before {
        opacity: 0.07;
    }

    .container h2::before {
        top: -27px;
        left: -460px;
        width: 450px;
        height: 70px;
    }

    .container h2::after {
        top: -27px;
        right: -448px;
        width: 450px;
        height: 70px;
    }
}

@media screen and (max-width: 48em) and (orientation: landscape) {
    .container h2::before { top: -20px; }
    .container h2::after  { top: -20px; }
}

@media (min-width: 768px) {
    .container { width: 750px; }
}

@media (min-width: 992px) {
    .container { width: 970px; }
}

@media (min-width: 1200px) {
    .container { width: 1170px; }
}

@media screen and (min-width: 2400px) {
    .back-to-top {
        right: calc((100vw - 1700px) / 2 - 45px);
    }
}