:root {
  --ward-red: #aa1f2e;
  --ward-dark-red: #8a1925;
  --ward-dark-gray: #242323;
  --ward-white: #ffffff;
  --font-display: "oswald", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --font-body: "lato", "Avenir Next", "Helvetica Neue", sans-serif;
}

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

html {
  min-width: 20rem;
  min-height: 100%;
  background: var(--ward-dark-red);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ward-white);
  background-color: var(--ward-dark-red);
  background-image: url("assets/testimonial-background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

.splash {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.splash__panel {
  position: relative;
  container-type: inline-size;
  width: min(71.041667vw, 124svh, 85.25rem);
  aspect-ratio: 1364 / 775;
  overflow: hidden;
  background: rgb(36 35 35 / 34%);
  border-radius: min(0.879765cqw, 0.75rem);
  transform: translateY(min(1.356305cqw, 1.15625rem));
}

.splash__content {
  position: absolute;
  top: 6.451613cqw;
  left: 10.117302cqw;
  width: 79.765396cqw;
}

h1 {
  width: 60.85044cqw;
  margin: 0;
  color: var(--ward-white);
  font-family: var(--font-display);
  font-size: clamp(3.625rem, 9.530792cqw, 8.125rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.407692;
  text-shadow: 5px 5px 5px rgb(0 0 0 / 80%);
  white-space: nowrap;
}

.splash__copy {
  margin-top: 1.466276cqw;
  color: var(--ward-white);
  font-size: clamp(1rem, 2.199413cqw, 1.875rem);
  font-weight: 400;
  line-height: 1.333333;
}

.splash__copy p {
  margin: 0;
}

.splash__copy p + p {
  margin-top: 2.932551cqw;
}

.splash__actions {
  display: flex;
  align-items: center;
  gap: 1.466276cqw;
  margin-top: 3.665689cqw;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max(17.595308cqw, 13rem);
  min-height: max(3.665689cqw, 2.75rem);
  padding: 0 1rem;
  color: var(--ward-white);
  background: var(--ward-red);
  border-radius: min(0.366569cqw, 0.3125rem);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.979472cqw, 1.6875rem);
  font-weight: 300;
  line-height: 1.444444;
  text-decoration: none;
  transition: background-color 300ms ease-out;
}

.profile-link:hover {
  background: var(--ward-dark-red);
}

.profile-link:focus-visible {
  outline: 3px solid var(--ward-white);
  outline-offset: 4px;
}

.profile-link > span {
  transform: translateY(-0.08em);
}

.redirect-status {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--ward-white);
  font-size: clamp(0.875rem, 1.319648cqw, 1.125rem);
  line-height: 1.35;
  opacity: 0.8;
}

.redirect-status strong {
  font-weight: 700;
}

.redirect-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  min-height: 1.5rem;
  padding: 0.125rem;
  color: var(--ward-white);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 1.35em;
  line-height: 1;
  transition: opacity 180ms ease-out;
}

.redirect-cancel:hover {
  opacity: 1;
}

.redirect-cancel:focus-visible {
  outline: 3px solid var(--ward-white);
  outline-offset: 3px;
}

.splash__logo {
  position: absolute;
  right: 3.519062cqw;
  bottom: 3.372434cqw;
  display: block;
  width: 17.40176cqw;
  height: auto;
  filter: drop-shadow(3px 3px 3px rgb(0 0 0 / 65%));
}

.redirect-fallback {
  max-width: 35rem;
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 50rem) {
  body {
    background-position: center;
  }

  .splash {
    min-height: 100svh;
    padding: 1rem;
    overflow: visible;
  }

  .splash__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 42rem;
    min-height: calc(100svh - 2rem);
    aspect-ratio: auto;
    padding: clamp(2rem, 8vw, 3.25rem);
    border-radius: 0.75rem;
    transform: none;
  }

  .splash__content {
    position: static;
    width: auto;
  }

  h1 {
    width: auto;
    font-size: clamp(3.5rem, 17vw, 5.5rem);
    line-height: 1.05;
    white-space: normal;
  }

  .splash__copy {
    margin-top: 1.5rem;
    font-size: clamp(1.0625rem, 4.75vw, 1.25rem);
    line-height: 1.55;
  }

  .splash__copy p + p {
    margin-top: 1.5rem;
  }

  .profile-link {
    width: auto;
    min-height: 3.125rem;
    border-radius: 0.3125rem;
    font-size: 1.25rem;
  }

  .splash__actions {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 2rem;
  }

  .redirect-status {
    font-size: 0.9375rem;
  }

  .splash__logo {
    position: static;
    width: min(15rem, 68%);
    margin: auto 0 0 auto;
    padding-top: 3rem;
  }
}

@media (max-width: 25rem) {
  .profile-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-link {
    transition: none;
  }
}
