
@font-face {
  font-family: "Avenis-Light.otf";
  src: url("../fonts/Avenis-Light.otf") format("opentype");
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@400;500&display=swap');

:root{
  --ink:#aa9e85;
  --muted:rgba(238,233,223,.72);
  --line:rgba(238,233,223,.62);
  --cloud-size:min(31vw,350px);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#0b0d0c;color:var(--ink)}
body{font-family:Inter,system-ui,sans-serif}
.bg{
  position:fixed;inset:0;z-index:0;
  background-image:
    linear-gradient(rgba(5,7,6,.03),rgba(5,7,6,.12)),
    url("images/fond3.jpg");
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
}
.bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom,
    rgba(0,0,0,.08),
    rgba(0,0,0,.00) 32%,
    rgba(0,0,0,.18) 75%,
    rgba(0,0,0,.30));
}
header{
  position:relative;
  z-index:2;
  min-height:20vh;
  display:flex;
  justify-content:flex-start;
  align-items:flex-start;
  padding:30px 300px 0;
}
h1{
  margin:0;
  text-align:left;
  text-shadow:0 2px 18px rgba(0,0,0,.8);
  position:fixed;
  left:100px;
  top:200px;
  transform:translateY(150px);
  z-index:10;
}
.main-title{
  display:block;
  font:400 clamp(50px,5.8vw,80px)/1.05 "Cormorant Garamond",serif;
}
.artist-name{
  display:block;
  margin-top:6px;
  margin-left:0;
  text-align:center;
  font:400 clamp(27px,3vw,38px)/1.1 "Cormorant Garamond",serif;
  color:#dbd5cd;
  text-shadow:0 2px 10px rgba(0,0,0,.75);
}
.project-intro p {
  margin: 0 auto 18px;
  max-width: 900px;
  font-family: "Avenis-Light.otf", sans-serif;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.35;
  text-align: center;
  color: rgb(223, 217, 197);
}
.process-link,
.process-link:visited {
  font-family: "Avenis-Light.otf", sans-serif;
  font-size: 20px;
  color: #722b2b;
  text-shadow: 0 1px 5px rgba(2, 124, 19, 0.2);
  text-decoration: underline;
}

.process-link:hover {
  color: #c9d15b;
}

.process-link:active {
  color: #c7c95c;
}

#constellation{
  position:relative;
  z-index:2;
  width:min(1180px,94vw);
  margin:0 auto;
  padding-bottom:12vh;
}
.line{
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:1px;
  transform:translateX(-50%);
  background:var(--line);
}
.song{
  position:relative;
  height:15vh;
  min-height:0px;
  display:grid;
  grid-template-columns:1fr 1px 1fr;
  align-items:center;
}
.dot{
  position:absolute;
  left:50%;
  top:50%;
  width:7px;
  height:7px;
  border-radius:50%;
  transform:translate(-50%,-50%);
  background:#c9c3b7;
  box-shadow:0 0 10px rgba(255,255,255,.7);
  z-index:6;
}
.song.left .cloud{
  grid-column:1;
  justify-self:end;
  margin-right:34px;
}
.song.right .cloud{
  grid-column:3;
  justify-self:start;
  margin-left:34px;
}
.connector{
  position:absolute;
  top:50%;
  height:1px;
  width:34px;
  background:var(--line);
  z-index:-1;
}
.song.left .connector{left:100%}
.song.right .connector{right:100%}

