:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #0b0b0c;
  --panel: rgba(18, 18, 19, 0.74);
  --panel-strong: rgba(28, 28, 28, 0.88);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f1eee8;
  --muted: rgba(241, 238, 232, 0.68);
  --soft: rgba(241, 238, 232, 0.46);
  --blue: #7bb7c9;
  --wine: #9d3945;
  --amber: #b9854b;
  --green: #536251;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button,
summary {
  font: inherit;
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 34%),
    repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 4px);
  background-size: 100% 100%, 220px 220px;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 55px;
  padding: 0 clamp(18px, 5vw, 54px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.78), transparent);
  backdrop-filter: blur(12px);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.nav-link-section[aria-current="location"] {
  color: var(--text);
}

.nav-link-section[aria-current="location"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link-language[aria-current="page"] {
  color: var(--text);
  font-weight: 800;
}

.nav-toggle {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  gap: 3px;
  padding: 0;
  border: 1px solid rgba(241, 238, 232, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.nav-toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 220ms ease,
    opacity 180ms ease;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 112px clamp(20px, 6vw, 68px) 72px;
  isolation: isolate;
  overflow: hidden;
}

.hero-video,
.hero-still,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.78) contrast(1.08) brightness(0.68);
}

.hero-still {
  z-index: -4;
  background: url("assets/images/night-fragment-02.jpg") center / cover no-repeat;
  filter: brightness(0.32) saturate(0.8);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.94)),
    radial-gradient(circle at 20% 30%, rgba(123, 183, 201, 0.18), transparent 36rem),
    radial-gradient(circle at 88% 70%, rgba(185, 133, 75, 0.16), transparent 26rem);
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker,
.track-number {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 22vw, 15rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(241, 238, 232, 0.82);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 5.6vw, 2.8rem);
  line-height: 1.12;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button,
.inline-control,
.support-links a,
.text-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(241, 238, 232, 0.86);
  background: rgba(255, 255, 255, 0.045);
  padding: 11px 16px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 240ms ease,
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button:hover,
.inline-control:hover,
.support-links a:hover,
.text-link:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(241, 238, 232, 0.34);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 40px rgba(123, 183, 201, 0.08);
}

.button-primary {
  border-color: rgba(123, 183, 201, 0.42);
  background: rgba(123, 183, 201, 0.16);
}

.scroll-cue {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 28px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--text);
  animation: cue 1.9s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(14px);
    opacity: 1;
  }
}

.content-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 88px clamp(20px, 5vw, 44px);
}

.story-grid,
.clara-section {
  display: grid;
  gap: 42px;
}

.story-copy h2,
.arc-intro h2,
.split-heading h2,
.clara-copy h2,
.support-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 10vw, 6.8rem);
  font-weight: 400;
  line-height: 0.96;
}

.story-copy h2 {
  font-size: clamp(2rem, 8.6vw, 5.9rem);
  line-height: 1;
}

.story-copy p,
.arc-intro p,
.clara-copy p,
.support-copy p {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1rem, 2.8vw, 1.22rem);
  line-height: 1.74;
}

.story-image,
.clara-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101010;
  transition:
    border-color 320ms ease,
    box-shadow 360ms ease,
    transform 420ms cubic-bezier(0.18, 0.8, 0.26, 1);
}

.story-image img,
.story-image video,
.clara-visual img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
}

.arc-section {
  max-width: 1280px;
}

.arc-intro {
  max-width: 880px;
  margin-bottom: 38px;
}

.development-note {
  color: rgba(241, 238, 232, 0.88) !important;
}

.track-list {
  display: grid;
  gap: 14px;
}

