@font-face {
  font-family: "AvenirLight";
  src: url("../fonts/950378418-avenirltstd-light.eot");
  src: url("../fonts/950378418-avenirltstd-light.eot?#iefix") format("embedded-opentype"), url("../fonts/950378418-avenirltstd-light.svg") format("svg"), url("../fonts/950378418-avenirltstd-light.woff") format("woff"), url("../fonts/950378418-avenirltstd-light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "AvenirBlack";
  src: url("../fonts/78979493-avenirltstd-heavy.eot");
  src: url("../fonts/78979493-avenirltstd-heavy.eot?#iefix") format("embedded-opentype"), url("../fonts/78979493-avenirltstd-heavy.svg") format("svg"), url("../fonts/78979493-avenirltstd-heavy.woff") format("woff"), url("../fonts/78979493-avenirltstd-heavy.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

#header {
  margin: 26px 0 30px;
  z-index: 4;
}

#header .logo img {
  width: 280px;
}

#header .top-link {
  position: absolute;
  top: 0px;
  color: #00b8e7;
  font-size: 0.75rem;
}

#header .top-link:hover {
  color: #6d5e4c;
}

#header .top-link:last-of-type {
  right: 0;
}

#header .regular-link {
  float: left;
  margin-right: 20px;
  width: calc(100%/3 - 15px);
  color: #6d5e4c;
  border-bottom: 4px solid #00b8e7;
  font-size: 0.75rem;
}

#header .regular-link:last-of-type {
  margin-right: 0;
}

#header .regular-link.active, #header .regular-link:hover {
  color: #00b8e7;
  border-bottom-color: #00b8e7;
}

#header #menu-toggle-trigger {
  position: fixed;
  top: -100%;
  left: -100%;
  clip: rect(0, 0, 0, 0);
}

#header #menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 10px;
  width: 25px;
  background-image: url("../img/bars-icon.svg");
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
}

#header #menu {
  position: absolute;
  right: 20px;
  width: 488px;
  height: 100%;
  text-transform: uppercase;
  font-size: 0.6rem;
}

#header #menu a {
  font-family: "AvenirBlack", arial, sans-serif;
}

#header #menu nav {
  display: flex;
  align-items: flex-end;
  position: absolute;
  width: 100%;
  bottom: 0;
}

@media only screen and (max-width: 812px) {
  #header .logo {
    overflow: hidden;
    width: 75px;
  }
  #header #menu-toggle {
    display: inline-block;
  }
  #header #menu-toggle-trigger:checked ~ #menu {
    height: auto;
    max-height: 100vh;
  }
  #header .top-link {
    top: 20px;
  }
  #header .top-link:first-of-type {
    left: 20px;
  }
  #header .top-link:last-of-type {
    right: 20px;
  }
  #header #menu {
    position: fixed;
    background-color: #ececea;
    z-index: 3;
    width: 100%;
    height: 0;
    max-height: 0;
    transition: max-height 0.4s ease;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
  }
  #header #menu nav {
    position: static;
    top: 0;
    padding: 60px 20px 0;
  }
  #header #menu .regular-link {
    display: block;
    float: none;
    font-size: 2em;
    width: 100%;
    margin-top: 2em;
  }
}

@media only screen and (max-width: 420px) {
  #header {
    margin: 16px 0 0;
  }
}

/* Footer */
.pre-footer {
  background-color: #ffffff;
  transform: skewY(4deg);
  height: 10vw;
  margin: -5vw 0;
}

#footer {
  width: 100%;
  background-color: #ffffff;
  padding: 30px 0 70px;
}

#footer .footer-text {
  width: calc(100% - 35px * 4);
  display: inline-block;
}

#footer .footer-text span {
  padding: 3px 0;
  text-transform: uppercase;
  font-size: 0.625em;
  display: block;
}

#footer .footer-text .tsm-description {
  font-family: "AvenirBlack", arial, sans-serif;
}

#footer .footer-links {
  display: inline-block;
  float: right;
}

#footer .footer-links a {
  display: inline-block;
  margin-left: 5px;
  float: left;
  width: 30px;
}

#footer .footer-links a:first-of-type {
  margin-left: 0;
}

@media only screen and (max-width: 420px) {
  #footer .footer-text {
    display: none;
  }
  #footer .footer-links {
    float: none;
    width: 100%;
  }
  #footer .footer-links a {
    margin: 0 6px 0 0;
    width: calc(25% - (3 / 4 * 6px));
  }
  #footer .footer-links a:last-of-type {
    margin-right: 0;
  }
}

