@font-face {
  font-family: 'Antique Legacy';
  src: url('../fonts/antiquelegacymedium.otf') format('opentype');
  font-weight: 300 400;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #000;
  font-family: 'Antique Legacy', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- picture-frame border ---------- */

#border_top, #border_btm, #border_left, #border_right {
  position: fixed;
  background: #000;
  z-index: 101;
}
#border_top    { top: 0; left: 0; width: 100%; height: 30px; }
#border_btm    { bottom: 0; left: 0; width: 100%; height: 30px; }
#border_left   { top: 0; left: 0; width: 30px; height: 100%; }
#border_right  { top: 0; right: 0; width: 30px; height: 100%; z-index: 103; }

/* ---------- hamburger / menu button ---------- */

#menulink {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  text-decoration: none;
  display: block;
}

.hamburger-wrapper {
  color: #fff;
  font-size: 1.4em;
  text-align: center;
}

#hamburger3 {
  font-family: 'Antique Legacy', sans-serif;
  color: #999;
  letter-spacing: 5px;
  font-size: 16px;
  transition: opacity .2s ease;
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  margin: 5px auto 0;
  background: #fff;
  display: none;
  transition: transform .25s ease, margin .25s ease, opacity .25s ease;
}

#menulink.menu-open #hamburger3 { opacity: 0; }
#menulink.menu-open .hamburger-bar {
  display: block;
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  margin: 0 auto;
}
#menulink.menu-open .bar-1 { transform: rotate(45deg); }
#menulink.menu-open .bar-2 { transform: rotate(-45deg); }

/* ---------- full-screen nav overlay ---------- */

.navigation-wrapper {
  background: rgba(64, 64, 64, .8);
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 500ms cubic-bezier(.42, 0, .58, 1);
}

.navigation-wrapper.show-menu {
  visibility: visible;
  opacity: 1;
}

.navigation {
  text-align: center;
}

.navigation li { margin: 0; }

.navigation li a {
  display: inline-block;
  font-family: 'Antique Legacy', sans-serif;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 3em;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .3s ease;
}

.navigation li a:hover { color: #000; }

/* ---------- socials + logo ---------- */

#socials {
  position: fixed;
  top: 0;
  right: 30px;
  z-index: 107;
  font-size: 0.8em;
}
#socials li { display: inline-block; margin-top: 10px; }
#socials li a {
  display: block;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  color: #fff;
  transition: color .3s ease;
}
#socials li a:hover { color: #999; }
#socials svg { width: 16px; height: 16px; fill: currentColor; }

.site-logo {
  position: fixed;
  bottom: -5px;
  left: 30px;
  height: 30px;
  z-index: 140;
  display: none; /* matches live site: hidden by daughter2.css site-wide */
}
.site-logo img { height: 20px; width: auto; }

/* ---------- home page ---------- */

body.page-home #border_top,
body.page-home #border_btm,
body.page-home #border_left,
body.page-home #border_right,
body.page-home #socials,
body.page-home .site-logo {
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
}

body.page-home.revealed #border_top,
body.page-home.revealed #border_btm,
body.page-home.revealed #border_left,
body.page-home.revealed #border_right,
body.page-home.revealed #socials {
  opacity: 1;
  visibility: visible;
}

.home-background {
  position: fixed;
  inset: 0;
  background-image: url('../img/home-background.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 1;
}

/* ---------- secondary page grids (releases / video) ---------- */

#secondarypage {
  overflow: hidden;
  padding: 30px;
}

.tile {
  display: block;
  width: 33.33%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  float: left;
  cursor: pointer;
  outline: 1px solid #222;
}

.tile-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.tile:hover .tile-bg { transform: scale(1.1); }

/* releases: plus-icon + buy links overlay */

.show-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #000;
  z-index: 1;
  line-height: 0;
}
.show_buylinks svg {
  width: 26px;
  height: 26px;
  transform: rotate(0deg);
  transition: transform .3s ease;
}
.show_buylinks.close svg { transform: rotate(45deg); }

.buy-wrap {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms cubic-bezier(.42, 0, .58, 1);
}
.buy-wrap.showwrap {
  visibility: visible;
  opacity: 1;
}

.release_buylinks {
  font-size: 0.8em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}