.track-card {
  position: relative;
  display: grid;
  gap: 16px;
  overflow: hidden;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(9, 9, 10, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  transition:
    border-color 360ms ease,
    box-shadow 360ms ease,
    transform 420ms cubic-bezier(0.18, 0.8, 0.26, 1);
}

.track-card::before {
  content: "";
  position: absolute;
  inset: -22%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(123, 183, 201, 0.18), transparent 34%),
    radial-gradient(circle at 82% 70%, rgba(185, 133, 75, 0.14), transparent 32%);
  transform: translate3d(-10px, 12px, 0) scale(0.96);
  transition:
    opacity 460ms ease,
    transform 620ms cubic-bezier(0.18, 0.8, 0.26, 1);
}

.track-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 238, 232, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.track-card:hover::before {
  opacity: 1;
  transform: translate3d(8px, -6px, 0) scale(1.02);
}

.track-card > * {
  position: relative;
  z-index: 1;
}

.track-card:nth-child(3n + 1) {
  background:
    linear-gradient(135deg, rgba(123, 183, 201, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(9, 9, 10, 0.78);
}

.track-card:nth-child(3n + 2) {
  background:
    linear-gradient(135deg, rgba(157, 57, 69, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(9, 9, 10, 0.78);
}

.track-card:nth-child(3n + 3) {
  background:
    linear-gradient(135deg, rgba(185, 133, 75, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(9, 9, 10, 0.78);
}

.track-head h3 {
  margin: 0;
  font-family: var(--serif);
  max-width: 12ch;
  font-size: clamp(1.9rem, 5vw, 3.35rem);
  font-weight: 400;
  line-height: 0.9;
}

.track-features {
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.track-description {
  max-width: 56ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lyrics-panel {
  position: relative;
  width: 100%;
  margin-top: 14px;
}

.lyrics-panel summary {
  list-style: none;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  color: rgba(241, 238, 232, 0.84);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.lyrics-panel summary::after {
  content: "Open";
  color: var(--soft);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.lyrics-panel[open] summary::after {
  content: "Hide";
}

.lyrics-panel summary::-webkit-details-marker {
  display: none;
}

.lyrics-panel div {
  margin-top: 12px;
  border: 1px solid rgba(241, 238, 232, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--soft);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.46;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.lyrics-scroll {
  max-height: 168px;
  overflow: auto;
  padding-right: 8px;
}

.lyrics-panel div p,
.lyrics-empty {
  margin: 0 0 8px;
}

.lyrics-empty {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.46;
}

.track-media-row {
  display: grid;
  gap: 14px;
  align-items: start;
}

.spotify-player {
  display: grid;
  gap: 10px;
  align-content: start;
}

.spotify-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(241, 238, 232, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spotify-player-top a {
  color: rgba(241, 238, 232, 0.9);
  text-decoration: none;
}



.spotify-frame {
  display: block;
  width: 100%;
  min-height: 152px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.deferred-embed:not([src]) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 10, 0.82);
}

.spotify-fallback,
.support-fallback {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(30, 215, 96, 0.3);
  border-radius: 8px;
  color: rgba(241, 238, 232, 0.9);
  background:
    linear-gradient(135deg, rgba(30, 215, 96, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(10, 10, 10, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.spotify-fallback {
  margin-top: 10px;
}

.spotify-fallback:hover,
.support-fallback:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(30, 215, 96, 0.55);
  background:
    linear-gradient(135deg, rgba(30, 215, 96, 0.22), rgba(255, 255, 255, 0.07)),
    rgba(10, 10, 10, 0.9);
}

.track-visual,
.inline-video video {
  width: 100%;
  border-radius: 8px;
  object-fit: contain;
  background: #000;
}

.track-visual {
  display: block;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
}

.track-spotify,
.track-visual-wrap {
  min-width: 0;
}

.track-visual-wrap {
  display: grid;
  align-content: start;
  position: relative;
}

.track-visual-trigger {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.track-visual-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.76));
}

.track-visual-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.8);
}

.track-visual-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(241, 238, 232, 0.2);
  border-radius: 999px;
  color: rgba(241, 238, 232, 0.92);
  background: rgba(5, 5, 5, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.track-visual-badge-static {
  cursor: default;
}

.diary-section {
  max-width: 1280px;
}

.split-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.split-heading .section-kicker {
  margin-bottom: 0;
}

.split-heading h2 {
  max-width: 880px;
}

.diary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.diary-item {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  transition:
    border-color 320ms ease,
    box-shadow 360ms ease,
    transform 420ms cubic-bezier(0.18, 0.8, 0.26, 1);
}

.diary-item img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.04) brightness(0.82);
  transition: transform 700ms ease;
}

.diary-photo-button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.diary-item:hover img {
  transform: scale(1.035);
}

.diary-item:hover,
.clara-visual:hover {
  border-color: rgba(241, 238, 232, 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.diary-item:nth-child(5) img {
  object-position: center 42%;
}

.diary-item.is-extra {
  display: none;
}

.diary-expanded .diary-item.is-extra {
  display: block;
}

.diary-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 54px 18px 18px;
  color: rgba(241, 238, 232, 0.82);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.84));
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.32;
}

.diary-more-wrap {
  display: grid;
  place-items: center;
  margin-top: 72px;
}

.diary-more[hidden] {
  display: none;
}

.clara-section {
  align-items: center;
  max-width: 1280px;
}

.clara-copy p {
  max-width: 560px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-pill,
.feature-empty {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-pill {
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-pill:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(123, 183, 201, 0.35);
  background: rgba(123, 183, 201, 0.1);
  color: rgba(241, 238, 232, 0.92);
}

.clara-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 12px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.clara-photo {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101010;
  transition:
    border-color 320ms ease,
    box-shadow 360ms ease,
    transform 420ms cubic-bezier(0.18, 0.8, 0.26, 1);
}

.clara-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.02) brightness(0.86);
  transition:
    filter 420ms ease,
    transform 700ms ease;
}

.clara-photo:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 238, 232, 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.clara-photo-button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.clara-photo:hover img {
  filter: saturate(0.96) contrast(1.04) brightness(0.94);
  transform: scale(1.035);
}

.clara-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  color: rgba(241, 238, 232, 0.82);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clara-photo-1 {
  grid-column: span 2;
  grid-row: span 2;
}

.clara-photo-2,
.clara-photo-3 {
  grid-row: span 1;
}

.clara-photo-4,
.clara-photo-5 {
  grid-row: span 2;
}

.in-between-section {
  min-height: 82svh;
  display: grid;
  place-items: center;
  max-width: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.98)),
    url("assets/images/kovli-11.jpg") center / cover fixed no-repeat;
}

.in-between-copy {
  width: min(100%, 920px);
  padding: 0 clamp(20px, 5vw, 44px);
}

.in-between-copy p {
  margin: 0 0 18px;
  color: rgba(241, 238, 232, 0.9);
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 6.6rem);
  line-height: 0.98;
}

.support-section {
  max-width: 1280px;
}

.support-panel {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  width: 100%;
}

.support-stack {
  display: grid;
  gap: 18px;
  align-content: start;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.support-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.support-side {
  display: grid;
  gap: 12px;
  align-content: center;
}

.support-links-label {
  margin: 6px 0 0;
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 46px 20px 58px;
  color: var(--soft);
  border-top: 1px solid var(--line);
  background: #050505;
}

.site-footer p {
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-note {
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 760ms ease var(--delay, 0ms),
    transform 760ms ease var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.track-card.reveal.is-visible:hover {
  transform: translateY(-4px);
}

.image-lightbox {
  width: min(88vw, 980px);
  padding: 18px;
  border: 1px solid rgba(241, 238, 232, 0.18);
  border-radius: 14px;
  background: rgba(8, 8, 10, 0.95);
  color: var(--text);
}

.image-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(10px);
}

.image-lightbox img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 10px;
}

.image-lightbox p {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
}

.image-lightbox-close {
  margin-left: auto;
  margin-bottom: 10px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(241, 238, 232, 0.86);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-video {
    display: none;
  }
}

@media (min-width: 720px) {
  .topbar {
    height: auto;
    padding: 18px clamp(18px, 5vw, 54px);
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .content-section {
    padding-top: 126px;
    padding-bottom: 126px;
  }

  .story-grid,
  .clara-section {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  }

  .support-panel {
    justify-content: start;
  }

  .story-image img,
  .story-image video {
    min-height: 680px;
  }

  .track-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .track-card {
    padding: 18px;
  }

  .track-head {
    min-width: 0;
  }

  .track-media-row {
    grid-template-columns: minmax(0, 1fr) minmax(132px, 0.46fr);
    gap: 16px;
  }

  .track-visual {
    min-height: 260px;
  }

  .diary-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .diary-item {
    min-height: 520px;
  }

  .diary-item:nth-child(1),
  .diary-item:nth-child(4) {
    grid-column: span 2;
  }

  .diary-item:nth-child(2),
  .diary-item:nth-child(5) {
    grid-column: span 2;
    transform: translateY(54px);
  }

  .diary-item:nth-child(3),
  .diary-item:nth-child(6) {
    grid-column: span 2;
  }

  .diary-item:nth-child(n + 7) {
    grid-column: span 2;
    min-height: 440px;
  }

  .diary-expanded .diary-item.is-extra:nth-child(3n + 2) {
    transform: translateY(40px);
  }

  .clara-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
    gap: 16px;
  }

  .support-stack {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
  }

  .support-embed {
    grid-column: 1;
    grid-row: 1;
  }

  .support-side {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .support-fallback {
    width: 100%;
  }

  .support-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .hero {
    padding-bottom: 88px;
  }

  .track-list {
    gap: 22px;
  }

  .support-stack {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    align-items: start;
  }

  .track-media-row {
    grid-template-columns: minmax(0, 1fr) 168px;
  }

  .track-visual {
    min-height: 300px;
  }

  .support-links {
    grid-template-columns: 1fr 1fr;
  }

  .split-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: end;
  }

  .split-heading .section-kicker {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .split-heading h2 {
    grid-column: 1;
    grid-row: 2;
  }

  .text-link {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }
}

@media (max-width: 719px) {
  .topbar {
    align-items: center;
  }

  .nav-links {
    position: absolute;
    inset: calc(100% + 8px) 18px auto;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(241, 238, 232, 0.12);
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(18, 18, 19, 0.96), rgba(8, 8, 9, 0.94)),
      rgba(9, 9, 10, 0.96);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 220ms ease;
  }

  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(241, 238, 232, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(241, 238, 232, 0.88);
  }

  .nav-link-section::after {
    left: 10px;
    right: 10px;
    bottom: 8px;
  }

  .track-visual {
    min-height: 320px;
  }

  .clara-gallery {
    grid-auto-rows: 160px;
  }

  .support-links {
    grid-template-columns: 1fr;
  }
}

.track-visual-wrap {
  margin-top: 22px;
}

.track-spotify .lyrics-panel {
  margin-top: 18px;
}

.track-visual-trigger,
.track-visual,
.track-visual-poster {
  height: 220px;
  min-height: 0;
  aspect-ratio: auto;
}

.track-visual-trigger img,
.track-visual-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   CONVERSION — capture email (lead magnet) + pre-save + CTA Spotify
   ============================================================ */
.capture-section {
  padding-top: clamp(56px, 9vw, 96px);
  padding-bottom: clamp(56px, 9vw, 96px);
}

.capture-stack {
  display: grid;
  gap: 22px;
}

.capture-card,
.presave-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 48px);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(123, 183, 201, 0.12), transparent 55%),
    var(--panel);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.capture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
  pointer-events: none;
}

.capture-title,
.presave-title {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  font-size: clamp(1.9rem, 6vw, 3.4rem);
}

.capture-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  max-width: 46ch;
}

.capture-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.capture-input {
  flex: 1 1 260px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.capture-input::placeholder {
  color: var(--soft);
}

.capture-input:focus-visible {
  outline: none;
  border-color: rgba(123, 183, 201, 0.55);
  box-shadow: 0 0 0 3px rgba(123, 183, 201, 0.16);
}

.capture-button {
  flex: 0 0 auto;
}

.capture-note {
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* Honeypot anti-spam — masqué aux humains, présent pour les bots */
.capture-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Message de confirmation après inscription (remplace le formulaire) */
.capture-success {
  margin: 26px 0 0;
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.3;
  max-width: 40ch;
}

.presave-card {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(157, 57, 69, 0.14), transparent 55%),
    var(--panel);
}

.presave-text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.14rem);
  max-width: 50ch;
}

.presave-button {
  margin-top: 26px;
}

/* CTA prioritaire "Suivre sur Spotify" — accent vert, le plus proéminent */
.button-spotify {
  gap: 9px;
  border-color: rgba(30, 215, 96, 0.5);
  background: rgba(30, 215, 96, 0.16);
  color: #eafff2;
}

.button-spotify:hover {
  border-color: rgba(30, 215, 96, 0.8);
  background: rgba(30, 215, 96, 0.24);
  box-shadow: 0 14px 40px rgba(30, 215, 96, 0.18);
}

.button-spotify-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 50% 50%, #1ed760 0 42%, transparent 43%),
    #0b0b0c;
  position: relative;
}

