/* klangkoerper.css – project-specific styles */

/* Hero: light grey matches image background */
.case-hero {
  background: #ebebeb;
}

/* Stronger gradient – image is light, needs darker bottom */
.case-hero .case-hero-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.40) 45%,
    rgba(10, 10, 10, 0.05) 100%
  );
}

/* Tags: dark-on-light for WCAG AA compliance (≥ 4.5:1) */
.case-hero .tag {
  color: rgba(0, 0, 0, 0.80);
  background: rgba(255, 255, 255, 0.80);
  border-color: rgba(0, 0, 0, 0.12);
}

/* ── Image figures with captions ── */

.case-figure {
  margin: 2.5rem 0;
}

.case-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.case-figcaption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 0.75rem;
  padding-left: 0.25rem;
}

/* 2-column image grid */
.case-figure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0;
}

@media (max-width: 640px) {
  .case-figure-grid {
    grid-template-columns: 1fr;
  }
}

/* Section prose text */
.section-body-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

/* ── Challenge block ── */

.challenge-block {
  padding: 1.5rem 2rem;
  margin: 2rem 0 3rem;
  border-radius: 0 6px 6px 0;
}

.challenge-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.challenge-question {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  color: var(--fg);
  margin: 0;
}

/* ── Sub-headings ── */

.sub-heading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}

/* ── Hypothesis list ── */

.hypothesis-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hypothesis-list li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}

.hypothesis-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--muted);
}

.hypothesis-list li strong {
  color: var(--fg);
}

/* ── Design Principles & Key Learnings ── */

.principles-grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 0 0 2rem;
}

.principle-tile:hover {
  background: var(--card-bg);
}

/* ── Konzept list ── */

.konzept-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.konzept-list li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  padding-left: 1.5rem;
  position: relative;
}

.konzept-list li::before {
  content: '↳';
  position: absolute;
  left: 0;
  color: var(--muted);
  font-size: 0.8rem;
  top: 0.15em;
}

/* ── Spec grid responsive override ── */

@media (max-width: 640px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }
}


/* ── Video embed ── */

.video-wrap {
  margin: 2.5rem 0 0;
  border-radius: 8px;
  overflow: hidden;
}

.video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.video-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}
