/* Mood from the album cover "A coeur ouvert": four portraits on black,
   violet, wine and black and white. Each section takes one of those tiles. */
:root {
  --d0: #0c090a;
  --d1: #1d0712;
  --d2: #26093b;
  --d3: #3d0b22;
  --d4: #141312;
  --d5: #070506;
  --ink: #0c090a;
  --foam: #f4ecef;
  --coral: #c8143c;
  --peach: #f0b8c6;
  --cyan: #74d6da;
  --lilac: #c9a6e0; /* Lila, the flower in her artist name */
  --script: "Great Vibes", "Brush Script MT", cursive;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --wrap: min(1120px, 100% - 2.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); color: var(--foam); background: var(--d5); }
img { max-width: 100%; display: block; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0 0 1.5rem; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-style: italic; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--foam); padding: .5rem 1rem; }

/* Section colors, one per cover tile */
.depth-0 { background: linear-gradient(var(--d0) 70%, var(--d1)); }
.depth-1 { background: var(--d1); }
.depth-1to2 { background: linear-gradient(var(--d1), var(--d2)); }
.depth-2 { background: var(--d2); }
.depth-2to3 { background: linear-gradient(var(--d2), var(--d3)); }
.depth-3 { background: var(--d3); }
.depth-3to4 { background: linear-gradient(var(--d3), var(--d4)); }
.depth-4 { background: var(--d4); }
.depth-5 { background: var(--d5); }

main > section { padding: clamp(4rem, 10vw, 7rem) max((100% - 1120px) / 2, 1.25rem); }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 2rem;
  padding: .8rem max((100% - 1120px) / 2, 1.25rem);
  background: color-mix(in srgb, var(--d0) 80%, transparent);
  backdrop-filter: blur(10px);
}
.brand { font: 400 2rem/1 var(--script); text-decoration: none; }
.topbar nav { display: flex; gap: 1.5rem; margin-left: auto; }
.topbar nav a { text-decoration: none; font-size: .95rem; letter-spacing: .04em; }
.topbar nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--coral); color: #fff; text-decoration: none; font-weight: 500;
  border: 1.5px solid var(--coral); transition: transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-small { padding: .45rem 1.1rem; font-size: .9rem; }


