@font-face {
  font-family: "Arimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/arimo-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Arimo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/arimo-bold.woff2") format("woff2");
}

:root {
  --color-red: #d20a31;
  --color-red-dark: #b80828;
  --color-navy: #001f54;
  --color-bg: #fefeff;
  --color-pink-soft: #fde7e8;
  --color-wave-pink: #fff4f4;
  --color-wave-blue-light: #d3e4f1;
  --color-wave-blue-dark: #8cb3d4;
  --font-family: Arimo, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-navy);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem 1.5rem 14rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.logo {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-bottom: 3rem;
}

.message {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  margin-bottom: 3.5rem;
}

.message-col {
  flex: 1 1 0;
  text-align: left;
  max-width: 320px;
}

.message-col__accent {
  display: block;
  width: 36px;
  height: 3px;
  background-color: var(--color-red);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.message-col p {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--color-navy);
}

.message-divider {
  width: 1px;
  background-color: #d9dde5;
  flex: 0 0 1px;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--color-pink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-red);
}

.contact__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #7b8291;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
}

.contact__email {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-red);
  text-decoration: none;
}

.contact__email:hover {
  color: var(--color-red-dark);
}

.contact__underline {
  width: 36px;
  height: 3px;
  background-color: var(--color-red);
  border-radius: 2px;
  margin-top: 0.9rem;
}

.waves {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(280px, 24vw, 400px);
  line-height: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Animated, layered waves */
.wave-layer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
}

.wave-layer svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-layer--1 {
  animation: wave-scroll 18s linear infinite;
}

.wave-layer--2 {
  animation: wave-scroll 13s linear infinite reverse;
}

.wave-layer--3 {
  animation: wave-scroll 9s linear infinite;
}

@keyframes wave-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@media (max-width: 640px) {
  .page {
    padding: 1rem 1.25rem 10rem;
  }

  .logo {
    max-width: 280px;
    margin-bottom: 2.25rem;
  }

  .message {
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 2.75rem;
  }

  .message-col {
    max-width: 100%;
    text-align: center;
  }

  .message-col__accent {
    margin-left: auto;
    margin-right: auto;
  }

  .message-col p {
    font-size: 1.75rem;
  }

  .message-divider {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 920px) {
  .message-col p {
    font-size: 1.75rem;
  }
}