.button-spotify-mark::before,
.button-spotify-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1.4px solid #0b0b0c;
  border-radius: 50%;
}

.button-spotify-mark::before {
  width: 9px;
  height: 9px;
}

.button-spotify-mark::after {
  width: 5px;
  height: 5px;
}

.support-spotify-follow {
  width: 100%;
}

@media (min-width: 760px) {
  .capture-stack {
    grid-template-columns: 3fr 2fr;
    align-items: stretch;
  }

  /* Bloc capture seul (pre-save masqué) → pleine largeur */
  .capture-stack > .capture-card:only-child {
    grid-column: 1 / -1;
  }
}

/* Sous-titre sous les grands titres (phrases sorties des titres) */
.section-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  max-width: 46ch;
}

/* ============================================================
   PRESSE — support médias / bookings
   ============================================================ */
.press-section {
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.press-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 48px);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(185, 133, 75, 0.12), transparent 55%),
    var(--panel);
}

.press-copy {
  flex: 1 1 320px;
}

.press-title {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
}

.press-text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.2vw, 1.1rem);
  max-width: 52ch;
}

.press-button {
  flex: 0 0 auto;
}

/* ============================================================
   MORCEAUX — accordéon compact (remplace le mur de lecteurs)
   ============================================================ */
.track-list {
  grid-template-columns: 1fr; /* liste en colonne à toutes les tailles */
  gap: 8px;
}

