@font-face {
  font-family: "Seaweed Script";
  src: url("seaweed-script.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("listings/open-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("roboto-condensed-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: clip;
  background: #000;
  color: #fff;
  font: 1rem/1.5 Arial, sans-serif;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(calc(-100% - 1rem));
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
}

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

.site-stage {
  position: relative;
  width: min(100%, 1000px);
  margin-inline: auto;
}

.site-nav {
  position: relative;
  z-index: 2;
  padding: 0.75rem 0.5rem;
}

.site-nav ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font: 400 clamp(1.125rem, 2.05vw, 1.75rem) / 1.07 "Seaweed Script", cursive;
}

.site-nav a {
  display: grid;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.2em;
  text-decoration: none;
  text-shadow: 0 1px 5px #000, 0 1px 8px #000;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
}

.page-home .site-stage {
  display: flex;
  flex-direction: column-reverse;
}

.page-home main {
  position: relative;
  aspect-ratio: 3 / 2;
}

.street-photo,
.home-name,
.rebny-badge {
  display: block;
  position: absolute;
}

.street-photo {
  top: 0;
  left: 50%;
  width: 114%;
  max-width: none;
  height: auto;
  transform: translateX(-51%);
}

.home-name {
  top: 4%;
  left: 50%;
  width: min(454px, 62%);
  margin: 0;
  transform: translateX(-50%);
}

.home-name img {
  display: block;
  width: 100%;
  height: auto;
}

.rebny-badge {
  right: 10%;
  bottom: 7%;
  width: min(136px, 18%);
  height: auto;
}

.site-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  min-height: 100px;
  padding: 1.5rem 1rem 1rem;
  color: #989898;
  font: 0.75rem/1.35 Arial, sans-serif;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.footer-copyright {
  flex-basis: 100%;
}

.paper {
  padding: 2.5rem 1.125rem 3rem;
}

.page-title {
  margin: 0 0 2rem;
  font: 400 1.125rem/1.5 "Roboto Condensed", Arial, sans-serif;
}

.legal-copy {
  font: 1.125rem/1.5 "Roboto Condensed", Arial, sans-serif;
  overflow-wrap: anywhere;
}

.about-paper .page-title,
.sop-paper .legal-copy {
  color: #a3a3a3;
}

.legal-copy h2,
.legal-copy h3 {
  margin: 1.15em 0 0.5em;
  font-size: inherit;
}

.legal-copy p {
  margin: 0 0 1.25em;
}

.sop-paper .page-title {
  text-align: center;
}

@media (max-width: 600px) {
  .site-nav ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0.2rem;
  }

  .page-home main {
    aspect-ratio: 1.2;
    overflow: hidden;
  }

  .street-photo {
    width: 138%;
  }

  .rebny-badge {
    bottom: 9%;
  }
}

@media (min-width: 1120px) {
  .page-home .site-stage {
    display: block;
    min-height: 1328px;
  }

  .page-home main {
    aspect-ratio: auto;
    height: 1280px;
  }

  .street-photo {
    left: -470px;
    width: 1920px;
    transform: none;
  }

  .home-name {
    top: 32px;
    left: 292px;
    width: 454px;
    transform: none;
  }

  .rebny-badge {
    inset: 957px auto auto 868px;
    width: 136px;
  }

  .site-nav {
    position: absolute;
    top: 1080px;
    left: 76px;
    width: 976px;
    padding: 0;
  }

  .site-nav ul {
    font-size: 28px;
  }

  .page-about .site-stage {
    min-height: 1655px;
  }

  .page-contact .site-stage {
    min-height: 1281px;
  }

  .page-listings .site-stage {
    min-height: 1910px;
  }

  .page-sop .site-nav {
    position: relative;
    top: auto;
  }

  .page-sop .site-stage {
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 3rem;
  }

  .page-thanks .site-stage {
    min-height: 26rem;
  }

  .page-thanks .site-nav {
    top: auto;
    bottom: 1.5rem;
  }

  .site-footer {
    position: relative;
    display: block;
    width: 1000px;
    margin-inline: auto;
    padding: 0;
    text-align: left;
  }

  .site-footer > * {
    position: absolute;
  }

  .footer-email {
    top: 37px;
    left: 206px;
  }

  .footer-phone {
    top: 35px;
    left: 516px;
    white-space: nowrap;
  }

  .footer-copyright {
    top: 32px;
    left: 800px;
    width: min(334px, calc((100vw - 1000px) / 2 + 200px));
  }

  .about-paper {
    padding: 63px 25px 3rem;
  }

  .about-paper .page-title {
    margin-left: 3px;
    margin-bottom: 82px;
  }

  .about-paper .legal-copy h2:first-child {
    margin-top: 0;
  }

  .sop-paper {
    max-width: 910px;
    margin-left: 79px;
    padding: 80px 0 3rem;
  }
}
