.topbar {
  background: #2c2c2c;
  color: #cfcfcf;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar .inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: .35rem 0;
}

.topbar .phones {
  display: flex;
  gap: 1rem;
  align-items: center
}

.topbar .social {
  display: flex;
  gap: .8rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0
}

.topbar .social a {
  color: #cfcfcf
}

.site-header {
  position: sticky;
  top: 0;
  background: #4a4a4a;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  z-index: 20
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #f0f0f0;
  font-weight: 800;
  letter-spacing: .3px
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 2px solid var(--brand);
}

.brand-mark {
  font-weight: 900;
  color: var(--brand)
}

.nav {
  display: flex;
  gap: 1.2rem
}

.nav a {
  padding: .6rem .8rem;
  border-radius: 10px;
  color: #f0f0f0;
  font-weight: 700
}

.nav a.is-active,
.nav a:hover {
  color: var(--brand)
}

.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 1.4rem
}

@media (max-width:980px) {
  .nav {
    position: fixed;
    inset: 106px 0 auto 0;
    background: #3b3b3b;
    padding: 1rem;
    flex-direction: column;
    transform: translateY(-140%);
    transition: transform .25s ease
  }

  .nav.is-open {
    transform: none
  }

  .nav-toggle {
    display: inline-block
  }
}



.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}


.hero p {
  font-style: italic;
  max-width: 980px;
  margin: 0 auto;
  color: #e5e5e5
}

.hero .hero .q-author {
  display: block;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  opacity: .95;
}

/* we don't want the framed slider box anymore */
.quotes-slider {
  background: transparent;
  border: 0;
  padding: 0;
}

.quotes-slider .ctrl {
  background: rgba(0, 0, 0, .45);
}

.quotes-slider .img-layer {
  display: none
}

/* hero itself is the image */

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: center;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .35)), #333 center/cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .25));
}


.q-sub {
  font-style: italic;
  opacity: .95;
  margin-top: .6rem;
  font-size: clamp(1rem, 2vw, 1.25rem)
}

.hero {
  overflow: hidden
}

.hero-bg.is-active {
  opacity: 1;
  transform: scale(1.0)
}


.hero-arrow.prev {
  left: 1rem
}

.hero-arrow.next {
  right: 1rem
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, .6)
}

#preloader {
  position: fixed;
  inset: 0;
  background: #0b0b0f;
  display: grid;
  place-items: center;
  z-index: 9999
}

#preloader .spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  color: #e7e8ea
}

#preloader .logo {
  animation: spin 1.6s linear infinite
}

@keyframes spin {
  from {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

/* Spin the header brand logo slowly */
.brand-logo {
  animation: spin 12s linear infinite
}



.brand {
  perspective: 600px
}

.brand-logo {
  animation: rotateYone 8s linear infinite;
  transform-style: preserve-3d;
}

100% {
  transform: rotateY(18deg);
}
}

.q-headline {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.6rem, 4.5vw, 3.4rem);
  letter-spacing: .1px;
  line-height: 1.08;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 3rem;
  text-align: center;
}

@media (max-width: 720px) {
  .hero-inner {
    padding: 4rem 1.25rem;
  }
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.hero-arrow.prev {
  left: 1.2rem;
}

.hero-arrow.next {
  right: 1.2rem;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, .55)
}

@media (min-width: 1024px) {
  .hero-arrow.prev {
    left: 2.2rem;
  }

  .hero-arrow.next {
    right: 2.2rem;
  }
}

.hero {
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #222 center/cover no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .9s ease, transform 9s cubic-bezier(.22, .61, .36, 1);
  z-index: 0;
  will-change: opacity, transform;
}

.hero-bg.is-active {
  opacity: 1;
  transform: scale(1.0)
}

@keyframes rotateYone {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}