.track-card {
  display: block;
  padding: 0;
  gap: 0;
}

/* Ligne repliée : pas de saut au survol */
.track-card:hover,
.track-card.reveal.is-visible:hover {
  transform: none;
}

.track-card:hover {
  border-color: rgba(241, 238, 232, 0.24);
}

.track-card.is-open {
  border-color: rgba(123, 183, 201, 0.4);
}

.track-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.track-thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.track-toggle-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.track-toggle .track-number {
  margin: 0;
  font-size: 0.66rem;
}

.track-name {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  line-height: 1.1;
  color: var(--text);
}

.track-feat {
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

.track-teaser {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--soft);
  font-size: 0.85rem;
}

.track-card.is-open .track-teaser {
  display: none;
}

.track-chevron {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-left: 8px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.28s ease;
}

.track-card.is-open .track-chevron {
  transform: rotate(-135deg);
}

.track-body {
  padding: 4px 16px 18px;
  animation: track-body-in 0.32s ease both;
}

.track-body .track-description {
  margin-top: 0;
}

/* Sans visuel : le lecteur occupe toute la largeur (pas de colonne vide) */
.track-media-row:not(.has-visual) {
  grid-template-columns: 1fr;
}

@keyframes track-body-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   MOUVEMENT — univers KØVLI (curseur-lampe, aurora, grain, scramble)
   ============================================================ */

