@font-face {
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/amatic-sc-700.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Cabin";
  font-style: normal;
  font-weight: 600;
  src: url("assets/fonts/cabin-600.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Cabin";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/cabin-700.ttf") format("truetype");
  font-display: swap;
}

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

:root {
  --white: #fff;
  --overlay: rgba(0, 0, 0, 0.58);
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #312f29;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    url("assets/horseface5.webp") center / cover no-repeat;
  font-family: "Cabin", Arial, sans-serif;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10;
  padding: 0.7rem 0.9rem;
  color: #111;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 0 0 3px #111;
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100%, 880px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 40px 60px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  text-shadow: 0 2px 18px var(--shadow);
}

.site-shell:focus {
  outline: none;
}

.logo {
  width: min(100%, 356px);
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

h1 {
  margin: 0 0 82px;
  font-family: "Amatic SC", "Arial Narrow", sans-serif;
  font-size: clamp(3.35rem, 7vw, 4.7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.copy {
  font-family: "Cabin", Arial, sans-serif;
  font-size: clamp(1.28rem, 1.9vw, 1.48rem);
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: 0.025em;
}

.copy section,
.copy p,
.copy address {
  margin: 0;
}

.copy section + section {
  margin-top: 0.9em;
}

.copy p + p,
.copy address span + span {
  margin-top: 0;
}

.copy .spaced {
  margin-top: 2em;
}

.copy .online-support {
  margin-top: 4.3em;
}

.copy section p:first-child,
.copy > .spaced,
.copy address span:first-child {
  font-size: 1.02em;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.015em;
}

address {
  font-style: normal;
}

address span {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 0.1em;
}

a:focus-visible {
  color: var(--white);
  background: #111;
  outline: 3px solid var(--white);
  outline-offset: 0.18em;
  border-radius: 2px;
  box-shadow: 0 0 0 6px #111;
  text-shadow: none;
}

@media (max-width: 700px) {
  body {
    background-attachment: scroll;
  }

  .site-shell {
    padding: 28px 22px 34px;
    justify-content: flex-start;
  }

  .logo {
    width: min(100%, 356px);
    margin-bottom: 14px;
  }

  h1 {
    margin-bottom: 54px;
  }

  .copy {
    font-size: clamp(1.12rem, 5.2vw, 1.34rem);
    line-height: 1.4;
    letter-spacing: 0.015em;
  }

  .copy .spaced {
    margin-top: 1.75em;
  }

  .copy .online-support {
    margin-top: 2.8em;
  }
}

@media (forced-colors: active) {
  body {
    color: CanvasText;
    background: Canvas;
  }

  .logo {
    forced-color-adjust: none;
  }

  a,
  .skip-link {
    color: LinkText;
    background: Canvas;
    box-shadow: none;
  }

  a:focus-visible,
  .skip-link:focus {
    outline: 3px solid Highlight;
  }
}

@media (max-width: 390px) {
  .copy {
    font-size: 1.08rem;
  }
}
