@charset "UTF-8";
:root {
  --prim-col: #000;
  --bg-col: #fff;
  --acc-col: #999999;
  --pad-unit: 6px;
  --line-width: 1px;
}
@media (max-width: 900px) {
  :root {
    --pad-unit: 4px;
  }
}

@font-face {
  font-family: "ebr";
  font-style: normal;
  src: url("/static/roman.woff2") format("woff2");
}
@font-face {
  font-family: "ebr";
  font-style: italic;
  src: url("/static/italic.woff2") format("woff2");
}
html {
  --font-size: 18px;
  --line-height: 20px;
  --indent: 2rem;
  font-family: "ebr", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--font-size);
  line-height: var(--line-height);
  color: var(--prim-col);
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 1200px) {
  html {
    --font-size: 16px;
    --line-height: 18px;
  }
}
@media (max-width: 480px) {
  html {
    --font-size: 14px;
    --line-height: 16px;
    --indent: 1.7rem;
  }
}

p {
  margin: 0 0 var(--line-height) 0;
}
p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 var(--line-height) var(--indent);
}
ul:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: unset;
}
a:hover {
  font-style: italic;
}
a:active {
  color: var(--acc-col);
}
a.disabled:hover {
  font-style: inherit !important;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 1em;
  font-weight: unset;
  margin: 0;
}

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

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

.html--fullpage, .html--fullpage body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@media (max-width: 900px) {
  .html--fullpage--nomobile, .html--fullpage--nomobile body {
    width: inherit;
    height: inherit;
    overflow: auto;
    min-height: 100vh;
  }
}

/* Global grid */
body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto 1fr 1fr;
  background-color: var(--bg-col);
}

.pad {
  padding-left: var(--pad-unit);
  padding-right: var(--pad-unit);
  padding-top: var(--pad-unit);
  padding-bottom: var(--pad-unit);
}

.grid__full-main {
  grid-column: 1/5;
  grid-row: 2/4;
}

.twoc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
  .twoc-grid {
    grid-template-columns: 1fr;
  }
  .twoc-grid > .pad:not(:last-child) {
    margin-bottom: calc(var(--pad-unit) * 2);
  }
}

/* Normalization
   ========================================================================== */
input[type=range] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  height: 10px;
  background: transparent; /* Otherwise white in Chrome */
}

input[type=range]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range]::-ms-track {
  width: 100%;
  cursor: pointer;
  /* Hides the slider so custom styles can be added */
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type=range]::-moz-range-thumb {
  border: unset;
}

/* Track
   ========================================================================== */
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: var(--line-width);
  cursor: pointer;
  background: var(--prim-col);
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: var(--line-width);
  cursor: pointer;
  background: var(--prim-col);
}

input[type=range]::-ms-track {
  width: 100%;
  height: var(--line-width);
  cursor: pointer;
  background: transparent;
}

input[type=range]::-ms-fill-lower, input[type=range]::-ms-fill-upper {
  background: var(--prim-col);
}

/* Thumb
   ========================================================================== */
/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -4px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
  height: 10px;
  width: 10px;
  border-radius: 5px;
  background: var(--prim-col);
  cursor: pointer;
}

input[type=range]::-moz-range-thumb {
  height: 10px;
  width: 10px;
  border-radius: 5px;
  background: var(--prim-col);
  cursor: pointer;
}

input[type=range]::-ms-thumb {
  height: 10px;
  width: 10px;
  border-radius: 5px;
  background: var(--prim-col);
  cursor: pointer;
}

/**
 * The prose scope's main function is to allow the play between indented and
 * non-indented paragraphs and line breaks on the contact page.
 */
.s-prose p {
  margin-bottom: 0;
  hyphens: auto;
}
.s-prose p, .s-prose p.indent {
  text-indent: var(--indent);
}
.s-prose p:first-child, .s-prose h2 + p, .s-prose hr + p {
  text-indent: 0;
}
.s-prose h1, .s-prose h2, .s-prose h3, .s-prose h4, .s-prose h5, .s-prose h6 {
  margin-top: var(--line-height);
  text-indent: var(--indent);
}
.s-prose hr {
  height: 0;
  border: none;
  margin: 0 0 var(--line-height) 0;
}
.s-prose blockquote {
  margin: 0 0 var(--line-height) var(--indent);
}