/* 🔦 Halo lumineux qui suit le curseur */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 540px;
  height: 540px;
  margin: -270px 0 0 -270px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 70;
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
  background: radial-gradient(
    circle,
    rgba(123, 183, 201, 0.12),
    rgba(123, 183, 201, 0.05) 38%,
    transparent 66%
  );
}

/* 🌌 Aurora dérivante derrière le hero */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-aurora::before,
.hero-aurora::after {
  content: "";
  position: absolute;
  width: 62vw;
  height: 62vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.24;
  mix-blend-mode: screen;
  will-change: transform;
}

.hero-aurora::before {
  top: -12%;
  left: -6%;
  background: radial-gradient(circle, var(--blue), transparent 62%);
  animation: aurora-drift-a 19s ease-in-out infinite alternate;
}

.hero-aurora::after {
  bottom: -16%;
  right: -8%;
  background: radial-gradient(circle, var(--wine), transparent 62%);
  animation: aurora-drift-b 24s ease-in-out infinite alternate;
}

@keyframes aurora-drift-a {
  to {
    transform: translate(12%, 9%) scale(1.16);
  }
}

@keyframes aurora-drift-b {
  to {
    transform: translate(-11%, -8%) scale(1.22);
  }
}

/* Grain vivant — léger scintillement du bruit existant */
.site-noise {
  animation: grain-flicker 5.5s steps(3) infinite;
}

