/* DAV storyboard — sketch style panels */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Caveat+Brush&display=swap');

  .dav-story {
    margin-top: 32px;
    border-radius: 14px;
    overflow: hidden;
    --ink: #2d0a2e;
    --ink-light: #5a1a5c;
    --pink-wash: rgba(220, 170, 200, 0.22);
    --pink-wash-strong: rgba(210, 155, 190, 0.35);
    --pink-stroke: #c47faa;
    --bg: #e8f2f2;
    --panel-bg: #f2fafa;
    --sketch: 'Caveat', cursive;

    font-family: var(--sketch);
    background: #dbeced;
    padding: 40px;
    color: var(--ink);
  }

  .dav-story *, .dav-story *::before, .dav-story *::after {
    box-sizing: border-box; margin: 0; padding: 0;
  }

  /* ── Panels grid ── */
  .dav-story__panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto 0;
  }

  /* second row: 2 panels, same column width as row 1 */
  .dav-story__panels--row2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1000px;
    margin-top: 28px;
  }

  .dav-story__panels--row2 .dav-panel:nth-child(1) {
    grid-column: 1;
  }

  .dav-story__panels--row2 .dav-panel:nth-child(2) {
    grid-column: 2;
  }

  /* ── Single panel ── */
  .dav-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* sketch border frame */
  .dav-panel__frame {
    border: 2.5px solid var(--ink);
    border-radius: 4px 6px 5px 3px / 3px 5px 6px 4px;
    background: var(--panel-bg);
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 320 / 256;
    padding: 0;
  }

  /* illustration floor wash (#33cccc) */
  .dav-panel__frame::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 28%;
    background: rgba(51, 204, 204, 0.35);
    border-radius: 0 0 3px 3px;
    pointer-events: none;
  }

  .dav-panel__frame svg {
    width: 100%;
    height: 100%;
    display: block;
    vertical-align: top;
  }

  /* caption area */
  .dav-panel__caption {
    padding: 12px 4px 0;
    border-top: 2px solid var(--ink);
    margin-top: 10px;
  }

  .dav-panel__caption ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .dav-panel__caption li {
    font-size: 13px;
    line-height: 1.3;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
    padding-left: 16px;
    position: relative;
  }

  .dav-panel__caption li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1;
    top: 1px;
  }

  @media (max-width: 680px) {
    .dav-story__panels, .dav-story__panels--row2 {
      grid-template-columns: 1fr;
      max-width: 340px;
    }
  }

.dav-story + .lav-phase-grid {
  margin-top: 40px;
}
