/* Reset */

*:where(:not(iframe, canvas, img, svg, video):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

a[href] {
  cursor: pointer;
}

ol,
ul {
  list-style: none;
}

/* Global */

@font-face {
  font-family: "Copperplate";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: local("Copperplate"),
    url("../fonts/copperplate-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Baskerville";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: local("Baskerville"),
    url("../fonts/baskerville-400.woff2") format("woff2"),
    url("../fonts/baskerville-400.woff") format("woff");
}

@font-face {
  font-family: "Baskerville";
  font-style: italic;
  font-weight: normal;
  font-display: swap;
  src: url("../fonts/baskerville-italic.woff2") format("woff2"),
    url("../fonts/baskerville-italic.woff") format("woff");
}

@font-face {
  font-family: "Big Caslon";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/BigCaslon-Medium.woff2") format("woff2");
}

html {
  font-size: calc(1em * 0.625);
}

body {
  font-family: "Copperplate", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #000;
}

img,
video {
  display: block;
  height: auto;
  max-width: 100%;
}

strong {
  font-weight: bold;
}

a[href] {
  cursor: pointer;
}

/* Root */

:root {
  --color-black: #000;
  --color-cream: #f7f0e9;
  --color-grey: #a39c92;
}

/* Page */

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 144rem;
  min-height: 100vh;
  margin-right: auto;
  margin-left: auto;
  overflow-x: hidden;
  background: #faf8f5 url("../images/background.png") 0 0 repeat;
}

/* Header */

.header {
  color: var(--color-cream);
}

.header.is-dark {
  background: #faf8f5 url("../images/background.png") 0 0 repeat;
  color: var(--color-black);
}

.header__logo {
  display: flex;
  justify-content: center;
}

.header__logo svg {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
}

.header__navigation__item {
  font-size: clamp(1.2rem, 0.971rem + 0.298vw, 1.4rem);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.header__navigation__link {
  display: block;
  padding-bottom: 0.3rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px
    no-repeat;
}

/* Content */

.content {
  flex: 1 1 auto;
}

/* Link */

.link {
  background: linear-gradient(currentColor, currentColor) right bottom / 0 1px
    no-repeat;
  transition: background-size 0.2s ease-in-out;
}

.link:focus-visible,
.link:hover {
  background-position-x: left;
  background-size: 100% 1px;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  height: calc(100vh - 8rem);
  margin: 0 0 clamp(4.8rem, -1.108rem + 5.769vw, 7.2rem);
  padding: 10rem 2.4rem 5.5rem;
  color: var(--color-cream);
  /* background: var(--color-black); */
}

.hero__video {
  position: absolute;
  inset: 0 0 0 50%;
  width: 100vw;
  transform: translateX(-50%);
}

.hero__video video,
.hero__video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scroll {
  position: relative;
  z-index: 1;
  display: block;
  padding-bottom: 0.3rem;
  font-size: 1.3rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
}

/* Moodboard */

.moodboard {
  display: grid;
  scroll-margin-block-start: clamp(4.8rem, -1.108rem + 5.769vw, 7.2rem);
}

.moodboard__element {
  position: relative;
}

.moodboard__element:nth-child(3),
.moodboard__element:nth-child(5),
.moodboard__element:nth-child(7),
.moodboard__element:nth-child(11),
.moodboard__element:nth-child(17),
.moodboard__element:nth-child(26),
.moodboard__element:nth-child(40) {
  z-index: 1;
}

.moodboard__element:nth-child(42) {
  z-index: -1;
}

.moodboard__element--picture video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moodboard__element--picture:nth-child(3),
.moodboard__element--picture:nth-child(4),
.moodboard__element--picture:nth-child(12),
.moodboard__element--picture:nth-child(15),
.moodboard__element--picture:nth-child(22),
.moodboard__element--picture:nth-child(31),
.moodboard__element--picture:nth-child(32),
.moodboard__element--writing:nth-child(34),
.moodboard__element--picture:nth-child(36),
.moodboard__element--picture:nth-child(41),
.moodboard__element--picture:nth-child(42) {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.moodboard__element--writing:nth-child(9) {
  padding-inline-end: 1.6rem;
}

/* Newsletter */

.newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter__title {
  display: block;
  margin: 0 0 clamp(0.8rem, -0.114rem + 1.19vw, 1.6rem);
  font-size: clamp(2.5rem, 1.357rem + 1.488vw, 3.5rem);
  letter-spacing: clamp(1.25px, 0.679rem + 0.744vw, 1.75px);
  text-transform: uppercase;
  text-align: center;
}

.newsletter__text {
  font-family: "Baskerville", serif;
  display: block;
  max-width: clamp(26rem, 17.429rem + 11.161vw, 38rem);
  margin: 0 0 clamp(0.8rem, -0.114rem + 1.19vw, 1.6rem);
  font-size: clamp(2rem, 0.857rem + 0.446vw, 2rem);
  letter-spacing: clamp(0.2px, -0.257rem + 0.595vw, 0.6px);
  text-align: center;
  line-height: 1.4;
}

.newsletter__text--fluid {
  max-width: none;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.newsletter__form__label {
  font-size: clamp(2rem, 1.771rem + 0.298vw, 2.2rem);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.newsletter__form__group {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 35rem;
  margin: 0 4rem;
}

.newsletter__form__input {
  display: block;
  width: 100%;
  height: 3rem;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: transparent;
  border: 1px solid currentColor;
  border-width: 0 0 1px;
}

.newsletter__form__input::placeholder {
  color: var(--color-grey);
  font-size: 1.2rem;
}

.newsletter__form__submit {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 3rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-align: right;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease-in-out;
}

.newsletter__form__submit:focus-visible,
.newsletter__form__submit:hover {
  border-bottom-color: currentColor;
}

/* CGU */

.cgu {
  margin-top: 19.7rem;
  padding: 0 clamp(1.6rem, -0.099rem + 7.2492vw, 8.6rem);
  font-size: clamp(1.6rem, 1.3816rem + 0.932vw, 2.5rem);
  font-family: "Baskerville", Times, serif;
  line-height: 1.3em;
}

.cgu h1 {
  max-width: 70rem;
  margin: 0 auto;
  padding-bottom: 8rem;
  font-family: "Big Caslon", serif;
  font-size: clamp(3.2rem, 2.8845rem + 1.3463vw, 4.5rem);
  font-weight: 500;
  line-height: 1.2em;
  text-align: center;
  text-transform: uppercase;
}

.cgu p {
  padding-bottom: 3rem;
}

.cgu h2,
.cgu h3,
.cgu h4,
.cgu h5,
.cgu h6 {
  font-family: "Copperplate", sans-serif;
}

.cgu h2 {
  padding-bottom: 3rem;
}

.cgu ul {
  padding-bottom: 3rem;
}

/* Footer */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(5.5rem, -1.014rem + 8.482vw, 11.2rem) 1.6rem 10.4rem;
  gap: 3.2rem;
}

.footer__social {
  display: block;
  font-size: clamp(1.7rem, 1.129rem + 0.744vw, 2.2rem);
  letter-spacing: clamp(0.85px, 0.564rem + 0.372vw, 1.1px);
  text-transform: uppercase;
}

.footer__branding {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, -1.143rem + 3.571vw, 4rem);
}

.footer__branding__text {
  display: block;
  max-width: clamp(15rem, 7rem + 10.417vw, 22rem);
  font-size: clamp(1rem, 0.429rem + 0.744vw, 1.5rem);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: center;
}

.footer__branding__figure {
  display: block;
  width: clamp(3.2rem, 1.371rem + 2.381vw, 4.8rem);
  height: auto;
}

.footer__navigation__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-grey);
  text-align: center;
}

.footer__navigation__item {
  font-size: clamp(1.2rem, 0.971rem + 0.298vw, 1.4rem);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hidden {
  display: none !important;
}

.podcast {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 3rem 0 3.6rem;
  background: url('../images/podcast-background.jpg') no-repeat;
  background-size: cover;
  color: #F8F5F0;
}

.podcast__title {
  font-family: 'Big Caslon', serif;
  font-size: clamp(2.7rem, 1.8748rem + 3.521vw, 6.1rem);
  font-weight: 500;
  line-height: 0.98em;
  text-align: center;
  text-transform: uppercase;
}

.podcast__subtitle {
  padding-top: 1.5rem;
  font-family: 'Big Caslon', serif;
  font-size: clamp(2rem, 1.8786rem + 0.5178vw, 2.5rem);
  line-height: 1.2em;
  text-align: center;
  text-transform: uppercase;
}

.podcast__quote {
  padding: 0.3rem 3rem 0;
  font-family: 'Baskerville', serif;
  font-size: clamp(1.8rem, 1.6301rem + 0.7249vw, 2.5rem);
  font-style: italic;
  line-height: 1em;
  text-align: center;
}

.podcast__controls {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin-top: auto;
}

.podcast__btn {
  transition: opacity 0.1s;
  background-size: cover;
  cursor: pointer;
}

.podcast__btn:active,
.podcast__btn:focus-visible,
.podcast__btn:hover {
  opacity: 0.9;
}

.podcast__btn--play,
.podcast__btn--pause {
  width: 10vw;
  height: 10vw;
  max-width: 7rem;
  max-height: 7rem;
}

.podcast__btn--play {
  background-image: url('../images/play.svg');
}

.podcast__btn--pause {
  background-image: url('../images/pause.svg');
}

.podcast__btn--down-vol,
.podcast__btn--up-vol {
  width: 8vw;
  height: 8vw;
  max-width: 4rem;
  max-height: 4rem;
}

.podcast__btn--down-vol {
  background-image: url('../images/down-vol.svg');
}

.podcast__btn--up-vol {
  background-image: url('../images/up-vol.svg');
}