/* Scoped companion styles. Helike's page and shared styles stay untouched. */
.three-ways-page .film-heading h1 { font-size: clamp(38px, 5.7vw, 68px); text-wrap: balance; }
.three-ways-page .film-description { max-width: 800px; }
.three-ways-page .film-description p + p { margin-top: 20px; font-size: 18px; }
.three-ways-page .film-premise { color: var(--ink); }
.three-ways-page .film-math, .three-ways-page .film-credits { border-top: 1px solid var(--line); padding: 30px 0; }
.three-ways-page h2 { margin: 0 0 18px; font-size: 31px; font-weight: 400; line-height: 1.25; }
.three-ways-page .film-math > p, .three-ways-page .film-credits > p { max-width: 790px; }
.three-ways-page p { line-height: 1.7; }
.three-ways-page .length-key { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 24px 0; }
.three-ways-page .length-key div { border-top: 3px solid currentColor; padding-top: 12px; }
.three-ways-page .length-key dt { font: 13px/1.5 var(--sans); }
.three-ways-page .length-key dd { margin: 7px 0 0; font-size: 24px; }
.three-ways-page .chord { color: #286878; }
.three-ways-page .arc { color: #9a7427; }
.three-ways-page .tangent { color: #a44932; }
.three-ways-page .blend-equation { font-size: 33px; color: #44374f; margin: 28px 0 4px; }
.three-ways-page .remainder-equation { font-size: clamp(22px, 3vw, 30px); }
.three-ways-page details { border-top: 1px solid var(--line); margin-top: 20px; }
.three-ways-page summary { cursor: pointer; padding: 16px 0; color: var(--accent); font-size: 18px; }
.three-ways-page .detail-copy { max-width: 790px; padding-bottom: 8px; }
.three-ways-page .table-wrap { max-width: 100%; overflow-x: auto; margin: 22px 0; }
.three-ways-page table { width: 100%; border-collapse: collapse; font: 14px/1.6 var(--sans); text-align: left; }
.three-ways-page th, .three-ways-page td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.three-ways-page td { font-variant-numeric: tabular-nums; }
.three-ways-page caption { text-align: left; color: var(--muted); margin-bottom: 12px; }
.three-ways-page .production-note { color: var(--muted); font: 13px/1.7 var(--sans); margin-top: 22px; }
@media (max-width: 600px) {
  .three-ways-page .length-key { grid-template-columns: 1fr; gap: 18px; }
  .three-ways-page .length-key div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .three-ways-page .length-key dd { font-size: 21px; white-space: nowrap; }
  .three-ways-page h2 { font-size: 27px; }
  .three-ways-page .film-description p + p { font-size: 17px; }
}
