/* Insights articles: one shared layout. The hero shows the note's app window from its Insights card;
   each section pairs the text with a small scene from note-scenes.js. */
.ar-hero .sp-hero-art { aspect-ratio: auto; }
.ar-hero h1 { max-width: 15ch; font-size: clamp(42px, 4.4vw, 72px); }
.ar-hero .sp-lead { max-width: 36ch; }
.ar-meta { display: flex; gap: 22px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.ar-meta a { text-underline-offset: 4px; }

.ar-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; align-items: center; padding-block: 85px; border-top: 1px solid var(--rule); }
.ar-hero + .ar-section { border-top: 0; }
.ar-section h2 { margin-bottom: 28px; }
.ar-section .editorial-prose p:last-child { margin-bottom: 0; }
.ar-flip .ar-art { order: -1; }
/* Beside the text, the scenes sit a step below the reading size, so the article leads */
@media (min-width: 901px) {
  .ar-section .ins-stage { font-size: 3.5cqh; }
  .ar-section .ins-win { left: 11%; right: 11%; }
}

/* The four questions: a printed checklist whose boxes tick through when it comes into view */
.editorial-prose .ar-checklist { margin: 32px 0 0; padding: 0; border-top: 1px solid var(--rule); list-style: none; }
.ar-checklist li { display: flex; align-items: flex-start; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.ar-checklist svg { flex: none; width: 20px; height: 20px; margin-top: 3px; overflow: visible; }
.ar-checklist rect { fill: none; stroke: #8f928f; stroke-width: 1.4; }
.ar-checklist path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .5s var(--ease-out) calc(var(--i) * .3s + .15s); }
.ar-checklist.is-ticked path { stroke-dashoffset: 0; }
.motion-paused .ar-checklist path { transition: none; }

/* The other notes, as the same cards used on the Insights page */
.ar-more { padding-block: 85px; border-top: 1px solid var(--rule); }
.ar-more h2 a { text-decoration: none; }
.ar-more h2 .arrow { margin-left: .35em; vertical-align: .22em; }
.ar-more h2 a:hover { text-decoration: underline; text-underline-offset: 8px; }
.ar-more .insight-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 45px 0 0; }
.ar-more .insight-cards > li:last-child { grid-column: auto; }
.ar-more .insight-cards .ins-art, .ar-more .insight-cards > li:last-child .ins-art { aspect-ratio: 16 / 9; }

@media (max-width: 900px) {
  .ar-section { grid-template-columns: 1fr; gap: 40px; }
  .ar-flip .ar-art { order: 0; }
}
@media (max-width: 760px) {
  .ar-hero { padding-bottom: 92px; }
  .ar-hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .ar-hero h1 br { display: none; }
  .ar-section, .ar-more { padding-block: 55px; }
  .ar-more .insight-cards { grid-template-columns: 1fr; padding-top: 30px; }
  .ar-more .insight-cards .ins-art, .ar-more .insight-cards > li:last-child .ins-art { aspect-ratio: 4 / 3; }
  .editorial-prose .ar-checklist { padding-inline: 18px; }
}
