/* ---------- spacers ------------------------- */

:root {
    --site-x-padding: 6vw;
    --space-s: 24px;
    --space-m: 48px;
    --space-l: 80px;
}

.m-0-auto { margin: 0 auto;}
.pb-0 { padding-bottom: 0 !important; }
.pb-s { padding-bottom: var(--space-s) !important; }
.pb-m { padding-bottom: var(--space-m) !important; }
.pb-l { padding-bottom: var(--space-l) !important; }
@media (max-width: 1024px) {
  .t--pb-s { padding-bottom: var(--space-s) !important; }
}
@media (max-width: 767px) {
  .m--pb-m { padding-bottom: var(--space-m) !important; }
  .m--pb-l { padding-bottom: var(--space-l) !important; }
}

.pt-0 { padding-top: 0 !important; }
.pl-0 { padding-left: 0 !important; }
.pr-0 { padding-right: 0 !important; }
.p-0 { padding: 0 !important; }

.z-index-0 { z-index: 0; }
.z-index-1 { z-index: 1; }
.z-index-2 { z-index: 2; }
.z-index-3 { z-index: 3; }
.z-index-4 { z-index: 4; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.no-wrap { white-space: nowrap; }

.border-radius-l { border-radius: 50px }

.grid { display: grid; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.flex-no-wrap { flex-wrap: nowrap; }
.flex-wrap { flex-wrap: wrap; }
.flex-tablet-col { display: flex; }
@media (max-width: 1024px) {
    .flex-tablet-col {
        flex-direction: column;
    }
}
.align-self-end { align-self: flex-end; }
.text-center { text-align: center; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-xxs { gap: 6px; }
.gap-xs { gap: 10px; }
.gap-s { gap: var(--space-s); }
.gap-m { gap: var(--space-m); }
.gap-l { gap: var(--space-l); }

.spacer-s { height: var(--space-s); }
.spacer-m { height: var(--space-m); }
.spacer-l { height: var(--space-l); }

.spacer-inner-s { padding-top: var(--space-s); padding-bottom: var(--space-s); }
.spacer-inner-m { padding-top: var(--space-m); padding-bottom: var(--space-m); }
.spacer-inner-l { padding-top: var(--space-l); padding-bottom: var(--space-l); }

.width-full { width: 100%; }
.width-fit-content { width: fit-content !important; }
.full-width { width: calc(2 * var(--site-x-padding) + 100%); overflow: visible; margin-left: calc(-1 * var(--site-x-padding)); }

/* ---------- layout ------------------------ */
.grid-2-col-tablet-1-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.grid-45-55 {
    display: grid;
    grid-template-columns: 4.5fr 5.5fr;
}
.grid-dynamic { display: grid; grid-template-columns: max-content 1fr; }

/* The 'tablet' breakpoint seems to be 1024px */
@media (max-width: 1024px) {
    .grid-2-col-tablet-1-col,
    .grid-45-55,
    .grid-dynamic {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 767px) { .desktop-only { display: none !important; } }
@media (min-width: 768px) { .mobile-only { display: none !important; } }

/* ---------- limiters ------------------------ */
.max-width-xs, .max-width-s, .max-width-m, .max-width-l { transition: max-width 0.2s ease; }
.max-width-xs { max-width: 380px; }
.max-width-s { max-width: 480px; }
.max-width-m { max-width: 680px; }
.max-width-l { max-width: 1024px; }
.max-1000 { width: 100%; max-width: 1000px; }

@media (max-width: 1024px) {
    .max-width-s,
    .max-width-m,
    .max-width-l {
        max-width: 100%;
    }
}

.hide { display: none !important; }
.invisible { visibility: hidden; pointer-events: none;}

/* ---------- colours ------------------------- */

:root {
  --color-orange: #FE5000;   /* Blaze Orange  */
  --color-onyx:   #0E0E0E;   /* Deep Onyx     */
  --color-onyx-rgb: 14, 14, 14;
  --color-blue:   #0066FF;   /* Electric Blue */
  --color-purple: #8000FF;   /* Violet Pulse  */
  --color-green:  #01BA4D;   /* Emerald Spark */
}

.color-white { color: white; }
.color-black { color: black; }
.color-orange { color: var(--color-orange); }
.color-onyx { color: var(--color-onyx); }
.color-blue { color: var(--color-blue); }
.color-purple { color: var(--color-purple); }
.color-green { color: var(--color-green); }

.bg-white { background: white; }
.bg-black { background: black; }
.bg-orange { background: var(--color-orange); }
.bg-onyx { background: var(--color-onyx); }
.bg-blue { background: var(--color-blue); }
.bg-purple { background: var(--color-purple); }
.bg-green { background: var(--color-green); }

/* ---------- box ----------------------------- */

.box-glow-white {
  box-shadow:
    0 0 10px  rgba(255,255,255,.8),
    0 0 20px rgba(255,255,255,.7),
    0 0 30px rgba(255,255,255,.6),
    0 0 40px rgba(255,255,255,.5);
}

.box-shadow {
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.10),
    0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ---------- text ---------------------------- */

.lh-100, .lh-100 * { line-height: 100%; }
.lh-130, .lh-130 * { line-height: 130%; }
.lh-150, .lh-150 * { line-height: 150%; }

.text-glow-white {
  text-shadow:
    0 0 10px rgba(255,255,255,.8),
    0 0 20px rgba(255,255,255,.7),
    0 0 30px rgba(255,255,255,.6),
    0 0 40px rgba(255,255,255,.5);
}

.text-glow-black {
  text-shadow:
    0 0 5px rgba(0,0,0,.4),
    0 0 10px rgba(0,0,0,.3),
    0 0 15px rgba(0,0,0,.2),
    0 0 25px rgba(0,0,0,.1);
}

.text-shadow { text-shadow: 0 0 3px rgba(0, 0, 0, 1); }

/* ---------- button ---------------------------- */

.btn {
  padding: 14px 27px;
  border-radius: 50px;
  min-height: 48px;
  min-width: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- hover animation ----------------- */
/* 
* hover-underline-shift (underline wipe-out-in animation)
* hover-orange (changes colour to orange)
*/

.hover-underline-shift {
  text-decoration: none;
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
}
.hover-underline-shift:hover {
  animation: underline-wipe-bg 0.8s ease forwards 0.2s;
}
@keyframes underline-wipe-bg {
  0%   { background-size: 100% 1px; background-position: 0 100%; }
  49%  { background-size: 0%   1px; background-position: 100% 100%; }
  50%  { background-size: 0%   1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}

.hover-orange, .hover-orange * { transition: color 0.4s ease; }
.hover-orange:hover, .hover-orange:hover * { color: var(--color-orange); }

.hover-reverse-orange, .hover-reverse-orange * { color: var(--color-orange); transition: color 0.4s ease, background-color 0.4s ease; }
.hover-reverse-orange .btn.bg-orange { color: #fff;}

.hover-reverse-orange:hover .btn.bg-orange { background-color: var(--color-onyx); }
.hover-reverse-orange svg circle { color: var(--color-orange); }
.hover-reverse-orange:hover svg circle { color: var(--color-onyx); }