/*
 * LOUCHE 2025 — editorial section variants.
 *
 * Keep section identity here. Shared geometry belongs in louche-editorial.css;
 * this file should not re-implement the responsive layout with competing grids,
 * negative margins, or viewport bleed.
 */

.louche-editorial-person {
  --louche-editorial-hero: url("../images/bento/person.webp");
  --louche-editorial-wash: rgba(45, 122, 122, 0.2);
  --louche-editorial-accent-soft: rgba(45, 122, 122, 0.07);
}

.louche-editorial-work {
  --louche-editorial-hero: url("../images/bento/work.webp");
  --louche-editorial-wash: rgba(26, 26, 26, 0.18);
  --louche-editorial-accent-soft: rgba(26, 26, 26, 0.055);
}

.louche-editorial-music {
  --louche-editorial-hero: url("../images/bento/music.webp");
  --louche-editorial-wash: rgba(10, 26, 58, 0.18);
  --louche-editorial-accent-soft: rgba(10, 26, 58, 0.065);
}

.louche-editorial-art {
  --louche-editorial-hero: url("../images/bento/art.webp");
  --louche-editorial-wash: rgba(216, 132, 154, 0.2);
  --louche-editorial-accent-soft: rgba(216, 132, 154, 0.07);
}

.louche-editorial-hello {
  --louche-editorial-hero: url("../images/bento/hello.webp");
  --louche-editorial-wash: rgba(200, 168, 75, 0.22);
  --louche-editorial-accent-soft: rgba(200, 168, 75, 0.08);
}

/* Let each photograph use the ratio that suits its composition. */
.louche-editorial-person .louche-editorial-hero-image {
  aspect-ratio: 3 / 4;
  background-position: center, center;
  position: relative;
  filter: saturate(0.94) contrast(0.96) brightness(1.035);
}

.louche-editorial-work .louche-editorial-hero-image {
  aspect-ratio: 2 / 1;
  background-position: center, center;
  filter: saturate(0.86) contrast(1.02);
}

.louche-editorial-music .louche-editorial-hero-image {
  aspect-ratio: 4 / 3;
  background-position: center, center;
  filter: saturate(0.92) contrast(1.05);
}

.louche-editorial-art .louche-editorial-hero-image {
  aspect-ratio: 5 / 4;
  background-position: center, center;
}

.louche-editorial-hello .louche-editorial-hero-image {
  aspect-ratio: 16 / 9;
  background-position: center, center;
}


.louche-editorial-person .louche-editorial-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 38%, rgba(240, 235, 227, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(240, 235, 227, 0.16), rgba(240, 235, 227, 0.03) 42%, rgba(45, 122, 122, 0.06));
  opacity: 0.74;
  pointer-events: none;
}

/* Work: severe archive typography without changing the shared grid. */
.louche-editorial-variant-archive .louche-editorial-title {
  max-width: 7.2ch;
  font-size: clamp(3rem, 6.1vw, 6.1rem);
}

.louche-work-feed {
  margin-top: clamp(64px, 9vw, 118px);
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.louche-work-feed .louche-query {
  margin-top: clamp(24px, 4vw, 44px);
}

/* Music: a darker panel while the site remains cream-based. */
.louche-editorial-variant-night .louche-editorial-shell {
  background:
    radial-gradient(circle at 92% 12%, rgba(10, 26, 58, 0.14), transparent 34%),
    linear-gradient(180deg, transparent 0%, transparent 48%, var(--louche-editorial-accent-soft) 100%);
}

.louche-editorial-variant-night .louche-editorial-panel {
  color: var(--louche-cream);
  background: linear-gradient(
    115deg,
    rgba(5, 13, 31, 0.92),
    rgba(5, 13, 31, 0.72)
  );
}

.louche-editorial-variant-night .louche-editorial-title,
.louche-editorial-variant-night .louche-editorial-deck {
  color: var(--louche-cream);
  text-shadow: 0 8px 38px rgba(0, 0, 0, 0.38);
}

.louche-editorial-variant-night .louche-editorial-kicker {
  color: rgba(240, 235, 227, 0.78);
}

/*
 * Privacy: a document variant. It is the one editorial section with no bento
 * photograph, so it states no --louche-editorial-hero and the shared hero-image
 * geometry simply has nothing to paint.
 */
.louche-editorial-privacy {
  --louche-editorial-wash: rgba(58, 58, 58, 0.16);
  --louche-editorial-accent-soft: rgba(58, 58, 58, 0.05);
}

.louche-editorial-variant-document .louche-editorial-hero {
  grid-template-columns: minmax(0, 1fr);
}

.louche-editorial-variant-document .louche-editorial-title {
  max-width: 14ch;
}

.louche-editorial-variant-document .louche-privacy-content {
  max-width: 68ch;
}

/* Hello: a restrained note-card inflection. */
.louche-editorial-variant-note .louche-editorial-panel {
  transform: rotate(-0.35deg);
  background: linear-gradient(
    105deg,
    rgba(255, 248, 224, 0.92),
    rgba(255, 248, 224, 0.58)
  );
}

.louche-editorial-variant-note .louche-editorial-title {
  max-width: 5.8ch;
}

@media (max-width: 980px) {
  .louche-editorial-variant-night .louche-editorial-panel {
    background: rgba(5, 13, 31, 0.82);
  }

  .louche-editorial-variant-note .louche-editorial-panel {
    transform: none;
  }

  .louche-editorial-variant-archive .louche-editorial-title {
    max-width: 10ch;
    font-size: clamp(3rem, 12vw, 5.2rem);
  }
}

@media (max-width: 640px) {
  .louche-editorial-variant-archive .louche-editorial-title {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }
}
