@charset "UTF-8";
:root {
  --typeface-main: "Lexend", sans-serif;
  --typeface-fancy: "Yellowtail", serif;
  --color-bg: hsl(0, 0%, 100%);
  --color-brand: hsl(105, 22%, 29%);
  --color-brand-dark: hsl(102, 26%, 23%);
  --color-brand-light: hsl(102, 10%, 85%);
  --color-content: hsl(53, 18%, 16%);
  --color-border-light: hsl(0 0% 50% / 0.5);
  --color-shadow: hsl(0 0% 0% / 0.2);
}

* {
  box-sizing: border-box;
}

html {
  font-size: clamp(17px, 1rem + 0.5vw, 22px);
  line-height: 1.4;
  font-family: var(--typeface-main);
  color: var(--color-content);
  scroll-behavior: smooth;
}

img, svg {
  width: 100%;
  height: auto;
}

h1, h2, h3 {
  font-weight: 900;
}

h1, .heading-alpha {
  text-transform: uppercase;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.15em;
}

.heading-bravo {
  font-size: 1.7rem;
  text-align: center;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  display: block;
  max-width: min(95vw, 60rem);
  width: 100%;
  margin-bottom: clamp(1rem, 7vmin, 5rem);
}
.section--nomargin {
  margin: unset;
}

.layout-twocol {
  display: grid;
  grid: auto/repeat(8, 1fr);
  align-items: center;
}
.layout-twocol__1 {
  grid-column: 1/9;
  grid-row: 1/2;
}
@media (min-width: 60rem) {
  .layout-twocol__1 {
    grid-column: 1/5;
  }
}
.layout-twocol__2 {
  grid-column: 1/9;
}
@media (min-width: 60rem) {
  .layout-twocol__2 {
    grid-column: 5/9;
    grid-row: 1/2;
  }
}

.header {
  display: grid;
  grid: auto/repeat(8, 1fr);
  max-width: 55rem;
  z-index: 10;
}
@media (min-width: 60rem) {
  .header {
    grid: 1fr/repeat(8, 1fr);
  }
}

.header__col1 {
  color: var(--color-bg);
  background-color: var(--color-brand);
  border: 0.5rem solid var(--color-brand-dark);
  border-radius: 1rem;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-self: center;
  grid-column: 1/9;
  margin: 0.25rem auto 0;
  padding: 0 1rem 5rem;
}
@media (min-width: 60rem) {
  .header__col1 {
    height: 17rem;
    border: none;
    background-color: transparent;
    background-image: url("/resources/header-bg.svg");
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 2.2rem 0 0 2rem;
    padding-right: 52%;
    grid-column: 1/7;
    grid-row: 1/2;
    margin: 0;
    margin-left: 0.5rem;
  }
}

.hr--narrow {
  display: none;
}
@media (min-width: 60rem) {
  .hr--narrow {
    display: block;
    width: 8rem;
    border: 2px solid var(--color-bg);
  }
}

.header__subtitle {
  display: none;
}
@media (min-width: 60rem) {
  .header__subtitle {
    display: block;
    margin-top: 0.5rem;
    font-family: var(--typeface-fancy);
    text-align: center;
    font-size: 1.75rem;
  }
}

.header__col2 {
  grid-row: 2/3;
  grid-column: 1/9;
  margin-top: -6rem;
}
@media (min-width: 60rem) {
  .header__col2 {
    margin-top: 0;
    grid-column: 4/9;
    grid-row: 1/2;
  }
}

svg.clip-path {
  position: absolute;
  top: 999px;
  left: 999px;
  width: 0;
  height: 0;
}

.section--uniting {
  background-image: url("/resources/snowmobile-jump.webp");
  height: clamp(30rem, 60vw, 35rem);
  background-position: center 45%;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: -7rem;
}
@media (min-width: 75rem) {
  .section--uniting {
    border-radius: 0.75rem;
  }
}

