@font-face {
  font-family: "AntonRegular";
  src: url(/fonts/Anton-Regular.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NeueHaas";
  src: url(/fonts/NeueHaasDisplayRoman.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: 129, 0, 127;
  --color-primary-dark: #2d0b38;
  --font-primary: "NeueHaas", sans-serif;
  --font-secondary: "AntonRegular", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  background: #fff;
  color: #000;
  font-family: var(--font-primary);
  font-size: 1.125rem;
  line-height: 1.5;
  font-synthesis: none;
}

a {
  color: rgb(var(--color-primary));
  text-underline-offset: .2em;
}

.top {
  padding: clamp(1.5rem, 4vh, 2.5rem) 1.5rem 0;
  text-align: center;
}

.logo {
  color: rgb(var(--color-primary));
  font-family: var(--font-secondary);
  line-height: 1;
  text-decoration: none;
}

.top .logo {
  font-size: clamp(3rem, 5vw, 4.5rem);
}

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) 1.5rem;
}

h1 {
  margin-bottom: .75rem;
  color: rgb(var(--color-primary));
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
}

.updated {
  margin-bottom: 2.5rem;
}

h2 {
  margin: 2.75rem 0 .75rem;
  color: rgb(var(--color-primary));
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.2;
}

h3 {
  margin: 1.5rem 0 .5rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}

p,
ul {
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: .4rem;
}

li > span:first-child {
  color: rgb(var(--color-primary));
}

address {
  font-style: normal;
}

.site-footer {
  padding: 2rem 1.5rem clamp(2rem, 6vh, 4rem);
  text-align: center;
}

.site-footer .logo {
  display: block;
  margin-bottom: 1.25rem;
  font-size: clamp(4rem, 7vw, 6.5rem);
}

.site-footer address {
  margin-bottom: .5rem;
  font-size: 1.25rem;
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

.mail {
  font-size: 1.25rem;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem 1.25rem;
  margin-top: 1rem;
  font-size: 1rem;
}

.legal a {
  color: #000;
  text-decoration: none;
}

.legal a:hover,
.legal a:focus-visible,
.legal a[aria-current="page"] {
  text-decoration: underline;
}

.bar {
  height: 1rem;
  background: radial-gradient(circle at center, rgb(var(--color-primary)) 0%, var(--color-primary-dark) 50%, rgb(var(--color-primary)) 100%);
  background-size: 200% 200%;
  animation: moveGradient 10s ease-in-out infinite;
}

@keyframes moveGradient {
  0% { background-position: 0% 0%; }
  30% { background-position: 30% 10%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 60% 50%; }
  100% { background-position: 0% 0%; }
}

@media (prefers-reduced-motion: reduce) {
  .bar {
    animation: none;
  }
}
