@import url("/assets/fonts/fonts.css");

:root {
  --dark-color: #000;
  --neutral-color: #999;
  --light-color: #fff;
  --error-color: #900;

  --width-constrained: 300px;
  --width-readable: 440px;
  --width-content: 960px;
  --width-site: 1280px;

  --font-family-title: "BelweLtBTW05-Light", "Times New Roman", serif;
  --font-family-body: "BrandonGrotesqueW05-Light", Arial, sans-serif;
  --font-family-alt: "MinionW08-Regular", Georgia, "Times New Roman", serif;

  --font-size-title: 32px;
  --font-size-body: 16px;

  --line-height-title: 1em;
  --line-height-body: 1.4em;

  --section-spacing: 4rem;
}

@media screen and (min-width: 400px) {
  :root {
    --width-constrained: 340px;
    --section-spacing: 6rem;
    --font-size-title: 36px;
  }
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  color: var(--dark-color);
  background-color: var(--light-color);
  font-family: var(--font-family-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

a,
a:link,
a:visited,
a:hover,
a:active {
  color: var(--dark-color);
  text-decoration: none;
}

figure {
  margin: 0 0 1rem;
}

figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  text-align: right;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

h1 {
  font-size: calc(var(--font-size-body) * 2);
}

h2 {
  font-size: calc(var(--font-size-body) * 1.6);
}

h3 {
  font-size: calc(var(--font-size-body) * 1.2);
}

h4 {
  font-size: calc(var(--font-size-body) * 1);
}

h5 {
  font-size: calc(var(--font-size-body) * 0.9);
}

h6 {
  font-size: calc(var(--font-size-title) * 0.8);
}

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

.fa,
.fab {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Brands";
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fa-facebook-square:before {
  content: "\f082";
}

.fa-instagram:before {
  content: "\f16d";
}

.fa-twitter:before {
  content: "\f099";
}

.fa-youtube:before {
  content: "\f167";
}

.fa-linkedin:before {
  content: "\f08c";
}

.nav,
.nav > li {
  display: block;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.nav.nav-horizontal > li {
  display: inline-block;
}

.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media screen and (min-width: 600px) {
  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }
}

.width-constrained {
  max-width: var(--width-constrained);
}

.width-readable {
  max-width: var(--width-readable);
}

.width-content {
  max-width: var(--width-content);
}

.width-site {
  max-width: var(--width-site);
}

@media screen and (min-width: 600px) {
  .row {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-content: flex-start;
    align-items: stretch;
  }

  .row > .col {
    flex: 1;
  }

  .row.reverse {
    flex-direction: row-reverse;
  }

  /** Put the figure caption on the left if it is the first column in a reversed row */
  .row.reverse > .col:nth-of-type(2n + 1) figcaption {
    text-align: left;
  }
}

/** Show a blocking browser warning for IE10 and under */
.browser-warning {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 50px;
  z-index: 99;
  opacity: 1;
  overflow: auto;
  background: #000;
  color: #fff;
}

.browser-warning a,
.browser-warning a:link,
.browser-warning a:visited {
  color: #fff;
  text-decoration: underline;
}

.page-title {
  margin: 1.5em 0;
  font-family: var(--font-family-title);
  font-size: calc(var(--font-size-title) * 0.9);
  font-weight: 300;
  text-align: center;
  text-transform: unset;
}

.body-text {
  font-family: var(--font-family-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  text-align: justify;
}

.body-text[class*="width-"] {
  margin-left: auto;
  margin-right: auto;
}

.body-text :first-child {
  margin-top: 0;
}

.body-text :last-child {
  margin-bottom: 0;
}

.body-text h1,
.body-text h2,
.body-text h3,
.body-text h4,
.body-text h5,
.body-text h6 {
  text-transform: uppercase;
}

.body-text a {
  text-decoration: underline;
}

.body-text li {
  margin-bottom: 1em;
}

.drop-cap {
  margin-top: 0.05em;
  margin-right: 0.5rem;
  float: left;
  font-family: var(--font-family-title);
  font-size: 4.7em;
  font-weight: 300;
  line-height: 0.8em;
}

/** Add left/right padding on columnised content with text */
.section-contact.row > .col,
.section-past .row > .col,
.section-present .row > .col {
  padding-left: 1rem;
  padding-right: 1rem;
}

/** Site elements */
.site-header {
  height: 80px;
  background: white;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 1;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
  text-align: center;
}

.site-title {
  display: block;
  margin: 0 auto;
}

.site-logo {
  max-width: 100%;
}

/** Site title/logo in the smallest fixed header position */
.site-title,
body.has-js.is-fixed .site-title,
body.page-home.has-js.is-fixed .site-title {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  width: 150px;
  margin-left: -75px;
}

/** This puts the site title/logo just above the "Watch Video" CTA */
body.page-home.has-js .site-title {
  position: absolute;
  top: 25vh;
  left: 50%;
  width: 250px;
  margin-left: -125px;
  -webkit-transition: top 0.15s, width 0.15s, margin-left 0.15s;
  -o-transition: top 0.15s, width 0.15s, margin-left 0.15s;
  transition: top 0.15s, width 0.15s, margin-left 0.15s;
}

@media screen and (min-width: 500px) {
  /** Site title/logo in the smallest fixed header position */
  .site-title,
  body.has-js.is-fixed .site-title,
  body.page-home.has-js.is-fixed .site-title {
    width: 180px;
    margin-left: -90px;
  }

  /** This puts the site title/logo just above the "Watch Video" CTA */
  body.page-home.has-js .site-title {
    width: 400px;
    margin-left: -200px;
  }
}

/** Add some spacing so the fixed header doesn't overlap content on the top */
.site-main {
  padding-top: 6rem;
}

body.page-home .site-main {
  padding-top: 0;
}

.site-languages {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 0.8rem;
  line-height: 1em;
}

.site-languages > li {
  display: inline-block;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.site-languages > li > a {
  display: inline-block;
  padding: 0.5rem 0.3rem;
}

.site-languages > li.active > a {
  font-weight: bold;
  text-decoration: underline;
}

.site-footer {
  margin: var(--section-spacing) 0;
  color: var(--neutral-color);
  text-align: center;
}

.site-footer a,
.site-footer a:link,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
  color: var(--neutral-color);
  text-decoration: underline;
}

.nav.nav.nav-horizontal.site-footer-nav > li ~ li::before {
  content: "·";
  display: inline;
  padding: 0 5px;
}

.site-office-address {
  margin-bottom: var(--section-spacing);
}

.site-office-address img {
  width: 267px;
  height: 18px;
}

.site-office-address::after {
  margin-top: 1rem;
  padding-top: 20px;
  content: "";
  display: block;
  background: transparent url("/assets/images/logo-patou-monogram.svg") no-repeat top center;
  background-size: 22px 19px;
}

.section-video-cta {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: flex-end;
  height: 50vh;
  min-height: 400px;
}

.section-video-cta a {
  font-family: var(--font-family-title);
  font-size: 1.4rem;
  font-weight: 300;
}

.section-poem,
.section-social,
.section-contact,
.section-past,
.section-present,
.section-width-content {
  margin: var(--section-spacing) auto;
  max-width: var(--width-content);
}

.section-poem .row {
  max-width: var(--width-site);
  margin: 0 auto;
}

.section-poem .col {
  margin: var(--section-spacing) 0;
}

.section-poem .image-constrain {
  max-width: 400px;
  margin: 0 auto;
}

.section-poem .ie-hack {
  width: 100%;
}

@media screen and (min-width: 600px) {
  .section-poem .row {
    margin-top: var(--section-spacing);
    margin-bottom: var(--section-spacing);
  }

  .section-poem .col {
    margin-top: 0;
    margin-bottom: 0;
  }

  .section-poem .image-constrain {
    max-width: 300px;
  }
}

@media screen and (min-width: 900px) {
  .section-poem .image-constrain {
    max-width: 400px;
  }
}

@media screen and (min-width: 1200px) {
  .section-poem .image-constrain {
    max-width: 460px;
  }
}

.section-poem .col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.section-poem .body-text {
  max-width: 300px;
  margin: 0 auto;
}

.section-video {
  max-width: 720px;
  margin: var(--section-spacing) auto;
  text-align: center;
}

@media screen and (min-height: 700px) {
  .section-video {
    max-width: unset;
  }
}

.section-video .video-scale {
  display: inline-block;
  position: relative;
  margin: 0 auto;
}

.section-video .video-sizer {
  width: 100%;
  height: auto;
  vertical-align: top;
  pointer-events: none;
  -ms-touch-action: none;
  touch-action: none;
}

.section-video .video-position,
.section-video .video-position iframe,
.section-video .video-js {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  vertical-align: top;
}

.section-video .video-thumbnail {
  position: relative;
  margin: 0 auto;
}

.section-video .video-thumbnail::after {
  content: "▸";
  display: inline-block;
  width: 6rem;
  height: 6rem;
  margin: -3rem 0 0 -3rem;
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--light-color);
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 100%;
  font-size: 5rem;
  line-height: 5.5rem;
  text-align: center;
  vertical-align: middle;
  pointer-events: none;
  -ms-touch-action: none;
  touch-action: none;
}

.section-social {
  text-align: center;
}

.social-links li {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.social-links a {
  padding: 0.5rem;
  font-size: 1.8rem;
  line-height: 1em;
}

.social-links .fa,
.social-links .fab {
  -moz-osx-font-smoothing: grayscale;
}

@media screen and (min-width: 400px) {
  .social-links li {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .social-links a {
    font-size: 1.8rem;
  }
}

.contact-team {
  text-align: center;
}

.contact-team h2,
.contact-newsletter h2 {
  margin-top: 0;
  font-family: var(--font-family-title);
  font-size: 1.4rem;
  font-weight: 300;
  text-transform: unset;
}

.contact-name {
  text-transform: uppercase;
}

.contact-links li {
  margin-bottom: 1rem;
}

.contact-links li:last-child {
  margin-bottom: 0;
}

.contact-newsletter {
  margin: var(--section-spacing) 0 0;
  text-align: center;
}

.contact-newsletter a {
  text-decoration: underline;
}

@media screen and (min-width: 600px) {
  .contact-newsletter {
    margin: unset;
  }
}

.section-past h2,
.section-present h2 {
  margin: 1.5em 0;
  font-family: var(--font-family-title);
  font-size: 1.8rem;
  font-weight: 300;
  text-align: center;
  text-transform: unset;
}

.section-past figure,
.section-present figure {
  max-width: var(--width-constrained);
  margin: 0 auto 2.5rem;
}

.section-legal .body-text {
  padding-left: 1rem;
  padding-right: 1rem;
}

.section-legal .body-text {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/**
 * Video.js
 */
.video-js {
  background-color: transparent;
}

.vjs-poster {
  display: block;
  max-width: 100%;
}

/**
 * Klaviyo Signup Form styles
 */

.klaviyo-js-loading {
  display: none;
}

.has-js .klaviyo-js-loading {
  display: block;
}

/** -- Text input style */
#contact #signup .klaviyo-form input,
#contact #signup .klaviyo-form input:hover,
#contact #signup .klaviyo-form input:focus,
#contact #signup .klaviyo-form input:active {
  padding: 0.5rem;
  margin: 0;
  border: 0;
  border-bottom: solid 2px var(--dark-color);
  border-radius: 0;
  color: var(--dark-color);
  font-family: var(--font-family-body);
  text-align: center;
}

#contact #signup .klaviyo-form input::-webkit-input-placeholder {
  color: var(--neutral-color);
  font-family: var(--font-family-body);
}

#contact #signup .klaviyo-form input:-ms-input-placeholder {
  color: var(--neutral-color);
  font-family: var(--font-family-body);
}

#contact #signup .klaviyo-form input::-ms-input-placeholder {
  color: var(--neutral-color);
  font-family: var(--font-family-body);
}

#contact #signup .klaviyo-form input::placeholder {
  color: var(--neutral-color);
  font-family: var(--font-family-body);
}

#contact #signup .klaviyo-form [class*="ValidationMessage__Container-"] ~ input,
#contact #signup .klaviyo-form [class*="ValidationMessage__Container-"] ~ input:hover,
#contact #signup .klaviyo-form [class*="ValidationMessage__Container-"] ~ input:focus,
#contact #signup .klaviyo-form [class*="ValidationMessage__Container-"] ~ input:active {
  border-bottom-color: var(--error-color);
  color: var(--error-color);
}

