/* resets */

* {
 -moz-box-sizing: border-box;
 -ms-box-sizing: border-box;
 box-sizing: border-box; 
}

section, article, header, footer, nav, aside,
figure, figcaption {
  display: block; 
}

img { border: 0px; width: 100%; }
ul, ol { list-style: none; margin: 0px; padding: 0px; }
figure { margin: 0; padding: 0; }
a { color: inherit; }
html, body { margin: 0; padding: 0; }

/* Hide / Show */

.hide { display: none !important; }
.S-show { display: block; }
.S-hide { display: none; }
@media screen and (min-width: 600px) { /* Medium */
  .M-show { display: block; }
  .M-hide { display: none; }
}
@media screen and (min-width: 800px) { /* Large */
  .L-show { display: block; }
  .L-hide { display: none; }
}

/* Offsets */

@media screen and (min-width: 600px) { /* Medium */
  .offset-left-center { margin-left: auto; margin-right: auto; }
  .offset-left-0 { margin-left: 0%; }
  .offset-left-10 { margin-left: 10%; }
  .offset-left-20 { margin-left: 20%; }
  .offset-left-30 { margin-left: 30%; }
  .offset-left-33 { margin-left: 33.333333%; }
  .offset-left-40 { margin-left: 40%; }
  .offset-left-50 { margin-left: 50%; }
  .offset-left-60 { margin-left: 60%; }
  .offset-left-66 { margin-left: 66.666666%; }
  .offset-left-70 { margin-left: 70%; }
  .offset-left-75 { margin-left: 75%; }
  .offset-left-max { margin-left: auto; margin-right: 0%; }
  
  .overlap-bottom-30 { margin-bottom: -30%; }
  .overlap-bottom-25 { margin-bottom: -25%; }
  .overlap-bottom-20 { margin-bottom: -20%; }
  .overlap-bottom-15 { margin-bottom: -15%; }
  .overlap-bottom-10 { margin-bottom: -10%; }
  .overlap-bottom-5 { margin-bottom: -5%; }
  .overlap-bottom-0 { margin-bottom: 0%; }
  .push-bottom-5 { margin-bottom: 5%; }
  .push-bottom-10 { margin-bottom: 10%; }
  .push-bottom-15 { margin-bottom: 15%; }
  .push-bottom-20 { margin-bottom: 20%; }
  .push-bottom-25 { margin-bottom: 25%; }
  .push-bottom-30 { margin-bottom: 30%; }
}

/* Grid */

.size-style-1-1 { width: 100%; }
.size-style-1-2 { width: 100%; }
.size-style-1-3 { width: 100%; }
.size-style-1-4 { width: 100%; }
.size-style-2-3 { width: 100%; }
.size-style-3-4 { width: 100%; }

@media screen and (min-width: 600px) { /* Medium */
  .size-style-1-1 { width: 100%; }
  .size-style-1-2 { width: 50%; }
  .size-style-1-3 { width: 33.33333%; }
  .size-style-1-4 { width: 25%; }
  .size-style-2-3 { width: 66.66666%; }
  .size-style-3-4 { width: 75%; }
}


.S-1-2 { width: 50%; }

@media screen and (min-width: 600px) { /* Medium */
  .M-1-1 { width:100%; }
  .M-1-2 { width:50%; }
  .M-1-3 { width:33.33333%; }
  .M-1-4 { width: 25%; }
  .M-2-3 { width:66.66666%; }
  .M-3-4 { width:75%; }
}

@media screen and (min-width: 800px) { /* Large */
  .L-1-1 { width:100%; }
  .L-1-2 { width:50%; }
  .L-1-3 { width:33.33333%; }
  .L-1-4 { width: 25%; }
  .L-2-3 { width:66.66666%; }
  .L-3-4 { width:75%; }
}

.inline-block-container > * {
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline; 
  vertical-align: top;
}

.gutters {
  padding-left: 15px;
  padding-right: 15px;
}

.trunk {
  margin: 0 auto;
  max-width: 1280px;
}

.trunk-project,
.popup .trunk {
  margin: 0 auto;
  max-width: 640px;
}
@media screen and (min-width: 900px) {
  .popup .trunk {
    max-width: 640px;
    max-width: 44.44444444vw;
  }
}

/* Global */

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #fefafd;
  font-family: 'Gill Sans W01 Book', 'Gill Sans', sans-serif;
  letter-spacing: 0.1333em;
  color: #1e095c;
}

a {
  text-decoration: none;
}
a:hover { opacity: 0.6; }
a.not-text-link:hover { opacity: 1; }

h3 {
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 20px;
  margin-bottom: 60px;
  text-transform: uppercase;
  font-weight: normal;
}
@media screen and (min-width: 600px) {
  h3 {
    margin-bottom: 30px;
  }
}

