body {
  --red-color: #BC6045;
  --rich-red-color: #BE4C2D;
  --dark-red-color: #B84D40;
  --black-color: #343434;
  --semitransparent-tan-color: rgba(193, 167, 95, .4);
  --nonsemitransparent-tan-color: rgba(193, 167, 95, .5);
  --light-tan-color: #E3D7B7;
  --extra-light-tan-color: #faead6;
  --tan-bg-color: #EDE3B2;
  --max-width: 1200px;
  --body-side-padding: 24px;
  --breakpoint-large: 1280px;
  --light-gray-color: #aaa;
}

body {
  /* padding: 50px*/
  font-family: 'adobe-caslon-pro', 'Adobe Caslon Pro', 'Adobe Garamond Pro', Garamond, Baskerville, Georgia, serif;
  color: var(--black-color);
  background: url(/img/background-1k-c.jpg);
  background-color: var(--tan-bg-color);
  background-position: center;
  background-size: 512px;
  margin: 0;
}

h1, h2 {
  font-family: bourbon, 'Bourbon', Futura, 'Impact', 'Franklin Gothic', 'Gill Sans', serif;
  font-weight: normal;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

h1 {
  font-size: 12rem;
  margin-top: 2rem;
  padding-top: 0;
  /* line-height: 1em*/
  color: var(--dark-red-color) !important;
}

@supports((-webkit-background-clip: text) or (background-clip: text)) {

h1 {
    background-image: url(/img/title-background.jpg);
    color: transparent !important;
    -webkit-background-clip: text;
            background-clip: text;
    background-size: cover;
    background-position: top;
  }
}

h1 {
  background-color: var(--dark-red-color);
  
  display: inline-block;
}

@media(max-width: 999px) {

h1 {
    font-size: 9rem;
    margin-top: 15px;
  }
}

@media(max-width: 500px) {

h1 {
    font-size: 7rem;
    margin-top: 50px;
  }
}

@media(max-width: 350px) {

h1 {
    font-size: 6rem;
    margin-top: 30px;
  }
}

h2 {
  letter-spacing: 7px;
  padding-bottom: 2rem;
  font-size: 1.8rem;
}

@media(max-width: 999px) {

h2 {
    font-size: 1.4rem;
    padding-bottom: 4rem;
    /* letter-spacing: 5px*/
  }
}

@media(max-width: 500px) {

h2 {
    font-size: 1.2rem;
    letter-spacing: 5px;
  }
}

@media(max-width: 350px) {

h2 {
    font-size: 1rem;
    padding-bottom: 2rem;
    /* margin-bottom: 20px*/
  }
}

h3, .button {
  font-family: futura-pt, Futura, 'Gill Sans', 'Franklin Gothic', sans-serif;
}

p {
  font-feature-settings: "onum";
  font-variant-numeric: oldstyle-nums;
}

h3 {
  font-weight: 900;
  color: var(--red-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.8rem;
}

@media(max-width: 999px) {

h3 {
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5rem;
  }
}

@media(max-width: 500px) {

h3 {
    font-size: 1.3rem;
  }
}

.button {
  padding: 12px;
  background: var(--semitransparent-tan-color);
  mix-blend-mode: multiply;
  border-radius: 1.5px;
  text-align: center;
  box-shadow: 0px 0px 0px rgba(80, 30, 0, .15);
  transition: box-shadow 0.2s, background 0.2s;
}

.button:hover {
    box-shadow: 5px 5px 10px rgba(80, 30, 0, .1);
    background: var(--nonsemitransparent-tan-color);
    /* transform: translateX(-3px) translateY(-3px)*/
}

#video-container {
  /* margin: 0 10px !important*/
  box-shadow: 10px 10px 50px rgba(0, 0, 0, .6);
  border-radius: 6px !important;
}

#video-container div, #video-container iframe {
    border-radius: 6px !important;
}

#video-container {
  background: #000;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2000;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  right: 10px;
  z-index: 2000;
}