img {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

a:link, a:hover, a:visited {
  text-decoration: none;
}

p a,
strong a,
li a {
  color: #00b8e7;
}

p a:hover,
strong a:hover,
li a:hover {
  text-decoration: underline;
}

/* Clearfix */
.group:after {
  content: '';
  display: table;
  clear: both;
}

.left {
  float: left;
}

.right {
  float: right;
}

* {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "AvenirLight", arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "AvenirBlack", arial, sans-serif;
  font-weight: 900;
}

body {
  margin: 0;
  padding: 0;
  color: #191816;
  background-color: #ececea;
}

html,
body {
  width: 100vw;
  overflow-x: hidden;
}

.content-wrap {
  position: relative;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1040px;
}

.skewed {
  transform: skewY(-4deg);
  background-color: #ffffff;
}

.skewed > div {
  transform: skewY(4deg);
}

section.lead .text {
  width: 400px;
}

section.lead .text h1 {
  font-size: 70px;
  line-height: 0.875em;
  color: #27b1d7;
}

section.lead .text p {
  font-size: 1.3em;
  padding-right: 75px;
  line-height: 1.725em;
}

section .text .title {
  font-size: 2.25em;
  letter-spacing: -0.0375em;
  color: #27b1d7;
  margin: 0;
}

section .text p {
  font-size: 1em;
  line-height: 1.5em;
}

section .image img {
  width: 100%;
}

section .float-image {
  z-index: 1;
  position: absolute;
}

section blockquote {
  hanging-punctuation: first;
  margin: 30px 0 0;
  line-height: 1.5em;
  color: #27b1d7;
  font-family: "AvenirBlack", arial, sans-serif;
}

section blockquote span {
  display: block;
  padding-left: 10px;
  position: relative;
}

section blockquote span:before {
  content: '-';
  left: 0;
  position: absolute;
}

@media only screen and (max-width: 812px) {
  section.lead {
    margin-top: 100px;
  }
  section .text,
  section.lead .text {
    width: 100%;
    padding-top: 0 !important;
  }
  section .text p,
  section.lead .text p {
    padding: 0;
  }
}

@media only screen and (max-width: 420px) {
  section .text .title {
    font-size: 2em;
  }
  section .text p {
    line-height: 1.375em;
    font-size: 1.125em;
  }
  section.lead .text .title {
    font-size: 2.75em;
  }
}

.about .text {
  padding: 28px 0 64px;
}

.about .text .title {
  color: #191816;
}

.about .text .title em {
  color: #00b8e7;
  font-family: inherit;
  font-style: inherit;
}

.about .image {
  right: -65px;
  top: 20px;
  width: calc(60% + 50px);
}

@media only screen and (max-width: 812px) {
  .about .text {
    padding-bottom: 0;
  }
  .about .image {
    position: relative;
    right: 0;
    width: 100%;
    margin-bottom: -106px;
  }
  .about .image img {
    position: relative;
    width: 515px;
    left: calc(-250px + 50%);
  }
}

.branding {
  transform: skewY(-4deg);
  background-color: #ffffff;
  padding-top: 84px;
}

.branding > div {
  transform: skewY(4deg);
  position: relative;
}

.branding .text {
  width: 318px;
}

.branding .graphic {
  position: absolute;
  width: calc(100% - 318px - 80px);
  height: 100%;
  background-image: url("../img/hibou-branding.png");
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
}

.branding .mobile-only {
  background-position: center;
  display: none;
  position: static;
  height: 100vw;
  width: 100%;
}

@media only screen and (max-width: 812px) {
  .branding {
    padding-top: 180px;
  }
}

@media only screen and (max-width: 620px) {
  .branding .text {
    width: 100%;
    float: none;
  }
  .branding .graphic {
    display: none;
  }
  .branding .mobile-only {
    display: block;
  }
}

@media only screen and (max-width: 420px) {
  .branding .mobile-only {
    background-image: url("../img/hibou-branding-minimal.png");
  }
}

.packaging {
  background-color: #ffffff;
  margin-top: -100px;
  padding: 200px 0 90px;
}

.packaging > div {
  position: relative;
}

.packaging .text {
  width: 318px;
  float: left;
  padding-bottom: 80px;
}

.packaging .graphic {
  position: absolute;
  right: 0;
  height: 100%;
  width: calc(100% - 318px);
  background-image: url("../img/agnosante.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
}

@media only screen and (max-width: 620px) {
  .packaging {
    padding-top: 100px;
    padding-bottom: 100vw;
  }
  .packaging .text {
    float: none;
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .packaging blockquote {
    margin-bottom: 0;
  }
  .packaging .graphic {
    width: 100%;
    height: 80vw;
  }
}

@media only screen and (max-width: 420px) {
  .packaging .graphic {
    background-size: cover;
    background-position: center;
    min-height: calc(420px * 0.8);
  }
}

.more-info {
  background-color: #ffffff;
}

.more-info h3 {
  font-size: 1.3em;
  margin-bottom: 0.5em;
}

.more-info p {
  line-height: 1.5em;
  margin: 0.5em 0;
}

.more-info span {
  color: #00b8e7;
  font-family: "AvenirBlack", arial, sans-serif;
}

.more-info .col {
  float: left;
}

.more-info .col > div {
  margin-bottom: 40px;
  min-height: 220px;
  max-width: 510px;
}

.more-info .col > div > a {
  color: #00b8e7;
  text-transform: uppercase;
  font-family: "AvenirBlack", arial, sans-serif;
  font-size: 0.625em;
}

.more-info .col > div > a:hover {
  color: #6d5e4c;
}

.more-info .col:first-of-type {
  width: calc(100% - 320px);
}

.more-info .col:first-of-type div p {
  padding-right: 1em;
}

.more-info .col:last-of-type {
  width: 320px;
}

.more-info .col:last-of-type > div:first-of-type {
  padding-top: 36px;
}

.more-info .giving-back {
  font-size: 0;
}

.more-info .giving-back img {
  display: inline-block;
  width: 148px;
}

.more-info .giving-back > div {
  padding-left: 1em;
  font-size: 1rem;
  display: inline-block;
  width: calc(100% - 148px);
}

@media only screen and (max-width: 812px) {
  .more-info.contact-page {
    background-color: #ffffff;
  }
  .more-info .col:first-of-type,
  .more-info .col:last-of-type {
    width: 100%;
  }
  .more-info .col:first-of-type > div,
  .more-info .col:last-of-type > div {
    min-height: auto;
    max-width: none;
  }
}

@media only screen and (max-width: 420px) {
  .more-info .col:first-of-type {
    display: none;
  }
}

.our-work .text {
  padding: 132px 0 0;
}

.our-work .image {
  right: calc(20px - 60px);
  width: calc(60% + 80px);
  top: -10px;
}

@media only screen and (max-width: 812px) {
  .our-work .text {
    padding-top: 28px;
  }
  .our-work .image {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    margin-bottom: -140px;
    margin-top: -20px;
  }
  .our-work .image img {
    position: relative;
    width: 515px;
    left: calc(-250px + 50%);
  }
}


.grid-column {
  width: calc(100% / 3 - 40px / 3);
  margin-right: 2%;
  float: left;
}

.grid-column:last-of-type {
  margin: 0;
}

.grid-column img {
  width: 100%;
  margin-bottom: 7.5%;
}

@media only screen and (max-width: 420px) {
  .grid-column {
    width: 100%;
    margin: 0;
  }
}



.help.lead .text {
  width: 340px;
  padding-top: 80px;
  float: left;
}

.help.lead .text p {
  padding-right: 0 !important;
}

.help .image {
  width: calc(100% - 340px);
  float: right;
  padding-top: calc(334px - 30%);
}

.help .image img {
  width: 95%;
}

@media only screen and (max-width: 812px) {
  .help {
    margin-bottom: 0;
  }
  .help.lead .text {
    width: 100%;
  }
  .help .image {
    width: 100%;
    float: none;
  }
}


.team {
  position: relative;
  z-index: 1;
}

.team .image {
  left: 10%;
  bottom: 30%;
  width: 30%;
}

@media only screen and (max-width: 420px) {
  .team .image {
    left: 0%;
    bottom: 80%;
    width: 60%;
  }
}

.contact {
  margin: 100px 0 80px;
}

.contact.lead .text {
  width: 480px;
  float: left;
  padding-top: 62px;
}

.contact.lead .text p {
  padding-right: 0;
}

.contact #map {
  width: calc(100% - 480px - 10px);
  height: 480px;
  float: right;
}

@media only screen and (max-width: 812px) {
  .contact.lead .text {
    width: 100%;
  }
  .contact #map {
    width: 100%;
    height: 40vh;
  }
}

.contact-form {
  margin-bottom: 140px;
}

.contact-form .form-group {
  width: calc(100% - 340px);
  padding-right: 10px;
  float: left;
  border-right: 1px solid #ffffff;
}

.contact-form .form-group .input {
  margin-bottom: 50px;
}

.contact-form .form-group input {
  padding: 0.5em;
  width: 100%;
  outline: none;
}

.contact-form .form-group textarea {
  width: 100%;
  height: 246px;
  padding: 0.5em;
  outline: none;
  border: none;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 10px;
}

.contact-form .form-group .narrow {
  width: 50%;
  float: left;
}

.contact-form .form-group .narrow:nth-of-type(odd) {
  padding-right: 20px;
}

.contact-form .form-group .narrow:nth-of-type(even) {
  padding-right: 0;
}

.contact-form .form-group .submit {
  color: #00b8e7;
  text-transform: uppercase;
  background-color: transparent;
  border: none;
  font-family: "AvenirBlack", arial, sans-serif;
  text-align: left;
}

.contact-form .form-group .submit:hover {
  color: #6d5e4c;
}

.contact-form .sidebar {
  padding-top: 32px;
  width: 340px;
  float: right;
}

.contact-form .sidebar > div {
  padding-left: 10px;
}

.contact-form .sidebar .title {
  font-size: 1.5em;
}

.contact-form .sidebar .social-links {
  display: block;
  margin: 40px 0;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  padding: 30px 10px;
  line-height: 0;
}

.contact-form .sidebar .social-links a {
  display: inline-block;
  margin-left: 5px;
  width: 30px;
  height: 30px;
}

.contact-form .sidebar .social-links a:first-of-type {
  margin-left: 0;
}

@media only screen and (max-width: 812px) {
  .contact-form {
    margin-bottom: 70px;
  }
  .contact-form .form-group {
    width: 100%;
    float: none;
    border: none;
    padding-right: 0;
  }
  .contact-form .sidebar {
    width: 100%;
    float: none;
  }
}

