/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* Theme */
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  display: flex;
  flex-flow: row-reverse;
  min-height: 100vh;
  height: 100%;
  font-family: 'Inter',  sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
}

span.h1 {
  border: 1px solid #ff0087;
  padding: 0.75rem 1rem;
  border-radius: 5rem;
  text-transform: uppercase;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  display: inline-block;
}


.column.bottom {
  display: flex;
  flex-flow: column;
  justify-content: end;
}

.notified a {
  color: #fff;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 200;
}

aside {
  border-right: 1px solid rgb(16 16 16);
  width: 20rem;
  box-sizing: border-box;
  padding: 4.4rem 4rem 3rem 4rem;
}

.sticky-column {
  position: sticky;
  top: 0;
  bottom: 0;
  display: flex;
  flex-flow: column;
  height: 100%;
}

.notified {
  margin-top: auto;
}

main {
  width: calc(100% - 20rem);
  position: relative;
}

.copyright {
  padding-top: 3rem;
  box-sizing: border-box;
  border-top: 1px solid rgb(27 27 28);
  color: #fff;
  font-size: 0.65rem;
  font-optical-sizing: auto;
  margin-top: 4rem;
  font-family: "Inter", sans-serif;
  font-weight: 200;
}


h4 {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #fff;
  margin-bottom: 0.5rem;
}

.frame {
  width: 80%;
  margin: 0 auto;
  height: calc(100% - 15rem);
  min-height: calc(100vh - 15rem);
  display: flex;
  flex-flow: column;
}


video {
  width: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  height: 35%;
}

main::before {
  content: '';
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  height: 35%;
  background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 100%);
}

main::after {
  content: '';
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  height: 35%;
  background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.frame { position: relative; z-index: 2 }

h1 {
  color: #fff;
  font-family: 'Space Grotesk';
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 0;
  font-size: 3.5rem;
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 200;
  margin-top: 0;
  font-size: .8rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.columns.service-grid {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
}


.columns.service-grid .column {
  width: 20%;
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.35rem;
  font-weight: 200;
}

.columns.service-grid .column {
  width: 20%;
}

.header-background {
  margin-bottom: 5rem;
  height: 10rem;
}

.row.margin-top {
  margin-top: auto;
  margin-bottom: 4rem;
}

.columns {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
}

.column.width-half {
  width: 48%;
}

footer {
  padding-top: 3rem;
  box-sizing: border-box;
  border-top:1px solid rgb(27 27 28);
  color: #fff;
  font-size: 0.65rem;
  font-optical-sizing: auto;
  margin-top: auto;
  font-family: "Inter", sans-serif;
  font-weight: 200;
  margin-bottom: 3rem;
}

p.intro {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: 300;
  font-size: 1rem;
}

.logo img {
  width: 75%;
}

footer img {
  height: .8rem;
}

.column.shrink {
  flex-shrink: 1;
}

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

.column.right.shrink {
  margin-left: auto;
}

footer .column:first-child {
  margin-right: 1rem;
}

.frame > .row:first-child > .columns:first-child {
  margin-bottom: 4rem;
}

@media (min-width: 1496px) {
  html {
    font-size: 1.07vw;
  }
}

@media (max-width: 1495px) {
  html {
    font-size: 1.07vw;
  }
}

@media (max-width: 1180px) {
  html {
    font-size: 1.1vw;
  }

  body {
    flex-flow: column-reverse;
    justify-content: flex-end;
  }

  aside {
    border-right: unset;
    border-bottom: 1px solid rgb(16 16 16);
    width: 100%;
    padding: 3rem 0rem 3rem 0rem;
  }

  main {
    width: 100%;
    position: relative;
    flex-grow: 1;
  }

  .sticky-column {
    flex-flow: row;
    padding-left: 5rem;
    padding-right: 5rem;
    max-width: 85vw;
    margin-left: auto;
    margin-right: auto;
  }

  .logo img {
    width: unset;
    height: 2rem;
  }

  .notified {
    margin-top: unset;
    margin-left: auto;
    display: flex;
    align-items: center;
  }

  h4 {
    margin-top: unset;
    margin-bottom: unset;
    margin-right: 1rem;
  }

  .notified a {
    font-size: 1rem;
  }

  .copyright {
    display: none;
  }

  main {
    width: 100%;
    display: flex;
    flex-flow: column;
  }

  .frame {
    width: 85vw;
    margin: 0 auto;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-flow: column;
    flex-grow: 1;
    padding-left: 5rem;
    padding-right: 5rem;
  }

  .row.margin-top {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  footer {
    margin-top: auto;
  }

  video {
    height: 34%;
  }

  h1 {
    font-size: 5.5rem;
  }

  p.intro {
    font-size: 1.5rem;
  }

  footer {
    font-size: 0.85rem;
  }

  .columns.service-grid .column {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1rem;
    margin-bottom: 3rem;
  }

}

@media (max-width: 800px) {

  html {
    font-size: 1.6vw;
  }

  .columns {
    flex-flow: row wrap;
  }

  .column.width-half {
    width: 100%;
    margin-bottom: 5rem;
  }

  .row.margin-top {
    margin-top: 0rem;
    margin-bottom: 2rem;
  }

  .columns.service-grid .column {
    width: 45%;
    margin-bottom: 4rem;
  }

  .columns.service-grid {
    flex-flow: row wrap;
  }

}