#video-container::before {
    content: " ";
    width: 100%;
    height: 400px;
    position: relative;
}

#video-container {
  /* iframe*/
  /*   position: absolute*/
  /*   top: 0*/
  /*   bottom: 0*/
  /*   left: 0*/
  /*   right: 0*/
  /*   z-index: 2000*/
}

main {
  position: relative;
}

#video-backdrop-buffer {
  padding: 0;
  margin: 0;
  padding-bottom: 56.25%;
  /* background-color: red*/
}

#video-backdrop-buffer-outer {
  max-width: 1200px;
  padding: 0;
  margin: 0;
}

#video-backdrop {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s;
}

#video-backdrop.in {
    opacity: .85;
    pointer-events: auto;
}

section {
  position: relative;
  background-repeat: no-repeat;
}

section#video {
  padding: 0 10px !important;
  /* background: linear-gradient(black, rgba(0,0,0,0))*/
  /* padding-bottom: 70px*/
  /* background: rgba(0,0,0,0.8)*/
  margin-bottom: 70px;
}

@media(max-width: 500px) {

section#video {
    margin-bottom: 40px;
  }
}

section#video .video-inner-frame {
    position: relative;
    background-color: #000;
    /* padding-bottom: 56.25%*/
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

section#video .video-inner-frame iframe, section#video .video-inner-frame embed, section#video .video-inner-frame object {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%  ;
      border-radius: 6px;
}

section#video .video-outer-frame {
    box-shadow: 10px 10px 50px rgba(0, 0, 0, .6);

    max-width: 1200px;
}

@media(max-height: 800px) {

section#video .video-outer-frame {
      max-width: 1000px;
  }
}

section#video .video-outer-frame {
    margin: 0 auto;
    padding: 0 10px;
}

#synopsis {
  padding-bottom: 350px;
  background-image: url(/img/plane-3.svg);
  background-position: 90% bottom;
  background-size: 1300px;
}

@media(min-width: 2400px) {

#synopsis {
    background-position: 70% bottom;
  }
}

@media(max-width: 1280px) {

#synopsis {
    padding-bottom: 270px;
    background-position: 100% bottom;
    background-size: 80%;
  }
}

@media(max-width: 999px) {

#synopsis {
    padding-bottom: 35vw;
    background-position: 50% bottom;
    background-size: 93%;
  }
}

@media(max-width: 500px) {

#synopsis {
    padding-bottom: 40vw;
  }
}

#reviews {
  background-image: url(/img/pilots-900.svg);
  background-position: 60% bottom;
  padding-bottom: 300px;
}

@media(max-width: 1280px) {

#reviews {
    background-size: 65%;
    padding-bottom: 180px;
    background-position: 80% bottom;
  }
}

@media(max-width: 999px) {

#reviews {
    background-size: 90%;
    background-position: 50% bottom;
    padding-bottom: 60vw;
  }
}

#author-bio {
  background-image: url(/img/fast-plane.svg);
  background-position: bottom center;
  padding-bottom: 200px;
}

@media(max-width: 999px) {

#author-bio {
    background-size: 600px;
  }
}

section#author-bio img {
  width: 400px;
  margin: 60px 80px;
}

@media(max-width: 500px) {

section#author-bio img {
    width: 240px;
    margin: 0 auto;
  }
}

aside {
  
  width: 480px;
  float: right;
  display: block;
  position: -webkit-sticky;
  position: sticky;
  top: 40px;
  z-index: 2;
  right: calc((100vw - 1200px)/2 - 30px);
  height: 700px;
  /* background-color: red*/
}

@media(max-width: 1200px) {

aside {
    right: 0;
  }
}

@media(max-width: 999px) {

aside {
    z-index: 2000;
    float: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    /* background-color: red*/
    top: auto;
    width: auto;
    padding: 0;


    /* transform: none*/
    right: 0;
  }
}

@media(min-width: 2200px) {

aside {
    right: 27vw;
  }
}

aside {
  overflow: hidden;
}