/* Full header
   ========================================================================== */
.c-site-head {
  grid-column: span 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Alternative to subgrid */
  grid-template-rows: 1fr;
  border-bottom: var(--line-width) solid var(--prim-col);
}
@media (max-width: 900px) {
  .c-site-head {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }
}

/* SVG elements
   ========================================================================== */
.c-site-head__logo {
  grid-column: 1/2;
  font-weight: unset;
  margin: 0;
  padding-left: var(--pad-unit);
  padding-right: var(--pad-unit);
  padding-top: var(--pad-unit);
  padding-bottom: var(--pad-unit);
}
.c-site-head__logo svg {
  display: block;
  height: 2.4rem;
  width: auto;
  fill: var(--prim-col);
}

.c-site-head__soupe {
  grid-column: 4/5;
  justify-self: end;
  padding-left: var(--pad-unit);
  padding-right: var(--pad-unit);
  padding-top: var(--pad-unit);
  padding-bottom: var(--pad-unit);
}
@media (max-width: 900px) {
  .c-site-head__soupe {
    grid-column: 2/3;
  }
}
.c-site-head__soupe svg {
  display: block;
  height: 2.4rem;
  width: auto;
  fill: var(--prim-col);
}

.c-site-head__soupe--active svg, .c-site-head__soupe.js-jingle-trigger--playing svg {
  animation: bw 1.3s 0ms infinite;
}

@media (hover: hover) {
  .c-site-head__soupe:hover svg {
    animation: bw 1.3s 0ms infinite;
  }
}

@keyframes bw {
  0% {
    fill: var(--prim-col);
  }
  50% {
    fill: var(--bg-col);
  }
  100% {
    fill: var(--prim-col);
  }
}
/* Navigation
   ========================================================================== */
.site-nav {
  grid-column: 2/4;
  padding-left: var(--pad-unit);
  padding-right: var(--pad-unit);
  padding-top: var(--pad-unit);
  padding-bottom: var(--pad-unit);
}
@media (max-width: 900px) {
  .site-nav {
    grid-column: 1/3;
    grid-row: 2/3;
    border-top: var(--line-width) solid var(--prim-col);
  }
}

.site-nav__ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  height: 100%;
  line-height: 0.72;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: calc(var(--pad-unit) * 2);
  align-items: end;
}
@media (max-width: 900px) {
  .site-nav__ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    line-height: inherit;
  }
}

.site-nav__el {
  text-transform: uppercase;
}
.site-nav__el:first-child {
  text-align: right;
}
@media (max-width: 900px) {
  .site-nav__el:first-child {
    text-align: inherit;
  }
}

.site-nav__el--active a, .site-nav__el[aria-current=page] a {
  color: var(--acc-col);
}

.c-book-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 900px) {
  .c-book-index {
    grid-template-columns: 1fr;
  }
}

.c-book-index__lists {
  background-color: var(--prim-col);
  color: var(--bg-col);
  overflow-y: auto;
}

/* Book cover display
   ========================================================================== */
.c-book-index__covers {
  position: relative;
}
@media (max-width: 900px) {
  .c-book-index__covers {
    display: none;
  }
}

.c-book-index__cover {
  display: block;
  opacity: 0;
  transition: 0.2s ease opacity;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.c-book-index__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 901px) {
  .c-book-index__collection {
    padding-left: var(--pad-unit);
    padding-right: var(--pad-unit);
    padding-top: var(--pad-unit);
    padding-bottom: var(--pad-unit);
    /* Remove unnnecessary white space at the top of the first collection because
     * of the black bottom margin of the header. */
    border-bottom: var(--line-width) solid var(--bg-col);
  }
  .c-book-index__collection:first-child {
    padding-top: calc(var(--pad-unit) - var(--line-width));
  }
}
@media (max-width: 900px) {
  .c-book-index__collection {
    border-bottom: none;
  }
}

.c-book-index__collection--disabled {
  --bg-col: var(--acc-col);
  color: var(--bg-col);
}