/* A soft irregular mass of overlapping colour â€” no oval card. */
.cloud{
  position:relative;
  width:var(--cloud-size);
  height:175px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px 28px;
  text-align:center;
  cursor:pointer;
  color:#c9bfae;
  border:0;
  background:transparent;
  isolation:isolate;
  filter:drop-shadow(0 10px 25px rgba(0,0,0,.18));
}
.cloud::before{
  content:"";
  position:absolute;
  inset:5% 3%;
  z-index:-1;
  opacity:.78;
  background:
    radial-gradient(ellipse at 15% 56%,var(--c) 0 13%,transparent 30%),
    radial-gradient(ellipse at 31% 37%,var(--c) 0 16%,transparent 34%),
    radial-gradient(ellipse at 49% 29%,var(--c) 0 18%,transparent 37%),
    radial-gradient(ellipse at 68% 39%,var(--c) 0 15%,transparent 34%),
    radial-gradient(ellipse at 84% 57%,var(--c) 0 14%,transparent 31%),
    radial-gradient(ellipse at 55% 61%,var(--c) 0 25%,transparent 47%),
    radial-gradient(ellipse at 32% 64%,var(--c) 0 22%,transparent 43%);
  filter:blur(13px);
  transform:rotate(-2deg);
}
.cloud::after{
  content:"";
  position:absolute;
  inset:15% 10%;
  z-index:-1;
  background:
    radial-gradient(ellipse at 26% 44%,color-mix(in srgb,var(--c) 90%,white 10%) 0 12%,transparent 30%),
    radial-gradient(ellipse at 50% 34%,color-mix(in srgb,var(--c) 96%,white 4%) 0 14%,transparent 31%),
    radial-gradient(ellipse at 73% 51%,color-mix(in srgb,var(--c) 88%,black 5%) 0 13%,transparent 30%),
    radial-gradient(ellipse at 46% 66%,color-mix(in srgb,var(--c) 82%,black 5%) 0 17%,transparent 36%);
  opacity:.42;
  filter:blur(7px);
}
.cloud:hover{
  transform:scale(1.035);
  filter:drop-shadow(0 13px 28px rgba(0,0,0,.24)) brightness(1.08);
}
.title{
  position:relative;
  z-index:3;
  font: 400 clamp(19px,2vw,28px)/1.06 "Avenis-Light.otf",sans-serif;
  text-shadow:0 2px 12px rgba(0,0,0,.78);
}
.lang{
  position:relative;
  z-index:3;
  margin-top:9px;
  font-size:11px;
  letter-spacing:.05em;
  opacity:.86;
  text-shadow:0 1px 8px rgba(0,0,0,.7);
}

dialog {
  width:min(620px,90vw);
  border:1px solid rgba(170,165,154,0.28);
  border-radius:5px;
  padding:36px;
  color:var(--ink);
  background:rgba(12,14,13,.93);
  box-shadow:0 0 100px rgba(0,0,0,.7);
  backdrop-filter:blur(12px);
}
dialog[open] {
  position: fixed;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 20000;
}

