:root {
  --site-header-space: 96px;
  --site-deep: #07111f;
  --site-green: #255b57;
  --site-gold: #ebc179;
}

main {
  min-height: 60vh;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  padding: .8rem 0;
  background: linear-gradient(180deg, rgba(5, 14, 23, .76) 0%, rgba(5, 14, 23, 0) 100%);
}

.site-navbar {
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(7, 17, 31, .28);
  box-shadow: 0 18px 50px rgba(7, 17, 31, .18);
  backdrop-filter: blur(16px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  color: #fff;
}

.site-brand:hover,
.site-brand:focus {
  color: var(--site-gold);
}

.site-logo-img {
  width: 52px;
  height: 68px;
  max-width: 52px;
  max-height: 68px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  max-width: 260px;
  overflow: hidden;
  font-size: .95rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-tagline {
  margin-top: .18rem;
  color: rgba(255, 255, 255, .68);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-menu-toggle {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: .55rem .7rem;
}

.site-menu-toggle .navbar-toggler-icon {
  filter: invert(1);
}

.site-navbar .navbar-nav {
  gap: .25rem;
}

.site-navbar .nav-link {
  position: relative;
  border-radius: 8px;
  color: rgba(255, 255, 255, .86);
  font-weight: 800;
  padding: .72rem .9rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.site-footer {
  position: relative;
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, #f4f7f6 0%, #07111f 28%, #07111f 100%);
  color: rgba(255, 255, 255, .74);
}

.footer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-brand a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
}

.footer-brand p {
  margin: .45rem 0 0;
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
}

.footer-nav a {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: rgba(255, 255, 255, .78);
  padding: .55rem .75rem;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
  border-color: rgba(235, 193, 121, .5);
  color: #fff;
  background: rgba(235, 193, 121, .12);
}

@media (max-width: 991.98px) {
  :root {
    --site-header-space: 86px;
  }

  .site-header {
    padding: .5rem .75rem;
  }

  .site-navbar {
    border-radius: 8px;
    background: rgba(7, 17, 31, .82);
  }

  .site-navbar .navbar-collapse {
    padding: .75rem 0 .35rem;
  }

  .site-navbar .navbar-nav {
    align-items: stretch !important;
  }

  .site-navbar .nav-link {
    padding: .85rem 1rem;
  }

  .brand-name {
    max-width: 190px;
  }

  .brand-tagline {
    display: none;
  }

  .footer-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .site-logo-img {
    width: 44px;
    height: 58px;
  }

  .brand-name {
    max-width: 150px;
    font-size: .86rem;
  }
}