.c-book-index__collectionName {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  margin-bottom: calc(var(--pad-unit) * 1.5);
}
@media (max-width: 900px) {
  .c-book-index__collectionName {
    padding-left: var(--pad-unit);
    padding-right: var(--pad-unit);
    padding-top: var(--pad-unit);
    padding-bottom: var(--pad-unit);
  }
}

.c-book-index__collectionNumber {
  display: inline-block;
  width: calc(var(--indent) / 1.2);
}

.c-book-index__bookList {
  list-style-type: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Book rows
   ========================================================================== */
.c-book-index__row {
  display: block;
}
@media (max-width: 900px) {
  .c-book-index__row {
    padding-left: var(--pad-unit);
    padding-right: var(--pad-unit);
    padding-top: var(--pad-unit);
    padding-bottom: var(--pad-unit);
    border-bottom: var(--line-width) solid var(--bg-col);
  }
}
.c-book-index__row:first-child {
  padding-top: 0; /* Remove unnecessary white space between collectionn title and first row */
}
.c-book-index__row > a {
  display: grid;
  grid-template: auto/6fr 4fr 1fr;
}
@media (max-width: 900px) {
  .c-book-index__row > a {
    grid-template: auto auto/1fr 1fr;
  }
}
.c-book-index__row > a:hover {
  font-style: italic;
}

.c-book-index__title {
  text-transform: uppercase;
  margin-right: 5px;
}

.c-book-index__author {
  margin-right: 5px;
}
@media (max-width: 900px) {
  .c-book-index__author {
    grid-area: 2/1/3/2;
  }
}

@media (max-width: 900px) {
  .c-book-index__price {
    grid-area: 2/2/3/3;
    text-align: right;
  }
}

.c-book-index__year {
  text-align: right;
}
@media (max-width: 900px) {
  .c-book-index__year {
    grid-area: 1/2/2/3;
  }
}

.c-book-single {
  --transition-duration: 2s;
  --transition-fn: ease-in-out;
  display: grid;
  grid-template: 1fr 1fr/1.5fr 2.5fr 2fr 2fr;
  grid-row-gap: calc(var(--pad-unit) * 2);
  width: 100%;
  height: 100%;
}
@media (max-width: 900px) {
  .c-book-single {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto auto;
    grid-row-gap: 0;
  }
}
@media (max-width: 480px) {
  .c-book-single {
    grid-template-columns: 1.5fr 2fr;
  }
}

.c-book-single__info {
  grid-column: 1/2;
  grid-row: 1/3;
}
@media (max-width: 900px) {
  .c-book-single__info {
    grid-column: 1/2;
    grid-row: 1/2;
    margin-bottom: var(--pad-unit);
  }
}

.c-book-single__collection {
  grid-column: 2/3;
  grid-row: 1/3;
}
@media (max-width: 900px) {
  .c-book-single__collection {
    grid-column: 2/3;
    grid-row: 1/2;
  }
}

.c-book-single__close {
  grid-column: 4/5;
  grid-row: 1/2;
  align-self: start;
  justify-self: end;
}
@media (max-width: 900px) {
  .c-book-single__close {
    position: fixed;
    bottom: 0;
    left: 0;
  }
}

.c-book-single__image {
  grid-column: 3/5;
  grid-row: 1/3;
  /** Override the browser "intervention" that sets a minimum size on pictures
    * to improve user experience.
    * https://stackoverflow.com/questions/46303488/how-to-make-images-stay-within-the-rows-of-a-css-grid-container
    */
  min-height: 0;
  min-width: 0;
}
@media (max-width: 900px) {
  .c-book-single__image {
    grid-column: 1/3;
    grid-row: 2/4;
  }
}
.c-book-single__image img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.c-book-single__image--top {
  grid-row: 1/2;
}
@media (max-width: 900px) {
  .c-book-single__image--top {
    grid-row: 2/3;
    margin-bottom: calc(var(--pad-unit) * 2);
  }
}

.c-book-single__image--bottom {
  grid-row: 2/3;
}
@media (max-width: 900px) {
  .c-book-single__image--bottom {
    grid-row: 3/4;
  }
}

/** ORDER/AUDIO PAGE **/
.c-book-single__player {
  grid-column: 1/5;
  grid-row: 1/3;
  justify-self: center;
  width: 300px;
  z-index: 10;
}
@media (max-width: 900px) {
  .c-book-single__player {
    grid-column: 1/3;
    grid-row: 2/3;
    max-width: 100%;
    padding: 0 calc(var(--pad-unit) * 2);
  }
}

.c-book-single__collection--reverse i {
  font-style: normal;
}
.c-book-single__collection--reverse a {
  font-style: italic;
  color: var(--acc-col);
}
.c-book-single__collection--reverse a:hover {
  font-style: normal;
}
.c-book-single__collection--reverse a:active {
  color: var(--prim-col);
}

.c-book-single__will-hide {
  transition: opacity var(--transition-fn) var(--transition-duration), visibility var(--transition-fn) var(--transition-duration);
  visibility: visible;
}
.c-book-single--order .c-book-single__will-hide {
  opacity: 0;
  visibility: hidden;
}

.c-book-single__will-show {
  transition: opacity var(--transition-fn) var(--transition-duration), visibility var(--transition-fn) var(--transition-duration);
  opacity: 0;
  visibility: hidden;
}
.c-book-single--order .c-book-single__will-show {
  opacity: 1;
  visibility: visible;
}

.c-carousel {
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s ease-out opacity, 0.5s ease-out visibility;
}

.c-carousel--loaded  {
  opacity: 1;
  visibility: visible;
}

.flickity-viewport {
  overflow: visible !important;
}

.c-carousel__slide {
  --format: calc(920 / 1400);
  --site-head-height: calc(2.4rem + 2 * var(--pad-unit) + var(--line-width));
  --vertical-margin: var(--pad-unit);
  --horizontal-margin: calc(var(--pad-unit) * 3);
  --full-height: 100vh;
  --height: calc(var(--full-height) - var(--site-head-height) - var(--vertical-margin) * 2);
  --width: calc(var(--height) * var(--format));
  height: var(--height);
  width: var(--width);
  margin: var(--vertical-margin) var(--horizontal-margin);
  box-shadow: 0 5px 12px 0px rgba(0, 0, 0, 0.4);
}
@media (max-width: 900px) {
  .c-carousel__slide {
    --site-head-height: calc(2.4rem + 4 * var(--pad-unit) + 2 * var(--line-width) + 2 * var(--line-height));
  }
}
@media (hover: none) {
  .c-carousel__slide {
    --height: calc(100% - 2 * var(--vertical-margin));
    --width: auto;
  }
}

.c-carousel__slide img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
@media (hover: none) {
  .c-carousel__slide img {
    width: auto;
  }
}

.c-audio {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.c-audio__btn {
  cursor: pointer;
  margin-right: 10px;
  background: unset;
  border: unset;
  padding: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  height: 1em;
  width: 1em;
  flex-shrink: 0;
}
.c-audio__btn > svg {
  height: 1em;
  width: auto;
  fill: var(--prim-col);
  stroke: var(--prim-col);
}
.c-audio__btn:focus {
  outline: none;
}

.c-audio__btn--pause .c-audio__play {
  display: none;
}

.c-audio__pause {
  display: none;
}
.c-audio__btn--pause .c-audio__pause {
  display: initial;
}

.c-audio__slider {
  margin: 0 10px;
}

.c-audio__time {
  flex: 0 0 55px;
  text-align: right;
}

.c-audio__time--total {
  flex-shrink: 1;
}

.c-btn {
  --btn-v-pad: 0.37rem;
  --btn-h-pad: 0.55rem;
  display: inline-block;
  background-color: var(--prim-col);
  color: var(--bg-col);
  padding: var(--btn-v-pad) var(--btn-h-pad);
  border-radius: 15px/50%;
}
.c-btn:hover {
  font-style: unset;
  color: var(--bg-col);
}
@media (max-width: 900px) {
  .c-btn {
    margin-left: 1px;
  }
}

.c-btn--baseline-aligned {
  --btn-v-margin: calc(var(--line-height) - var(--btn-v-pad));
  margin-top: var(--btn-v-margin);
  margin-bottom: var(--btn-v-margin);
}

.u-uppercase {
  text-transform: uppercase;
}

/*# sourceMappingURL=style.css.map */