dialog::backdrop{background:rgba(0,0,0,.55)}
#close{
  position:absolute;right:15px;top:7px;
  border:0;background:none;color:var(--ink);
  font-size:30px;cursor:pointer;
}
.dtitle{margin:0 0 6px;font:400 44px/1 "Cormorant Garamond",serif}
.muted{color:#742a2a}
.row{margin-top:22px}
.label{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#ddd9d9;margin-bottom:7px}
.row a{
  color:#afb7c4;
  text-decoration:none;
  margin-right:12px;
}

.row a:visited{
  color:#91818f;
}

.row a:hover{
  color:#858a8f;
}
.row a:hover{text-decoration:underline}
.common a{display:block;margin:5px 0}

@media(max-width:700px){
  :root{--cloud-size:min(43vw,245px)}
  header{min-height:0vh;padding:24px 52px 0}
  h1{font-size:30px}
  .menu{right:17px;top:21px}
  #constellation{width:96vw}
  .song{height:39vh;min-height:245px}
  .song.left .cloud{margin-right:14px}
  .song.right .cloud{margin-left:14px}
  .cloud{min-height:120px;padding:20px 14px}
  .title{font-size:20px}
  .lang{font-size:10px;margin-top:7px}
  .connector{width:14px}
  dialog{padding:30px 22px}
  .dtitle{font-size:34px}
}
.detail-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:30px;
  align-items:start;
}

.detail-text{
  min-width:0;
}

.detail-cover{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding-top:90px;
}

.detail-cover .cover{
  width:260px;
  height:260px;
  object-fit:cover;
  display:block;
}

@media(max-width:700px){
  .detail-layout{
    grid-template-columns:1fr;
    gap:25px;
  }

  .detail-cover{
    padding-top:0;
    justify-content:center;
  }

  .detail-cover .cover{
    width:min(220px,70vw);
    height:min(220px,70vw);
  }
}
.dtitle {
  color: #99884c;
}

.label {
  color: #dfded8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .10em;
  margin-bottom: 8px;
}

.muted {
  color: #aaa8a0;
}
.dtitle {
  color:#f0dfb0;
  margin:0 0 25px 0;
  text-align:left;
}
.mobile-page-title {
  display: none;
}

footer{
  position:fixed;
  bottom:20px;
  left:30px;
  width:auto;
  text-align:left;
  font-size:14px;
  color:rgba(236, 235, 232, 0.65);
  letter-spacing:.04em;
  z-index:5;
  pointer-events:none;
}
.process-links{
  font-size:14px;
  line-height:1.45;
}
.scroll-hint{
  position:fixed;
  right:720px;
  bottom:40px;
  z-index:5;
  font-size:36px;
  color:rgba(241, 240, 236, 0.8);
  animation:scrollHint 2s ease-in-out infinite;
  pointer-events:none;
}
@keyframes scrollHint{
  0%,100%{transform:translateY(0);opacity:.5}
  50%{transform:translateY(6px);opacity:1}
}

body.scrolled .scroll-hint{
  opacity:0;
  transition:opacity .4s ease;
}

.listen-links a{
  display:block;
  margin:5px 0;
}

.status-links {
  margin-top: 8px;
}

.status-links {
  margin-top: 8px;
}
a {
  color: #9ab0d1;
}

a:visited {
  color: #9e92aa;
}

a:hover {
  color: #9c9fa1;
}
.copyright {
  margin-top: 18px;
  font-size: 0.95em;
  opacity: 0.55;
  font-style: italic;
}

.footer-credits {
  max-width: 720px;
}
@media (max-width: 900px) {
  footer {
    left: 20px;
    right: 20px;
    bottom: 16px;
  }
  font-size: 12px;
}

@media (max-width: 600px) {

    .footer-credits {
        transform: translateY(20px);
    }
}
@media (max-width: 900px) and (orientation: landscape) {
  body {
    background-size: cover;
    background-position: center;
  }
}
.back-home {
  position: fixed;
  top: 70px;
  left: 4%;
  color: white;
  text-decoration: none;
  font-size: 2rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.back-home:hover {
  opacity: 1;
}
@media (max-width: 600px) {
  .footer-credits {
    font-size: 9px;
    line-height: 1.25;
  }

  .privacy {
    display: none;
  }
}
.audio-button {
  border: 0;
  background: none;
  color: red;
  font-size: 21px;
  margin-left: 18px;
  padding: 0;
  cursor: pointer;
  vertical-align: middle;
}
.audio-button:hover {
  opacity: .7;
}
.audio-label {
  font-size: 13px;
  margin-left: 2px;
  opacity: .75;
}
.audio-player {
  position: fixed;
  right: 425px;
  bottom: 500px;
  z-index: 10000;

  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 300px;
  max-width: 80vw;
  padding: 14px 18px;

  background: rgba(141, 46, 46, 0.92);
  color: rgb(222, 224, 188);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
}

.audio-player[hidden] {
  display: none;
}

.audio-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-player button {
  border: 0;
  background: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.audio-progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.25);
}

.audio-progress-bar {
  width: 0;
  height: 100%;
}
.dtitle {
  cursor: move;
  user-select: none;
}
@media (max-width: 600px) {

  dialog {
    padding: 12px 16px;
    max-height: 55vh;
    overflow: auto;
  }

  .dtitle {
    margin-top: 4px;
    margin-bottom: 12px;
    line-height: 1.1;
    cursor: default;
    touch-action: auto;
  }

  .dtitle .audio-button {
    display: block;
    margin-top: 8px;
  }

  .dtitle .audio-label {
    display: inline-block;
    margin-top: 8px;
    margin-left: 6px;
  }

  dialog[open] {
    top: 12px;
    left: 12px;
    transform: none;
  }

.mobile-page-title {
  display: block;
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15000;
  pointer-events: none;
  text-align: center;
  color: rgba(235, 220, 175, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  white-space: nowrap;
}
  .mobile-page-title div:first-child {
    font-size: 24px;
    line-height: 1.05;
  }

  .mobile-page-title div:last-child {
    font-size: 18px;
    margin-top: 5px;
  }
}
@media (min-width: 601px) {
  .cover {
    cursor: move;
  }
}
.attention-bubble {
  position: absolute;
  background: white;
  border: 1px solid #999;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  color: #000;
  line-height: 1.3;
  width: max-content;
  max-width: 260px;
  z-index: 20;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);

  left: calc(100% + 12px);
  top: 55px;
  transform: translateX(-50%);
}
.attention-bubble::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 9px solid white;
}


#itineraires {
    position: fixed;
    left: 2180px;
    top: 100px;
    width: 340px;
    background: #12100e;
    border: 1px solid #0a0a0a;
    border-radius: 20px;
    padding: 0;
    z-index: 10;
}

#itineraires h2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 35px;
    margin: 0;
    text-align: center;
    color: #bdb6a7;
    z-index: 11;
}
.playlist iframe {
  filter: brightness(0.60) sepia(0.8);

}
.media-detour {
    position: fixed;
    left: 2180px;
    top: 950px;
    width: 340px;
    z-index: 12;
}

.media-detour iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: none;
    border-radius: 8px;
}

.cover-detour {
    position: fixed;
    left: 2230px;
    top: 540px;
    width: 240px;
    height: 240px;
    padding: 5px;
    box-sizing: border-box;
    background: rgb(7, 2, 26);
    border: 1px solid rgba(206, 201, 191, 0.25);
    border-radius: 12px;
    z-index: 12;
}

.cover-detour img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.playlist-box {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.playlist-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 115px;
  background: #12100e;
  z-index: 10;
}