* {
  box-sizing: border-box;
}

:root {
  color: #171717;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}

body {
  margin: 0;
  min-width: 320px;
}

.site-header {
  border-bottom: 1px solid #aaa;
  min-height: 82px;
  padding: 0 6%;
}

.home-header {
  display: flex;
  justify-content: center;
  padding-left: 4%;
  padding-right: 4%;
}

.academy-brand {
  color: inherit;
  flex: 0 0 auto;
  font-size: 16px;
  text-decoration: none;
}

.sc2-badge {
  align-items: center;
  border: 1px solid #555;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 62px;
  height: 62px;
  justify-content: center;
  line-height: 1.15;
  text-align: center;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(22px, 5vw, 72px);
  justify-content: center;
  min-height: 82px;
}

.home-header .home-nav {
  flex: 1;
  gap: clamp(22px, 5vw, 72px);
  justify-content: center;
  max-width: 1260px;
}

.home-nav a {
  white-space: nowrap;
}

.site-nav a {
  color: inherit;
  font-size: 16px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.placeholder {
  background: #fafafa;
  border: 1px solid #777;
}

/* Overview */
.overview-page {
  margin: 6vh auto;
  max-width: 1260px;
  padding: 0 5%;
}

.overview-image {
  min-height: 68vh;
  position: relative;
  width: 100%;
}

.overview-options {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(34%, 360px);
}

.overview-options button {
  background: #fff;
  border: 1px solid #777;
  border-radius: 8px;
  color: inherit;
  min-height: 90px;
  padding: 12px;
}

/* Coaches */
.coaches-page {
  margin: 5vh auto;
  max-width: 1160px;
  padding: 0 6%;
}

.coach-grid {
  display: grid;
  gap: 22px 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coach-card {
  border: 1px solid #777;
  min-height: 190px;
  padding: 16px 16px 16px 30%;
  position: relative;
}

.coach-image {
  border-right: 1px solid #777;
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  width: 27%;
}

.coach-info {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  min-height: 155px;
  width: 100%;
}

.coach-info h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.coach-info p {
  color: #444;
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 12px;
  width: 100%;
}

.coach-info .coach-persona {
  color: #171717;
  font-size: 13px;
}

.coach-info audio {
  display: none;
}

.play-button {
  align-items: center;
  background: #fff;
  border: 1px solid #555;
  border-radius: 50%;
  display: flex;
  font-size: 12px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding-left: 3px;
  width: 34px;
}

/* Download */
.download-page {
  display: grid;
  gap: 7%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 7vh auto;
  max-width: 1050px;
  padding: 0 7%;
}

.download-column h1 {
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 24px;
  text-align: center;
}

.download-placeholders {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.download-placeholder {
  aspect-ratio: 2 / 1;
}

/* Contact */
.contact-page {
  margin: 7vh auto;
  max-width: 760px;
  padding: 0 6%;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin: 0 0 9px;
}

.contact-form input,
.contact-form textarea {
  background: #fff;
  border: 1px solid #777;
  border-radius: 0;
  font: inherit;
  margin-bottom: 24px;
  min-height: 42px;
  padding: 9px;
  width: 100%;
}

.contact-form textarea {
  min-height: 190px;
  resize: vertical;
}

.message-fields {
  display: flex;
  flex-direction: column;
}

.submit-button {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #777;
  min-width: 120px;
  min-height: 40px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.contact-status {
  min-height: 1.2em;
  margin: 12px 0 0;
}

@media (max-width: 650px) {
  .site-header {
    padding: 0 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: flex-start;
    padding: 18px 0;
  }

  .home-header .home-nav {
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: center;
  }

  .home-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .overview-page {
    margin: 24px auto;
  }

  .overview-image {
    min-height: 58vh;
  }

  .overview-options {
    gap: 10px;
    right: 4%;
    width: 48%;
  }

  .overview-options button {
    min-height: 68px;
  }

  .coach-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .coach-card {
    min-height: 170px;
  }

  .download-page {
    gap: 42px;
    grid-template-columns: 1fr;
    margin: 34px auto;
  }
}
