html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

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

:root {
  --background-height: 100vh;
  --viewport-height: 100vh;
}

html {
  font-size: 16pt;
}

body {
  min-width: 320px;
  min-height: var(--viewport-height);
  overflow-x: hidden;
  line-height: 1;
  color: #ffffff;
  background: #c3e1fe;
  -webkit-text-size-adjust: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: var(--background-height);
  pointer-events: none;
  background:
    linear-gradient(45deg, #ffffff 0%, #86c3fc 71%),
    #c3e1fe;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background: #ffffff;
  transition: opacity 1s ease-in-out, visibility 1s;
}

body.is-loading::after {
  visibility: visible;
  opacity: 1;
}

body.is-ready::after {
  display: none;
}

.loader {
  position: fixed;
  top: calc(50% - 1.875rem);
  left: calc(50% - 1.875rem);
  z-index: 10;
  width: 3.75rem;
  height: 3.75rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  border: 0.35rem solid rgba(255, 255, 255, 0.45);
  border-top-color: rgba(134, 195, 252, 0.95);
  border-radius: 50%;
  transition: opacity 0.25s ease, transform 0.75s ease, visibility 0.25s;
  animation: loader-spin 1s linear infinite;
}

body.with-loader.is-loading .loader {
  visibility: visible;
  opacity: 1;
}

body.is-ready .loader {
  visibility: hidden;
  opacity: 0;
  transform: scale(0.5);
}

.sparkles {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  filter: blur(6px);
}

.sparkles span {
  position: absolute;
  width: 2rem;
  height: 1.75rem;
  opacity: 0;
  background: rgba(255, 255, 255, 0.4);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  animation: hex-pulse var(--speed, 14s) ease-in-out var(--delay, 0s) infinite;
}

.site-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--viewport-height);
  overflow: hidden;
}

.site-main {
  width: min(30rem, 100%);
  max-width: 100%;
  min-width: 0;
  padding: 2rem;
  text-align: center;
  transform-origin: 50% 50%;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

body.is-loading .site-main {
  opacity: 0;
  transform: perspective(1000px) rotateY(3.75deg);
}

.portrait-card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: min(40rem, calc(var(--viewport-height) - 4rem));
  min-height: 28rem;
  overflow: hidden;
  border: 8px solid #ffffff;
  border-radius: 1.25rem;
  background-image:
    linear-gradient(180deg, rgba(42, 50, 64, 0) 49%, rgba(42, 50, 64, 0.36) 78%),
    url("assets/images/mara.jpg");
  background-position: 0 0, 50% 50%;
  background-repeat: repeat, no-repeat;
  background-size: cover, cover;
  animation: card-in 1s ease 0.25s both;
}

.content {
  width: 100%;
  min-width: 0;
  padding: 2rem;
}

h1 {
  width: 100%;
  margin: 0 0 1.5rem;
  color: #fff06b;
  font-family: "Sora", sans-serif;
  font-size: 1.625em;
  font-weight: 500;
  line-height: 1.375;
  letter-spacing: 0;
  text-align: center;
  animation: fade-up 1s ease 0.25s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 4.875rem;
  padding: 1.5625rem 2.5rem;
  overflow: hidden;
  color: #ffffff;
  font-family: "BBH Sans Hegarty", "Sora", sans-serif;
  font-size: 2.375em;
  font-weight: 400;
  line-height: 1.75rem;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  background-color: rgba(255, 169, 82, 0.851);
  background-image: linear-gradient(113deg, rgba(255, 208, 87, 0.851) 100%, rgba(255, 169, 82, 0.008) 52%);
  background-position: 0 0;
  background-repeat: repeat;
  background-size: cover;
  border-radius: 3rem;
  transform-origin: center;
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
  animation: bounce-up 1s ease 0.75s both;
}

.cta:hover,
.cta:focus-visible {
  transform: scale(1.025);
}

.cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hex-pulse {
  0%,
  18%,
  100% {
    opacity: 0;
  }

  38% {
    opacity: var(--peak, 0.85);
  }

  48% {
    opacity: 1;
  }

  62% {
    opacity: var(--peak, 0.85);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce-up {
  0% {
    opacity: 0;
    transform: translateY(0.15rem);
  }

  55% {
    opacity: 1;
    transform: translateY(-0.15rem);
  }

  90% {
    opacity: 1;
    transform: translateY(0.04rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 736px) {
  html {
    font-size: 12pt;
  }

  .site-wrapper {
    padding: 1rem;
  }

  .site-main {
    width: 100%;
    max-width: 30rem;
    padding: 0;
  }

  .portrait-card {
    height: calc(var(--viewport-height) - 2rem);
    min-height: calc(var(--viewport-height) - 2rem);
  }

  .content {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 11pt;
  }

  .portrait-card {
    border-width: 8px;
    border-radius: 1.25rem;
  }

  .cta {
    min-height: 4.5rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    font-size: 2em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
