/* Text from the announcement and the supplied melon case-study figure. */
.use-case-prose h1 { max-width: 30ch; margin-bottom: 20px; }
.melon-case { margin: 36px 0 40px; padding: 28px 30px 20px; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; font-family: var(--sans); }
.melon-case .melon-kicker { color: var(--accent-ink); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; margin: 0 0 18px; }
.melon-case h2 { margin: 0 0 12px; max-width: none; font-size: clamp(24px, 3vw, 35px); }
.melon-intro > p:last-child { font-size: 16px; color: var(--ink-2); max-width: none; margin: 0 0 26px; }
.melon-case .melon-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 25px 0; margin: 0; max-width: none; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.melon-stages li { position: relative; margin: 0; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.melon-stages li + li::before { content: '→'; position: absolute; left: -34px; top: 15px; font-size: 21px; line-height: 1; color: var(--ink-3); }
.stage-value { display: block; font-size: clamp(32px, 4.3vw, 52px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; color: var(--ink); }
.stage-name { display: block; font-size: 13px; font-weight: 700; margin-top: 12px; color: var(--ink); }
.stage-detail { display: block; font-size: 11px; color: var(--ink-2); line-height: 1.6; margin-top: 6px; }
.causal-stage .stage-value, .causal-stage .stage-name { color: var(--accent-ink); }
.mapped-stage .stage-value, .mapped-stage .stage-name { color: var(--ink-3); }
.melon-field { margin: 0; padding: 15px 0 22px; }
.melon-case .field-label { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
#melon-variants { width: 100%; height: auto; display: block; overflow: visible; }
.candidate-region { fill: var(--ink-3); fill-opacity: .18; }
.snp-dot { fill: var(--ink); fill-opacity: .82; }
.snp-dot.is-candidate { fill: var(--ink-3); }
.causal-callout .is-causal { fill: var(--lime); stroke: var(--ink); stroke-width: 1; }
.causal-callout { pointer-events: none; }
.causal-callout .causal-halo { fill: none; stroke: var(--accent-ink); stroke-width: 1; }
.causal-callout path { fill: none; stroke: var(--accent-ink); stroke-width: 1; }
.causal-callout text { fill: var(--accent-ink); font: 600 12px var(--sans); paint-order: stroke; stroke: var(--card); stroke-width: 5px; stroke-linejoin: round; }
.melon-case .field-note { margin: 8px 0 0; max-width: none; font-size: 11px; color: var(--ink-2); }
.melon-case figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--rule); margin: 0; max-width: none; font-size: 11px; }
.melon-case figcaption > span:first-child { text-transform: uppercase; font-weight: 700; }
.melon-case figcaption a { color: var(--ink-2); }
.biologist-quote { max-width: 44rem; margin: 36px 0 30px; padding: 8px 0 8px 26px; border-left: 3px solid var(--accent); }
.biologist-quote p { font-size: 23px; line-height: 1.5; font-style: italic; margin: 0 0 18px; }
.biologist-quote footer { color: var(--ink-2); font: 13px/1.6 var(--sans); }
.use-case-links { max-width: 44rem; margin: 28px 0 0; }
.use-case-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 24px; padding: 16px 0; border-top: 1px solid var(--rule); font: 600 14px/1.6 var(--sans); text-decoration: none; }
.use-case-links a span:last-child { font-weight: 500; color: var(--ink-2); font-size: 12px; }
.use-case-links a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 760px) {
  .melon-case { padding: 22px; }
  .melon-case .melon-stages { gap: 24px 34px; }
  .stage-value { font-size: 40px; }
}
@media (max-width: 480px) {
  .melon-case { padding: 18px 16px; }
  .melon-intro > p:last-child { font-size: 14px; }
  .melon-case .melon-stages { grid-template-columns: 1fr; gap: 26px; padding: 20px 0; }
  .stage-value { font-size: 31px; }
  .stage-name { font-size: 12px; margin-top: 8px; }
  .stage-detail { font-size: 10.5px; }
  .melon-stages li + li::before { content: '↓'; font-size: 16px; left: auto; right: 4px; top: -23px; }
  .biologist-quote { padding-left: 18px; }
  .biologist-quote p { font-size: 21px; }
  .use-case-links a { flex-direction: column; }
}