.style-card {
  background-color: hsla(0, 0%, 100%, 0.5);
  padding: 1rem 1.5rem;
  box-shadow: 0 0 11px 3px var(--color-shadow);
  border-radius: 0.6rem;
  backdrop-filter: blur(2rem);
  max-width: 95vw;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 60rem) {
  .style-card {
    padding: 2rem 3rem;
  }
}

.style-card--dark {
  box-shadow: none;
  background-color: var(--color-brand-dark);
  color: var(--color-bg);
  backdrop-filter: none;
}
.style-card--dark .button--primary {
  border-color: var(--color-brand-light);
}
.style-card--dark .button--alternative {
  color: var(--color-brand-light);
}
.style-card--dark .button--alternative:hover {
  color: var(--color-bg);
}

.uniting {
  max-width: 30rem;
  margin-bottom: -8rem;
}

.uniting__text {
  display: block;
  text-align: center;
  text-transform: none;
  margin: 0;
  margin-bottom: 1.5rem;
}

.buttons {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.buttons a {
  display: inline-block;
}

.button--primary {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  text-align: center;
  padding: 0.5em 3em;
  background: var(--color-brand);
  border: 5px solid var(--color-brand-dark);
  margin-bottom: 1rem;
}
.button--primary:hover {
  background-color: var(--color-brand-dark);
  box-shadow: 0 0.2em 8px 0 var(--color-shadow);
}

.button--alternative {
  color: var(--color-brand);
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  border-bottom: 3px solid var(--color-border-light);
}

.section--about {
  margin-top: 10rem;
}

.about {
  box-shadow: none;
}
@media (min-width: 60rem) {
  .about {
    box-shadow: 0 0 11px 3px var(--color-shadow);
  }
}

.about__photo {
  display: none;
}
@media (min-width: 60rem) {
  .about__photo {
    display: block;
  }
}

.map-photo {
  display: block;
  border: 0.5rem solid var(--color-bg);
  box-shadow: 0 0 11px 3px var(--color-shadow);
  max-width: 18rem;
  margin: 0 auto 2rem;
}
@media (min-width: 60rem) {
  .map-photo {
    margin: 2rem auto;
  }
}

.section--trails .layout-twocol {
  gap: 2rem;
}

.layout--col1overlay {
  display: grid;
  grid: auto/repeat(8, 1fr);
  gap: 0 2rem;
  align-items: center;
}
.layout--col1overlay .layout-twocol__1 {
  order: 2;
}
.layout--col1overlay .layout-twocol__2 {
  order: 0;
}

.col1overlay__1 {
  order: 2;
  grid-column: 1/9;
  margin-top: -2rem;
}
@media (min-width: 60rem) {
  .col1overlay__1 {
    margin-top: 0;
    grid-column: 1/5;
    grid-row: 1/2;
  }
}

.col1overlay__2 {
  order: 1;
  grid-column: 1/9;
}
.col1overlay__2 img {
  border-radius: 0.8rem;
}
@media (min-width: 60rem) {
  .col1overlay__2 {
    grid-column: 4/9;
    grid-row: 1/2;
  }
}

.footer {
  width: 100%;
  background-color: var(--color-brand-dark);
  border-top: 0.6rem solid var(--color-brand-light);
  padding: 3rem 1rem;
  color: var(--color-bg);
  display: flex;
  justify-content: center;
}
.footer a {
  color: #fff;
}

.footer__inner {
  align-items: start;
}

.smallprint {
  font-size: 0.85em;
  opacity: 0.8;
}

.list-inline {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 60rem) {
  .list-inline {
    flex-direction: row;
  }
  .list-inline li {
    margin: 0;
    padding: 0.5rem 1rem 0.5rem 0;
  }
  .list-inline li:not(:last-child):after {
    content: "⋮";
    padding-left: 1rem;
  }
}

.board__name {
  font-weight: 800;
}