aside .body {
    height: 700px;
    background: url(/img/aside-paper-squeezed.svg);
    padding-top: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto;
    transform: rotate(1deg) translateX(-20px);
}

@media(max-width: 1280px) {

aside .body {
      transform: rotate(1deg) translateX(20px);
  }
}

@media(max-width: 1024px) {

aside .body {
      transform: rotate(1deg) translateX(20px);
  }
}

@media(max-width: 999px) {

aside .body {
      /* background: transparent*/
      /* background-repeat: no-repeat*/
      /* background-position: top left*/
      /* background-size: 100%*/
      height: 130px;
      background: transparent;
      transform: none;
      display: flex;
      /* background: url()*/
      /* // overflow: hidden*/
      /* transform: none*/
      /* display: grid*/
      /* grid-template-columns: 1fr 1fr 1fr 1fr*/
      /* grid-template-rows: 1fr 1fr 1fr 1fr*/
      /* padding-top: 70px*/
      padding: 0;
  }
      aside .body::before {
        content: "";
        width: 100%;
        height: 67px;
        background: url(/img/paper-texture-2-light.jpg);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        box-shadow: 0 0 30px rgba(0, 0, 0, .4);
  }
      aside .body p {
        grid-row: 2/3;
        grid-column: 2/5;
        margin: 0;
        /* padding-top: 55px*/
        display: none;
  }
      aside .body .button {
        grid-row: 3/4;
        width: 70%;
        height: auto;
        align-self: flex-end;
        overflow: visible;
        margin: 10px 10px 10px 10px !important;
        margin-left: 0;
        height: 24px;
  }
        aside .body .button.primary {
          margin-left: 0 !important;
  }
}

@media(max-width: 999px) and (max-width: 400px) {
          aside .body .button:not(.primary) {
            display: none;
            order: 1;
  }
}

@media(max-width: 999px) {
      aside .body .primary {
        order: 4 !important;
  }
      aside .body picture, aside .body img {
        width: 130px;
        margin-left: 0px;
        position: relative;
        top: -23px;
        left: 0px;
        /* grid-column: 1/2*/
        /* grid-row: 1/4*/
        /* position: relative*/
        /* position: absolute*/
        /* bottom: 0*/
        /* z-index: 50000*/
        /* top: -40px*/
        /* height: 18vw*/
        /* height: 50px*/
        /* // padding-top: 17px*/
        /* width: 50px*/
  }
}

aside .body {
    /* @media(max-width: 620px)*/
    /*   height: 180px*/
    /*   padding-top: 18px*/
    /*   & img*/
    /*     margin-top: 60px*/
    /* @media(max-width: 500px)*/
    /*   padding-top: 90px*/
    /*   padding-bottom: 20px*/

    /*   & p*/
    /*     display: none*/
    /*   grid-template-columns: 1fr 1fr*/
    /*   background-size: cover*/
    /*   height: 40vw*/
    /*   grid-template-rows: 1fr 1fr*/
    /*   & .button*/
    /*     grid-row: auto*/
    /*     grid-column: 2/3*/
    /*     margin-bottom: 0*/
    /*     margin-top: 25px*/
    /*     margin-bottom: auto*/
    /*     padding: 16px*/
    /*   & picture, & img*/
    /*     grid-row: 1/4*/
    /*     grid-column: 1/2*/
    /*     height: 35vw*/
    /*     margin-top: 20px*/
    /* @media(max-width: 350px)*/
    /*   padding-top: 80px*/
    /*   padding-bottom: 20px*/
    /*   & .button*/
    /*     margin-top: 10px*/
    /*     margin-bottom: 10px*/
    /*     padding: 10px*/
    /*   & img, & picture*/
    /*     margin-top: 12px*/
}

aside picture, aside img {
  mix-blend-mode: multiply;
  width: 230px;
  margin: 24px auto;
  position: relative;
  left: -10px;
  display: block;
}

@media(max-width: 999px) {

aside picture, aside img {
    mix-blend-mode: normal;
  }
}

.button.primary {
  background-color: var(--red-color);
  color: var(--extra-light-tan-color);
}

