/* Eva Moreau · L'Heure Bleue site styles */

:root {
  --bg: #0a1220;
  --bg-soft: #0e1829;
  --panel: #111d31;
  --line: #22334d;
  --text: #e9e6dd;
  --muted: #94a0b4;
  --gold: #d2a155;
  --gold-soft: #e8c98f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Jost", "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

h1, h2, h3, .wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

/* ----- navigation ----- */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 6vw;
  background: rgba(10, 18, 32, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wordmark span { color: var(--gold); }

nav a {
  color: var(--muted);
  margin-left: 1.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
nav a:hover, nav a.active { color: var(--gold); }

/* ----- hero ----- */

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  background: url("../assets/blue-hour-hero.jpg") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,32,0.25) 0%, rgba(10,18,32,0.55) 60%, var(--bg) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 6vw 9vh;
  max-width: 900px;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.05;
}
.hero p.tagline {
  margin-top: 1rem;
  color: var(--gold-soft);
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ----- sections ----- */

main { padding: 0 6vw; }

section.block {
  max-width: 880px;
  margin: 0 auto;
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}
section.block:last-of-type { border-bottom: none; }

.block h2 {
  font-size: 2rem;
  margin-bottom: 1.6rem;
  color: var(--gold-soft);
}

.lede { font-size: 1.15rem; color: var(--text); }
.muted { color: var(--muted); }

/* ----- tracklist ----- */

ol.tracks { list-style: none; counter-reset: trk; }
ol.tracks li {
  counter-increment: trk;
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
ol.tracks li::before {
  content: counter(trk, decimal-leading-zero);
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--gold);
}
ol.tracks .t-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}
ol.tracks .t-note { color: var(--muted); font-size: 0.95rem; }

/* ----- lyrics ----- */

article.song { padding: 3.2rem 0; border-bottom: 1px solid var(--line); }
article.song:last-of-type { border-bottom: none; }
article.song h3 {
  font-size: 1.6rem;
  color: var(--gold-soft);
  margin-bottom: 0.3rem;
}
article.song .song-sub { color: var(--muted); margin-bottom: 1.6rem; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; }
.stanza { margin-bottom: 1.3rem; white-space: pre-line; }
.stanza em { color: var(--gold-soft); font-style: normal; }

/* ----- about ----- */

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-grid img {
  width: 100%;
  border-radius: 50%;
  border: 1px solid var(--line);
}
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { max-width: 260px; margin: 0 auto; }
  nav a { margin-left: 1rem; }
}

/* ----- effects: film grain ----- */

body::after {
  content: "";
  position: fixed;
  inset: -100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='240' height='240' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.045;
  pointer-events: none;
  z-index: 9999;
  animation: grain 7s steps(9) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ----- effects: hero fog ----- */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 20% 70%, rgba(140, 170, 215, 0.16), transparent 70%),
    radial-gradient(50% 40% at 75% 55%, rgba(120, 150, 200, 0.12), transparent 70%),
    radial-gradient(70% 50% at 50% 85%, rgba(160, 180, 220, 0.10), transparent 75%);
  background-size: 220% 160%;
  animation: fog 75s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes fog {
  0% { background-position: 0% 60%, 100% 40%, 50% 100%; }
  100% { background-position: 100% 40%, 0% 70%, 60% 60%; }
}

/* ----- effects: gold breathing ----- */

.hero h1, .block h2 {
  animation: breathe 6.5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { text-shadow: 0 0 16px rgba(210, 161, 85, 0.10); }
  50% { text-shadow: 0 0 30px rgba(210, 161, 85, 0.28); }
}

/* ----- effects: scroll reveal ----- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ----- effects: la nuit color journey ----- */

body.nuit-page {
  transition: background-color 0.6s linear;
}

@media (prefers-reduced-motion: reduce) {
  body::after, .hero::before, .hero h1, .block h2 { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----- quote strip ----- */

.quote-strip {
  text-align: center;
  padding: 4.5rem 6vw;
  border-bottom: 1px solid var(--line);
}
.quote-strip blockquote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--gold-soft);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote-strip cite {
  display: block;
  margin-top: 1rem;
  font-family: "Jost", sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----- timeline ----- */

.t-time {
  display: inline-block;
  margin-left: 0.8rem;
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ----- lyrics scene lines ----- */

.scene {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

/* ----- lexique ----- */

.lexique dt {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--gold-soft);
  margin-top: 1.2rem;
}
.lexique dd {
  color: var(--muted);
  margin-left: 0;
}

/* ----- la nuit ----- */

.nuit p {
  margin-bottom: 1.6rem;
}
.nuit .hour {
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

/* ----- signature ----- */

.signature {
  font-family: "Monsieur La Doulaise", cursive;
  font-size: 2.7rem;
  color: var(--gold-soft);
  margin-top: 2.2rem;
  transform: rotate(-4deg);
  line-height: 1;
}

/* ----- footer ----- */

footer.site {
  margin-top: 4rem;
  padding: 3rem 6vw 3.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
footer.site .fiction {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1.05rem;
}
footer.site .fine {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