@keyframes grain-flicker {
  0%,
  100% {
    opacity: 0.16;
    background-position: 0 0, 0 0;
  }
  33% {
    opacity: 0.2;
    background-position: 0 0, -8px 6px;
  }
  66% {
    opacity: 0.15;
    background-position: 0 0, 6px -8px;
  }
}

/* ⌁ Wordmark en cours de décodage */
.hero h1.is-scrambling {
  color: var(--blue);
  text-shadow: 0 0 22px rgba(123, 183, 201, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .hero-aurora::before,
  .hero-aurora::after,
  .site-noise {
    animation: none;
  }
}

/* ============================================================
   VIDÉOS DANS LES GALERIES (Fragments + Clara)
   ============================================================ */
.gallery-lightbox-trigger {
  position: relative;
}

.diary-item .gallery-video,
.clara-photo .gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.diary-item .gallery-video {
  min-height: 420px;
  filter: saturate(0.74) contrast(1.04) brightness(0.82);
}

.gallery-video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(241, 238, 232, 0.25);
  pointer-events: none;
}

.gallery-video-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-left: 7px solid rgba(241, 238, 232, 0.92);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.image-lightbox video {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
  display: block;
}


/* --- Fond « Nighty night » ------------------------------------------------
 * Reprend la palette du preset ShaderGradient du même nom (#606080 / #8d7dca
 * / #212121). Rendu en dégradés animés et non en WebGL : ce site est en
 * vanilla et pèse 16 Ko de JS ; three.js + React lui en ajouteraient ~700.
 * La dérive est lente (40 s) et s'arrête pour qui demande moins d'animations.
 */
.nighty-night {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(123, 183, 201, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 26%, rgba(157, 57, 69, 0.1), transparent 24rem),
    linear-gradient(180deg, #050505 0%, #0b0b0c 38%, #050505 100%);
}

.nighty-night::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(46% 38% at 24% 28%, rgba(141, 125, 202, 0.62), transparent 68%),
    radial-gradient(42% 34% at 76% 60%, rgba(96, 96, 128, 0.58), transparent 70%),
    radial-gradient(60% 48% at 50% 104%, rgba(33, 33, 33, 0.9), transparent 72%);
  filter: blur(52px);
  animation: nighty-drift 40s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes nighty-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1.12); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.24); }
}

@media (prefers-reduced-motion: reduce) {
  .nighty-night::before { animation: none; }
}