aside .button {
  display: block;
  width: 230px;
  margin: 15px auto;
}

aside .button.primary {
  background-color: var(--red-color);
  color: white;
}

aside .button.primary:hover {
    background-color: var(--rich-red-color);
}

header .button {
  display: inline-block;
  /* font-weight: 600*/
  margin: 20px;
  width: 150px;
  margin-bottom: 6rem;
}

@media(max-width: 999px) {

header .button {
    margin: 0;
  }
}

@media(max-width: 999px) {

header .button {
    display: none;
    /* width: 120px*/
  }
}

header {
  text-align: center;
  background-image: url(/img/plane-header-1.svg), url(/img/plane-header-2.svg);
  /* background: black*/
  /* background: rgba(0,0,0,0.8)*/
  background-size: 22vw, 22vw;
  background-repeat: no-repeat;
  background-position: 5% bottom, 90% top;
}

@media(max-width: 1280px) {

header {
    background-position: 0% bottom, 100% top;
  }
}

@media(max-width: 999px) {

header {
    padding-bottom: 25px;
    background-size: 35vw, 40vw;
    background-position: -20% 110%, 110% -50px;
  }
}

@media(max-width: 500px) {

header {
    background-image: url(/img/plane-header-2.svg);
    padding-bottom: 0;

    /* padding-bottom: 150px*/
    background-size: 44vw;
    background-position: 100% -20px;
  }
}

@media(max-width: 350px) {

header {
    /* padding-bottom: 100px*/
    background-position: 115% -20px;
  }
}

nav, .button {
  font-weight: 500;
  font-size: 1.2rem;
  font-family: futura-pt, Futura, 'Gill Sans', 'Franklin Gothic', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

nav {
  display: flex;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px var(--body-side-padding);
  white-space: nowrap;
}

nav ul {
  list-style-type: none;
  display: flex;
  margin: 0;
  padding: 0;
  /* justify-content: center*/
  flex: 1;
}

@media(max-width: 999px) {

nav ul {
    display: none;
  }
}

nav a {
  padding: 10px;
  display: inline-block;
}

nav a.home, .spacer {
  flex: 1;
  text-align: left;
  color: var(--red-color);
  padding-left: 0;
}

@media(max-width: 999px) {

.spacer {
    display: none;
  }
}

nav li:nth-of-type(1) {
  text-align: left;
}

p {
  max-width: 57%;
}

@media(max-width: 1280px) {

p {
    max-width: 57%;
  }
}

p {
  font-size: 1.5rem;
  line-height: 1.4em;
}

@media(max-width: 999px) {

p {
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media(max-width: 500px) {

p {
    max-width: 100%;
    font-size: 1.3rem;
  }
}

footer {
  text-align: center;
}

footer img {
  width: 260px;
  margin: 80px;
  opacity: 0.6;
}

@media(max-width: 999px) {

footer img {
    width: 200px;
    margin: 80px 10px;
  }
}

@media(max-width: 999px) {

footer img {
    margin-bottom: 160px;
  }
}

@media(max-width: 700px) {

.desktop {
    display: none !important;
  }
}

@media(min-width: 701px) {

.mobile {
    display: none;
  }
}

@media(min-width: 401px) {

.tiny {
    display: none;
  }
}

@media(max-width: 400px) {

.tiny-hidden {
    display: none !important;
  }
}

@media(max-width: 500px) {

.hidden-small {
    display: none !important;
  }
}

.scstrong strong {
  font-style: normal;
  font-weight: normal;
  font-feature-settings: "c2sc";
  font-variant: small-caps;
}

.jpeg2000 #author-bio {
    background-image: url(/img/fast-plane.jp2);
}

.jpeg2000 header {
    background-image: url(/img/plane-header-1.jp2), url(/img/plane-header-2.jp2);
}

@media(max-width: 500px) {

.jpeg2000 header {
      background-image: url(/img/plane-header-2.jp2);
  }
}

.jpeg2000 #synopsis {
    background-image: url(/img/plane-3.jp2);
}

.jpeg2000 #reviews {
    background-image: url(/img/pilots.jp2);
}