/* Hero */
.hero {
  position: relative; overflow: hidden; min-height: calc(100svh - 3.5rem);
  display: grid; align-items: end;
}
.hero-photo {
  position: absolute; inset: 0 0 0 35%;
  background: 50% 18% / cover no-repeat;
  mask-image: linear-gradient(to right, transparent, #000 40%);
}
.hero-text { position: relative; max-width: 40rem; }
.hero h1 {
  font: 400 clamp(5rem, 17vw, 12rem)/1 var(--script); margin-bottom: 1rem;
  /* Red and cyan offset, like the lettering on the cover */
  text-shadow: -3px 1px 0 var(--coral), 3px -1px 0 var(--cyan);
}
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* Stage lights drifting behind the name */
.caustics { position: absolute; inset: -20%; pointer-events: none; opacity: .5; }
.caustics::before, .caustics::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(closest-side at 30% 40%, #5b0f3088 0, transparent 70%),
    radial-gradient(closest-side at 70% 30%, #40136088 0, transparent 70%),
    radial-gradient(closest-side at 55% 75%, #c8143c33 0, transparent 70%);
  background-size: 60% 60%, 50% 50%, 70% 70%;
  filter: blur(30px);
  animation: drift 18s ease-in-out infinite alternate;
}
.caustics::after { animation-duration: 26s; animation-direction: alternate-reverse; transform: scale(1.3); }
@keyframes drift {
  to { transform: translate(6%, 4%) rotate(8deg) scale(1.1); }
}

/* Lyrics */
.lyric { margin: 0; font-family: var(--serif); }
.lyric p { margin: 0; font-style: italic; font-weight: 300; }
.lyric cite { color: var(--lilac); }
.lyric cite { display: block; margin-top: .6rem; font: normal 500 .8rem var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.lyric-hero p { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.lyric-band { padding: clamp(5rem, 14vw, 10rem) max((100% - 1120px) / 2, 1.25rem); text-align: center; }
.lyric-band .lyric p { font-size: clamp(1.8rem, 4.5vw, 3.4rem); line-height: 1.2; max-width: 22ch; margin-inline: auto; }

/* Album */
.album { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cover {
  aspect-ratio: 1; background: linear-gradient(160deg, var(--d1), var(--d3)) center / cover;
  box-shadow: 0 30px 80px -20px #000;
}
.year { font-size: .5em; font-style: normal; opacity: .6; }
.tracks { padding: 0; margin: 0 0 2.5rem; list-style: none; counter-reset: t; }
.tracks li {
  counter-increment: t; display: flex; gap: 1rem; align-items: baseline;
  padding: .7rem 0; border-bottom: 1px solid #f4ecef26; font-size: 1.15rem;
}
.tracks li::before { content: counter(t, decimal-leading-zero); font-size: .8rem; opacity: .55; width: 1.6rem; }
.feat { font-size: .85rem; opacity: .6; }

/* Clips */
.clips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 2rem 1.5rem; }
.clip { margin: 0; }
.clip figcaption { margin-top: .6rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.clip-play, .clip iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 0; display: block;
  background: var(--d3) center / cover; cursor: pointer; position: relative;
}
.play-icon {
  position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
  width: 4.2rem; height: 4.2rem; border-radius: 50%; background: #fffd;
  display: grid; place-items: center;
}
.play-icon::before {
  content: ""; margin-left: .3rem;
  border-style: solid; border-width: .75rem 0 .75rem 1.2rem; border-color: transparent transparent transparent var(--ink);
}
.clip-play:hover .play-icon { background: #fff; }

/* Photos */
/* Masonry columns: each photo keeps its own format, no holes */
.gallery { list-style: none; padding: 0; margin: 0; columns: 3 240px; column-gap: .75rem; }
.gallery li { break-inside: avoid; margin-bottom: .75rem; }
.photo { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.photo img { width: 100%; height: auto; transition: transform .5s; }
.photo:hover img { transform: scale(1.03); }
.photo { overflow: hidden; }
.photo-empty { cursor: default; }
.tone-0 { background: linear-gradient(140deg, var(--d1), var(--d2)); }
.tone-1 { background: linear-gradient(140deg, var(--d2), var(--d4)); }
.tone-2 { background: linear-gradient(140deg, var(--peach), var(--d3)); }
.tone-3 { background: linear-gradient(140deg, var(--d4), var(--d1)); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; color: var(--foam); }
.lightbox::backdrop { background: #070506ee; }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 85vh; width: auto; }
.lightbox figcaption { font-size: .85rem; opacity: .7; margin-top: .5rem; }
.close { position: fixed; top: 1rem; right: 1.5rem; font-size: 2.5rem; background: none; border: 0; color: var(--foam); cursor: pointer; }

/* Concerts */
.dates { list-style: none; padding: 0; margin: 0; }
.dates li {
  display: grid; grid-template-columns: 11rem 1fr 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.3rem 0; border-bottom: 1px solid #f4ecef33;
}
.dates time { font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
.city { font-weight: 600; font-size: 1.15rem; }
.venue { opacity: .75; }
.sold-out { font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; opacity: .6; }
.dates-empty { display: flex !important; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* Platforms */
.platforms { list-style: none; padding: 0; margin: 0 0 4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.platform {
  display: block; padding: 1.1rem 1.4rem; text-decoration: none; font-size: 1.1rem;
  border: 1px solid #f4ecef40; border-radius: var(--radius); transition: background .2s, border-color .2s;
}
.platform:hover { background: #f4ecef14; border-color: var(--peach); }
.platform::after { content: " ↗"; opacity: .5; }
.h-follow { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* Footer */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem;
  padding: 3rem max((100% - 1120px) / 2, 1.25rem) 2.5rem; border-top: 1px solid #f4ecef20;
}
.footer p { margin: .3rem 0; }
.footer .label { display: inline-block; width: 6rem; opacity: .6; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.copyright { opacity: .5; font-size: .85rem; }

/* Univers: her bio, read like a page of a songbook */
.about > * { max-width: 46rem; margin-inline: auto; }
.about h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.about .lead { font: italic 300 clamp(1.3rem, 2.4vw, 1.7rem)/1.45 var(--serif); color: var(--lilac); margin: 0 0 2rem; }
.about p { margin: 0 0 1.2rem; }
.about .press { margin-top: 2rem; font-size: .9rem; letter-spacing: .04em; opacity: .7; }

/* Links inside lyrics and the track list */
.lyric cite a, .tracks a { text-decoration: none; }
.lyric cite a:hover, .tracks a:hover { color: var(--lilac); text-decoration: underline; text-underline-offset: 5px; }
.tracks a::after { content: " paroles"; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; opacity: 0; margin-left: .6rem; transition: opacity .2s; }
.tracks a:hover::after, .tracks a:focus-visible::after { opacity: .6; }

/* Self-hosted live videos */
.clip video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; object-fit: cover; }

/* Past concerts, folded under the upcoming ones */
.past { margin-top: 2.5rem; }
.past summary { cursor: pointer; font: italic 400 1.4rem var(--serif); padding: .5rem 0; }
.past summary:hover { color: var(--lilac); }
.past .dates li { grid-template-columns: 11rem 1fr 1fr; opacity: .8; }

/* Song pages (chansons/*.html) */
.song { min-height: 80vh; padding: clamp(3rem, 8vw, 6rem) max((100% - 760px) / 2, 1.25rem); }
.song .kicker { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; opacity: .7; }
.song .kicker:hover { opacity: 1; color: var(--lilac); }
.song h1 { font: 400 clamp(3.5rem, 11vw, 7rem)/1.05 var(--script); margin: .5rem 0 1.5rem; text-shadow: -2px 1px 0 var(--coral), 2px -1px 0 var(--cyan); }
.song .story { font: italic 300 1.25rem/1.5 var(--serif); color: var(--lilac); max-width: 34rem; margin: 0 0 3rem; }
.lyrics { font: 300 clamp(1.1rem, 2vw, 1.3rem)/1.75 var(--serif); margin-bottom: 3rem; }
.lyrics p { margin: 0 0 1.6rem; }
.lyrics .refrain { font-style: italic; font-size: .9em; opacity: .6; }
.song-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid #f4ecef26; }
.song-nav a { text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.song-nav .prev::before { content: "← "; }
.song-nav .next { margin-left: auto; }
.song-nav .next::after { content: " →"; }
.song-nav a:hover { color: var(--lilac); }

/* Placeholder marker for the mockup (hidden with ?final) */
.todo { outline: 1.5px dashed #74d6da; outline-offset: 4px; position: relative; }
.todo::after {
  content: attr(data-todo); position: absolute; top: -.7rem; right: .4rem; z-index: 2;
  font: 500 .65rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  background: #74d6da; color: #0c090a; padding: .2rem .4rem;
}
.final .todo { outline: none; }
.final .todo::after { display: none; }

/* Mobile */
@media (max-width: 760px) {
  .topbar { gap: 1rem; }
  .topbar nav { display: none; }
  .topbar .btn { margin-left: auto; }
  .hero-photo { inset: 0; background-position: 50% 12%; mask-image: linear-gradient(to top, transparent 25%, #000 75%); opacity: .9; }
  .album { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .dates li { grid-template-columns: 1fr auto; gap: .3rem 1rem; }
  .dates time { grid-column: 1 / -1; }
  .venue { grid-column: 1; }
  .dates li > :last-child { grid-column: 2; grid-row: 2 / 4; }
  .past .dates li { grid-template-columns: 1fr; gap: .2rem; }
  .past .dates li > :last-child { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caustics::before, .caustics::after { animation: none; }
  .btn, .photo img { transition: none; }
}
.hero-photo.todo { position: absolute; outline-offset: -1.5rem; }
.hero-photo.todo::after { top: 1rem; right: 1.5rem; }

/* Design proposals switcher (themes/switch.js), mockup phase only */
.style-switch {
  position: fixed; left: 50%; bottom: 1rem; translate: -50% 0; z-index: 50;
  display: flex; gap: .6rem; padding: .3rem; border-radius: 999px;
  background: #000c; backdrop-filter: blur(8px); font: 500 .8rem "Outfit", system-ui, sans-serif;
  max-width: calc(100vw - 1rem); overflow-x: auto;
}
.style-switch [role="group"] { display: flex; gap: .2rem; }
.style-switch [role="group"] + [role="group"] { border-left: 1px solid #fff4; padding-left: .6rem; }
.style-switch a { color: #fff; text-decoration: none; padding: .45rem .9rem; border-radius: 999px; white-space: nowrap; }
.style-switch a[aria-current] { background: #fff; color: #000; }

/* Newsletter sign-up (shared by the three versions, see newsletter.js) */
.newsletter { display: grid; gap: .9rem; max-width: 34rem; }
.newsletter h2, .newsletter h3 { margin: 0; }
.newsletter-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter label.visually-hidden, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.newsletter input[type="email"] {
  flex: 1 1 14rem; min-width: 0; padding: .85rem 1.1rem; font: inherit; color: inherit;
  background: transparent; border: 1px solid currentColor; border-radius: 999px;
}
.newsletter input[type="email"]::placeholder { color: inherit; opacity: .55; }
.newsletter .consent { font-size: .8rem; opacity: .7; margin: 0; }
.newsletter .hp { display: none; }
.newsletter [role="status"]:empty { display: none; }
.newsletter [role="status"] { margin: 0; font-weight: 500; }

/* Social networks, shared by the three versions (common.js) */
.social-icons { display: flex; gap: .2rem; align-items: center; }
.social-icons a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; transition: background .2s, color .2s; }
.social-icons a:hover { background: color-mix(in srgb, currentColor 14%, transparent); color: var(--lilac); }
.topbar .social-icons { margin-left: .5rem; }
.instagram-pill {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.4rem;
  padding: .55rem 1.1rem .55rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 500;
  background: color-mix(in srgb, var(--lilac) 18%, transparent); border: 1px solid color-mix(in srgb, var(--lilac) 55%, transparent);
}
.instagram-pill:hover { background: color-mix(in srgb, var(--lilac) 32%, transparent); }
.social-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .75rem; }
.social-cards a {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center;
  padding: 1.1rem 1.2rem; text-decoration: none; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent); transition: border-color .2s, background .2s;
}
.social-cards a:hover { border-color: var(--lilac); background: color-mix(in srgb, var(--lilac) 10%, transparent); }
.social-cards svg { grid-row: 1 / 3; width: 30px; height: 30px; color: var(--lilac); }
.social-name { font-weight: 600; }
.social-handle { font-size: .85rem; opacity: .7; overflow-wrap: anywhere; }

/* Version 1: "Suivre" section, social cards next to the newsletter */
.follow { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; border-top: 1px solid #f4ecef1a; }
.follow h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
@media (max-width: 760px) {
  .follow { grid-template-columns: 1fr; }
  .topbar .social-icons { display: none; }
}
