:root {
  --bg: #111211;
  --panel: #191a18;
  --panel2: #21211e;
  --text: #ece9df;
  --muted: #aaa79f;
  --gold: #b69a66;
  --line: rgba(236, 233, 223, 0.15);
  --header: 78px;
  --hero-height: clamp(680px, 100svh, 920px);
  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Montserrat", Arial, sans-serif;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

code {
  color: #d8c69c;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.56), transparent);
  transition: 0.35s;
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(16, 17, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font: 400 1.75rem / 1 var(--display);
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  gap: 32px;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.main-nav a {
  color: var(--muted);
  transition: 0.25s;
}

.main-nav a:hover,
.main-nav .active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 8px 0;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  height: clamp(560px, 72svh, 760px);
  min-height: 560px;
  display: grid;
  place-items: center;
  background: #0d0e0d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -5%;
  background: url("../assets/delli-avenue-hero.png") center center / cover no-repeat;
  filter: blur(18px);
  opacity: 0.42;
  transform: scale(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    url("../assets/delli-avenue-hero.png")
    center center / contain
    no-repeat;

  transform: scale(1.12);
  transform-origin: center 56%;
  animation: kenburns-home 18s ease-out both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 10, 9, 0.68) 0%,
      rgba(9, 10, 9, 0.18) 52%,
      rgba(9, 10, 9, 0.26) 100%
    ),
    linear-gradient(
      0deg,
      rgba(9, 10, 9, 0.46),
      transparent 55%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 88vw);
  padding-top: var(--header);
}

.hero h1 {
  margin: 0.12em 0;
  font: 400 clamp(5rem, 13vw, 11rem) / 0.82 var(--display);
  letter-spacing: 0.04em;
}

/* Titres des pages internes : plus petits et plus lisibles. */
.page-hero h1 {
  max-width: 900px;
  margin: 0.12em 0;
  font: 400 clamp(3rem, 5.8vw, 5.8rem) / 0.94 var(--display);
  letter-spacing: 0.03em;
}

.hero-tagline {
  margin: 20px 0 36px;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: 0.05em;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  font-weight: 600;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  width: 22px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 2px;
  height: 7px;
  background: #fff;
  animation: scroll 1.8s infinite;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  background: var(--gold);
  color: #111;
  border: 1px solid var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 600;
  transition: 0.25s;
}

.button:hover {
  background: transparent;
  color: var(--text);
}

.text-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
}

/* Sections */
.section {
  padding: clamp(80px, 11vw, 150px) clamp(22px, 7vw, 110px);
}

.narrow {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.section h2 {
  margin: 0.12em 0 0.35em;
  font: 400 clamp(3rem, 7vw, 6.4rem) / 0.95 var(--display);
  letter-spacing: 0.035em;
}

.lead {
  max-width: 900px;
  color: #cfccc3;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.intro-section {
  background: #151614;
}

/* Chapter cards */
.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.chapter-card {
  padding: clamp(52px, 7vw, 100px);
  background: var(--panel);
}

.chapter-card:nth-child(2) {
  background: var(--panel2);
}

.chapter-number {
  color: rgba(182, 154, 102, 0.22);
  font: 400 4rem / 1 var(--display);
}

.chapter-card h3 {
  margin: 0.2em 0;
  font: 400 clamp(2.5rem, 5vw, 4.8rem) / 1 var(--display);
}

.chapter-card p {
  max-width: 600px;
  color: var(--muted);
}

/* Quote */
.quote-section {
  text-align: center;
  background:
    linear-gradient(rgba(12, 13, 12, 0.76), rgba(12, 13, 12, 0.88)),
    url("../assets/delli-avenue-hero.png") center / cover fixed;
}

.quote-section blockquote {
  max-width: 1100px;
  margin: auto;
  font: 400 clamp(2.2rem, 5.5vw, 5.2rem) / 1.08 var(--display);
  letter-spacing: 0.03em;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 5vw, 76px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* Internal pages */
.page-main {
  padding-top: 0;
}

.page-hero {
  margin-top: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;

  height: clamp(520px, 68svh, 700px);
  min-height: 520px;

  display: flex;
  align-items: end;

  padding:
    clamp(80px, 10vw, 135px)
    clamp(22px, 7vw, 110px)
    64px;

  background: #0d0e0d;
}

/*
  Une seule image couvre tout le bandeau.
  Elle est volontairement légèrement floutée et assombrie afin que
  le texte reste parfaitement lisible sur Story, Music et Contact.
*/
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -18px;

  background:
    url("../assets/delli-avenue-hero.png")
    center 48% / cover
    no-repeat;

  filter: blur(7px);
  transform: scale(1.035);
}

/* Voile uniforme, sans panneau noir ni image nette superposée. */
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 8, 0.73) 0%,
      rgba(8, 9, 8, 0.55) 44%,
      rgba(8, 9, 8, 0.42) 100%
    ),
    linear-gradient(
      0deg,
      rgba(8, 9, 8, 0.48) 0%,
      rgba(8, 9, 8, 0.10) 72%
    );
}