.release_buylinks h3 {
  font-family: 'Antique Legacy', sans-serif;
  font-weight: 300;
  font-size: 1em;
  margin: 0 0 8px;
}
.release_buylinks a {
  display: inline-block;
  text-decoration: none;
  margin: 0 8px;
}
.tile.black_text .release_buylinks h3,
.tile.black_text .videos_title { color: #000; }

/* video tiles */

.videos_title {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 80%;
  font-family: 'Antique Legacy', sans-serif;
  font-size: 1em;
  letter-spacing: 1px;
  padding: 0 5%;
  color: #fff;
}

.nivoplayer {
  border: 2px solid #fff;
  background: gray;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 50px;
  height: 50px;
  text-decoration: none;
  transform: rotate(45deg);
  text-decoration: none;
}
.nivoplayer span {
  display: inline-block;
  transform: rotate(-45deg);
  color: #fff;
  font-family: 'Antique Legacy', sans-serif;
  font-size: 0.8em;
  transition: color .3s ease;
}
.nivoplayer:hover span { color: #000; }

/* ---------- people page ---------- */

.people-list {
  overflow: hidden;
  padding: 30px;
}

.person-card {
  display: block;
  width: 23%;
  margin: 0;
  padding: 1%;
  float: left;
  color: #fff;
  font-size: 1.7em;
  outline: 1px solid #222;
  min-height: 180px;
}
.person-card .role {
  display: block;
  color: #974a50;
  margin-bottom: 6px;
}
.person-card .name,
.person-card .company {
  display: block;
  font-size: 0.55em;
  line-height: 1.4;
}
.person-card .email-link {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  background-color: #974a50;
  text-decoration: none;
  padding: 5px 10px;
  font-size: 0.5em;
  transition: all .3s ease;
}
.person-card .email-link:hover { color: #000; background: #ccc; }

.person-card:nth-child(2n+2) .role          { color: #467b9a; }
.person-card:nth-child(2n+2) .email-link    { background-color: #467b9a; }
.person-card:nth-child(3n+3) .role          { color: #de7d84; }
.person-card:nth-child(3n+3) .email-link    { background-color: #de7d84; }
.person-card:nth-child(4n+4) .role          { color: #4f4a6a; }
.person-card:nth-child(4n+4) .email-link    { background-color: #4f4a6a; }
.person-card:nth-child(5n+5) .role          { color: #de926e; }
.person-card:nth-child(5n+5) .email-link    { background-color: #de926e; }
.person-card:nth-child(6n+6) .role          { color: #aaa681; }
.person-card:nth-child(6n+6) .email-link    { background-color: #aaa681; }
.person-card:nth-child(8n+8) .role          { color: #8e9bbb; }
.person-card:nth-child(8n+8) .email-link    { background-color: #8e9bbb; }

/* ---------- sign up page ---------- */

#fullscreenpage {
  color: #fff;
  padding: 90px 40px 40px;
}

.mailerform {
  font-family: 'Antique Legacy', sans-serif;
  width: 80%;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.mailerform > p { font-size: 1.6em; margin: 0 0 30px; }

.mc-field-group { margin-bottom: 16px; }

input.animated-input {
  width: 80%;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 0;
  background-color: gray;
  color: #fff;
  font-size: 1.2em;
  padding: 12px 20px;
  font-family: 'Antique Legacy', sans-serif;
  transition: width .4s ease-in-out;
}
input.animated-input::placeholder { color: #eee; opacity: 1; }
input.animated-input:focus { width: 100%; outline: none; }

#mergeRow-gdpr { margin-top: 20px; text-align: left; }
.permissions.hide { display: none; }
.checkbox.subfield {
  display: block;
  font-size: 0.55em;
  line-height: 1.5;
}
.checkbox.subfield input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}
p.permissions, p.policy {
  font-size: 0.55em;
  line-height: 1.5;
  text-transform: none;
}
p.policy a { color: #7fb894; }

input[type="submit"] {
  background-color: #fff;
  font-size: 1.6em;
  width: 60%;
  color: #000;
  padding: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Antique Legacy', sans-serif;
  text-transform: uppercase;
  margin-top: 10px;
}
input[type="submit"]:hover { background-color: gray; }

.footer-links {
  margin-top: 20px;
  font-size: 0.6em;
  text-transform: none;
}
.footer-links a { color: #7fb894; }

/* ---------- video lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 950;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  position: relative;
}
.lightbox-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox-close {
  position: absolute;
  top: 15px;
  right: 30px;
  color: #fff;
  font-size: 2em;
  text-decoration: none;
  z-index: 960;
  cursor: pointer;
  line-height: 1;
}

/* ---------- responsive ---------- */

@media screen and (max-height: 725px) {
  .navigation li a { font-size: 2em; padding: 5px; }
}
@media screen and (max-height: 460px) {
  .navigation li a { font-size: 1em; padding: 1.5% 0; }
}
@media screen and (max-width: 935px) {
  .tile { width: 50%; }
  .person-card { width: 48%; min-height: 240px; }
}
@media screen and (max-width: 520px) {
  .tile { width: 100%; }
  #socials {
    top: 40px;
    width: 100%;
    right: 0;
    background: #000;
    text-align: right;
    padding-right: 15px;
  }
  .videos_title { font-size: 1em; padding: 2% 3%; }
  .nivoplayer { width: 40px; height: 40px; }
  .mailerform { width: 92%; }
  #fullscreenpage { padding: 80px 15px 40px; }
  input.animated-input {
    width: 100%;
    font-size: 0.8em;
    padding: 10px 14px;
  }
  input[type="submit"] { width: 100%; font-size: 1.3em; }
}
@media screen and (max-width: 340px) {
  .nivoplayer { width: 32px; height: 32px; font-size: 0.7em; }
}
@media screen and (orientation: portrait) {
  .person-card { width: 48%; }
}