@media(min-width: 1000px) {

.jpeg2000 aside .body {
      background-image: url(/img/aside-paper-squeezed.jp2);
  }
}

.jpeg2000 aside .body {
    /* @media(max-width: 999px)*/
    /*   background-image: url(/img/paper-bottom.jp2)*/
}

.webp #author-bio {
    background-image: url(/img/fast-plane.webp);
}

.webp header {
    background-image: url(/img/plane-header-1.webp), url(/img/plane-header-2.webp);
}

@media(max-width: 500px) {

.webp header {
      background-image: url(/img/plane-header-2.webp);
  }
}

.webp #synopsis {
    background-image: url(/img/plane-3.webp);
}

.webp #reviews {
    background-image: url(/img/pilots.webp);
}

@media(min-width: 1000px) {

.webp aside .body {
      background-image: url(/img/aside-paper-squeezed.webp);
  }
}

.webp aside .body {
    /* @media(max-width: 999px)*/
    /*   background-image: url(/img/paper-bottom.webp)*/
}

/* .jpegxr*/

/*   & #author-bio*/

/*     background-image: url(/img/fast-plane.webp)*/

/*   & header*/

/*     background-image: url(/img/plane-header-1.webp), url(/img/plane-header-2.webp)*/

/*     @media(max-width: 500px)*/

/*       background-image: url(/img/plane-header-2.webp)*/

/*   & #synopsis*/

/*     background-image: url(/img/plane-3.webp)*/

/*   & #reviews*/

/*     background-image: url(/img/pilots.webp)*/

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    display: none;
    overflow-y: scroll;
    z-index: 3000;
    h1, h2, h3, h4 {
        color: #fff;
    }
    p, label {
        color: #ccc
    }
    opacity: 0;
    transition: opacity 0.5s;
}

.modal-content {
    width: 100%;
    z-index: 4000;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow-y: scroll;
    // padding-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-bg {
    background-color: rgba(0, 0, 0, 1);
    position: absolute;
    z-index: 3000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-position: center;
    background-repeat: no-repeat;
}

.modal-white .modal-bg {
    background-color: rgba(255, 255, 255, 1);
    background-image: url(/images/loading-light.png);
}

.modal-black-spinner .modal-bg {
    background-image: url('/images/loading.gif');
}

.modal-black.modal-loading .modal-bg {
    background-image: url('/images/loading.gif');
}

.close-button {
    position: absolute;
    top: 0;
    left: 20px;
    padding: 0;
    width: 40px;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    /*border: 2px solid white;*/
    border-radius: 100px;
    background-color: #000;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .8);
    opacity: 0.3;
    width: 44px;
    height: 44px;
    line-height: 0;
    font-weight: 200;
    z-index: 6000;
    margin-top: 20px;
    font-weight: 400;
    font-family: futura-pt, Futura, sans-serif;
    transition: opacity 0.2s
}

.close-button:hover {
        opacity: 0.8;
    }

.loading {
    z-index: 5000;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none
}

.loading.status {
        p {
            max-width: 400px;
        }
        margin: 0 auto;
    }

.video-container-inner {
    /*background-color: #000;*/
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
    /*// margin-top: 52px;*/
}

.video-container-inner iframe{
    
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.wf-loading {
  opacity: 0.0;
}

.wf-active {
  transition:          opacity 0.25s ease-in;
                       opacity: 1;
}

.wf-inactive {
  opacity: 1;
}

@media(min-width: 998px) {

.testimonial:last-child {
    width: 50%;
  }
}

@media(min-width: 998px) {

.testimonial:last-child .attribution {
    width: 40%;
  }
}

.attribution {
  padding-bottom: 0.8rem;
  padding-left: 3rem;
}

.attribution:before {
    content: "\2014";
}

.body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--body-side-padding);
}

@media(max-width: 350px) {

.body {
    padding: 0 10px;
  }
}