.video-wrap {
  position: relative; padding-bottom: 75%;
  height: 0; overflow: hidden;
  padding-bottom: 56.25%;
  background-color: #fefafd; }
.video-wrap > * {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%; }

.page-home .video-wrap {  z-index: -1; }

/* Layout */

body > header nav {
  text-align: center;
}

body > header ul li {
  font-size: 14px;
  line-height: 120px;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 0.2666em;
  padding: 0 20px;
}

.content > section:first-child { margin-top: 120px; }
@media screen and (min-width: 600px) {
  .content > section:first-child { margin-top: 60px; }
}
.content > section:first-child.trunk-project { margin-top: 120px; }

.bodoni-title {
  font-family: 'Bauer Bodoni Std 1', serif;
  font-size: 60px;
  font-weight: bold;
  letter-spacing: -0.04em;
  text-transform: none;
}

.fixed-title {
  text-align: center;
  position: fixed;
  left: 0; right: 0;
  top: 30px; bottom: auto;
  height: 120px;
  pointer-events: auto;
  cursor: pointer;
}
.fixed-title h1 {
  font-family: 'Bauer Bodoni Std 1', serif;
  font-size: 32px;
  line-height: 0.9;
  font-weight: bold;
  letter-spacing: -0.04em;
  text-transform: none;
}

@media screen and (min-width: 600px) {
 .fixed-title {
    position: fixed;
    left: 0; right: 0;
    top: 0; height: 100%;
    height: 100vh;
    -webkit-transition: 0.4s ease-in-out;
    -ms-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
    pointer-events: none;
  }
  .fixed-title h1 {
    /* font-size: 198px; */
    margin-top: 50%;
    margin-top: 50vh;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: -webkit-transform 0.4s ease-in-out, font-size 0.4s ease-in-out, margin-top 0.4s ease-in-out;
    -moz-transition: -moz-transform 0.4s ease-in-out, font-size 0.4s ease-in-out, margin-top 0.4s ease-in-out;
    -ms-transition: -ms-transform 0.4s ease-in-out, font-size 0.4s ease-in-out, margin-top 0.4s ease-in-out;
    -o-transition: -o-transform 0.4s ease-in-out, font-size 0.4s ease-in-out, margin-top 0.4s ease-in-out;
    transition: transform 0.4s ease-in-out, font-size 0.4s ease-in-out, margin-top 0.4s ease-in-out;
  }
  .minified nav { visibility: hidden; }
  .minified .fixed-title {
    bottom: auto;
    height: 120px;
    pointer-events: auto;
    cursor: pointer;
  }
  .minified .fixed-title h1 {
    /* font-size: 60px; */
    font-size: 32px;
    margin-top: 30px;
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
  }
}
@media screen and (min-width: 600px) {
  .fixed-title h1 { font-size: 198px; }
  .minified .fixed-title h1 { font-size: 60px; }
}

.project-header {
  width: 100%;
  height: 120px; line-height: 120px;
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  position: fixed;
  left: 0; top: 0;
}

.trunk-project div {
  margin-top: 30px;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
}
.trunk-project div:first-child { margin-top: 0; }
@media screen and (min-width: 600px) {
  .trunk-project div {
    margin-top: 60px;
  }
  .trunk-project div:first-child { margin-top: 0; }
}

.content { margin-bottom: 120px; }

/* Popups */

.popup {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  overflow: auto;
  padding-bottom: 120px;
  display: none;
}

.popup header h1 {
  font-family: 'Bauer Bodoni Std 1', serif;
  font-weight: bold;
  font-size: 32px;
  line-height: 129px; /* Adjusted from 120 to match centering with transform */
  letter-spacing: -0.04em;
  text-transform: none;
  margin: 0;
}
@media screen and (min-width: 600px) {
  .popup header h1 {
    font-size: 60px;
    line-height: 115px; /* Adjusted from 120 to match centering with transform */

  }
}

.popup h1, .popup div {
  text-align: center;
}

.alternative-colors {
  background-color: rgba(30, 9, 92, 0.95);
}

.alternative-colors div {
  text-transform: uppercase;
}

.alternative-colors, .alternative-colors h1 {
  color: #ffffff;
}

.alternative-colors .text-sections {
  margin-top: 60px;
}
@media screen and (max-width: 600px) {
  .alternative-colors > .trunk > .text-sections:first-of-type {
    margin-top: 0;
  }
}
.alternative-colors .text-sections > * {
  margin-top: 3em;
}
.alternative-colors .text-sections > *:first-child {
  margin-top: 0;
}

.alternative-colors h2 {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  line-height: 2.1666;
  letter-spacing: 0.2666em;
}

.alternative-colors li {
  font-family: 'Gill Sans W01 Book', 'Gill Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7333;
  letter-spacing: 0.2666em;
}
@media screen and (min-width: 900px) {
  .alternative-colors h2 {
    font-size: 12px; font-size: 0.833333vw;
    line-height: 3.1666;
  }
  .alternative-colors li {
    font-size: 19px; font-size: 1.319444vw;
    line-height: 1.8421;
  }
}

.grey-text { color: #888888; }

/* Layers */

.content { z-index: 1; }
header { z-index: 2; }
.popup { z-index: 3; }