#contact #signup .klaviyo-form [class*="ValidationMessage__Container-"] ~ input::-webkit-input-placeholder {
  color: var(--error-color);
}

#contact #signup .klaviyo-form [class*="ValidationMessage__Container-"] ~ input:-ms-input-placeholder {
  color: var(--error-color);
}

#contact #signup .klaviyo-form [class*="ValidationMessage__Container-"] ~ input::-ms-input-placeholder {
  color: var(--error-color);
}

#contact #signup .klaviyo-form [class*="ValidationMessage__Container-"] ~ input::placeholder {
  color: var(--error-color);
}

/** -- Validation error message */
#contact #signup .klaviyo-form [class*="ValidationMessage__ValidationContainer-"] {
  background-color: var(--error-color);
  border: 0;
  color: var(--light-color);
}

#contact #signup .klaviyo-form [class*="ValidationMessage__FormStyledValidationMessage-"] {
  color: var(--light-color);
}

#contact #signup .klaviyo-form [class*="ValidationMessage__ValidationContainer-"]::before,
#contact #signup .klaviyo-form [class*="ValidationMessage__ValidationContainer-"]::after {
  display: none;
  content: "";
}

/** -- Button style */
#contact #signup .klaviyo-form button,
#contact #signup .klaviyo-form input[type="submit"],
#contact #signup .klaviyo-form input[type="button"] {
  padding: 0.5rem 0;
  margin: 0;
  background: transparent;
  border: 0;
  color: var(--dark-color);
  letter-spacing: unset;
  font-size: 1rem;
  font-family: var(--font-family-body);
  font-weight: normal;
  line-height: 1em;
  text-transform: uppercase;
}

/** -- Text under button */
#contact #signup .klaviyo-form .ql-editor p {
  color: var(--dark-color);
  font-family: var(--font-family-body);
  font-size: 0.8rem;
}

#contact #signup .klaviyo-form .ql-snow a {
  color: var(--dark-color);
  text-decoration: underline;
}

/**
 * Cookiebot
 */
a#CybotCookiebotDialogBodyLevelButtonAccept,
a#CybotCookiebotDialogBodyLevelButtonAccept:link,
a#CybotCookiebotDialogBodyLevelButtonAccept:visited,
a#CybotCookiebotDialogBodyLevelButtonAccept:hover,
a#CybotCookiebotDialogBodyLevelButtonAccept:active {
  background-color: var(--dark-color);
  border-color: var(--dark-color);
  color: var(--light-color);
}