.page-hero > div {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.page-hero .lead {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(236, 233, 223, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

/* Story */
.timeline {
  max-width: 1200px;
  margin: auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 70px;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  color: var(--gold);
  font: 400 clamp(4rem, 9vw, 8rem) / 1 var(--display);
}

.timeline-item h2 {
  margin-top: 0;
}

.timeline-item p {
  max-width: 720px;
  color: var(--muted);
}

/* Music */

/* Dependency album cover */
.album-intro {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
  max-width: 1180px;
  margin-bottom: 70px;
}

.album-cover-wrap {
  width: 100%;
}

.album-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(236, 233, 223, 0.13);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.album-copy {
  margin-bottom: 0;
}

.album-copy h2 {
  margin-top: 0.08em;
}
.section-heading {
  max-width: 950px;
  margin-bottom: 60px;
}

.section-heading > p:last-child {
  max-width: 830px;
  color: var(--muted);
}

.album-section {
  background: #151614;
}

.track-list {
  display: grid;
  gap: 18px;
  max-width: 1100px;
}

.track-card {
  position: relative;
  overflow: hidden;
  padding: 30px 34px;
  background: linear-gradient(120deg, #20211f, #171816);
  border: 1px solid var(--line);
}

.track-card::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(182, 154, 102, 0.08));
  pointer-events: none;
}

.track-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.65rem;
}

.track-card h3 {
  margin: 8px 0 24px;
  font: 400 clamp(2.2rem, 4vw, 3.5rem) / 1 var(--display);
  letter-spacing: 0.04em;
}

.track-card p {
  color: var(--muted);
}

.player {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.play-button {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--gold);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
}

.play-button:hover {
  background: var(--gold);
  color: #111;
}

.player-body {
  flex: 1;
}

.time-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.65rem;
}

.seek {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}

.audio-note {
  margin: 15px 0 0;
  font-size: 0.75rem;
}

.next-section {
  background: #101110;
}

.featured {
  max-width: 1100px;
  border-color: rgba(182, 154, 102, 0.55);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 10vw, 140px);
  max-width: 1250px;
  margin: auto;
}

.contact-copy h2 {
  margin-top: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.social-links a {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.68rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  background: #171816;
  color: var(--text);
  border: 1px solid var(--line);
  outline: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form .button {
  justify-self: start;
  border-radius: 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Animations */
@keyframes kenburns-full {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.012);
  }
}

@keyframes kenburns-home {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1.145);
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Responsive */
@media (max-width: 800px) {
  .album-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 50px;
  }

  .album-cover-wrap {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  :root {
    --header: 68px;
    --hero-height: 720px;
  }


  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    background: rgba(15, 16, 15, 0.98);
    font-size: 1rem;
    transform: translateY(-100%);
    transition: 0.35s;
  }

  .main-nav.open {
    transform: none;
  }

  .split-cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 55px 0;
  }

  .timeline-year {
    font-size: 5rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
  }

  .track-card {
    padding: 25px 20px;
  }

  .page-hero {
    height: 620px;
    min-height: 620px;
    padding-bottom: 42px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
    line-height: 0.94;
  }

  .page-hero::after {
    background:
      linear-gradient(
        0deg,
        rgba(9, 10, 9, 0.70) 0%,
        rgba(9, 10, 9, 0.18) 62%,
        transparent 100%
      ),
      url("../assets/delli-avenue-hero.png")
      center center / contain
      no-repeat;
  }

  .quote-section {
    background-attachment: scroll;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg::after {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   HOME — HERO MINIMALISTE
   ========================================================= */

/* Sur l'accueil, le nom présent dans le visuel devient le titre principal. */
.home-page .site-header:not(.scrolled) .brand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-page .brand {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Contenu court et discret : il ne concurrence plus l'image. */
.hero-content-minimal {
  width: min(380px, calc(100vw - 44px));
  margin-right: auto;
  margin-left: clamp(24px, 6vw, 92px);
  padding-top: var(--header);
  align-self: center;
}

.hero-content-minimal .eyebrow {
  margin-bottom: 12px;
}

.hero-content-minimal .hero-tagline {
  max-width: 360px;
  margin: 0 0 42px;
  color: rgba(236, 233, 223, 0.94);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.65;
  letter-spacing: 0.035em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

/* Dégradé plus léger et plus étroit sur la gauche. */
.home-page .hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 8, 0.52) 0%,
      rgba(8, 9, 8, 0.26) 20%,
      rgba(8, 9, 8, 0.08) 42%,
      rgba(8, 9, 8, 0.02) 64%,
      transparent 82%
    ),
    linear-gradient(
      0deg,
      rgba(8, 9, 8, 0.20),
      transparent 44%
    );
}

.home-page .hero-content-minimal .button {
  margin-top: 8px;
}

@media (max-width: 800px) {
  .home-page .site-header:not(.scrolled) .brand {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .hero-content-minimal {
    width: min(88vw, 420px);
    margin: 0 auto 82px;
    padding: calc(var(--header) + 20px) 0 0;
    align-self: end;
    text-align: left;
  }

  .home-page .hero-bg::after {
    transform: scale(1.04);
    transform-origin: center 54%;
    animation: none;
  }

  .home-page .hero-shade {
    background:
      linear-gradient(
        0deg,
        rgba(8, 9, 8, 0.76) 0%,
        rgba(8, 9, 8, 0.24) 46%,
        rgba(8, 9, 8, 0.08) 72%
      );
  }
}
