  /* ============================================================
     RAKENNE: kuusi osaa ja niitä vastaava luonnos
     Listan kohta valaisee luonnoksen alueen (hover, focus tai
     skriptin kierto). Ilman skriptiä :has hoitaa korostuksen.
     ============================================================ */
  .rk-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: start;
  }
  .rk-mock {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 10px;
    padding: 0 18px 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--sh-lg);
    overflow: hidden;
  }
  .rk-mock-bar { display: flex; gap: 5px; margin: 0 -18px 8px; padding: 12px 16px; background: #f1f2f6; }
  .rk-mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c3c8d6; }
  .rk-zone {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 14px 14px 46px;
    border-radius: 12px;
    border: 1.5px dashed transparent;
    transition: background .3s, border-color .3s, opacity .3s, transform .3s cubic-bezier(.22,1,.36,1);
  }
  .rk-pin {
    position: absolute;
    left: 12px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    transition: background .3s, color .3s;
  }
  .rk-h { flex-basis: 100%; height: 16px; border-radius: 5px; background: var(--navy-dark); }
  .rk-h--short { flex-basis: 62%; }
  .rk-fact { width: 28%; height: 26px; border-radius: 999px; background: var(--navy-50); }
  .rk-media {
    display: grid;
    place-items: center;
    flex-basis: 100%;
    height: 96px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fcb549 0%, #e64644 55%, #d823cd 100%);
    color: #fff;
  }
  .rk-media svg { width: 30px; height: 30px; fill: rgba(255,255,255,.9); }
  .rk-quote { flex-basis: 100%; height: 8px; border-radius: 4px; background: #e3e6ee; }
  .rk-quote--short { flex-basis: 55%; }
  .rk-btn { padding: 10px 18px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }
  .rk-field { flex: 1 1 40%; height: 26px; border-radius: 7px; border: 1px solid #dfe2ea; }
  .rk-bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-left: auto; }
  .rk-bars i { width: 7px; border-radius: 2px; background: #cfd3de; }
  .rk-bars i:nth-child(1) { height: 30%; }
  .rk-bars i:nth-child(2) { height: 55%; }
  .rk-bars i:nth-child(3) { height: 45%; }
  .rk-bars i:nth-child(4) { height: 90%; }

  .rk-list { list-style: none; display: grid; gap: 4px; counter-reset: rk; }
  .rk-item {
    position: relative;
    padding: 20px 22px 20px 72px;
    border-radius: 18px;
    counter-increment: rk;
    cursor: default;
    transition: background .25s;
  }
  .rk-item::before {
    content: counter(rk);
    position: absolute;
    left: 22px;
    top: 20px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    color: var(--navy-dark);
    font-size: 15px;
    font-weight: 900;
    transition: background .25s, color .25s, border-color .25s;
  }
  .rk-item h3 { font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--navy-dark); margin: 4px 0 6px; letter-spacing: -.01em; }
  .rk-item p { font-size: 16px; line-height: 1.6; color: var(--text-muted); }
  .rk-item:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

  /* Aktiivinen kohta: skripti asettaa data-active, :has kattaa hoverin ilman skriptiä */
  .rk-item:hover, .rk-item.is-active { background: var(--surface); }
  .rk-item:hover::before, .rk-item.is-active::before { background: var(--grad-tilt); color: #fff; border-color: transparent; }
  .rk-zone.is-active,
  .rk-grid:has(.rk-item[data-rk-item="1"]:hover) .rk-zone--1,
  .rk-grid:has(.rk-item[data-rk-item="2"]:hover) .rk-zone--2,
  .rk-grid:has(.rk-item[data-rk-item="3"]:hover) .rk-zone--3,
  .rk-grid:has(.rk-item[data-rk-item="4"]:hover) .rk-zone--4,
  .rk-grid:has(.rk-item[data-rk-item="5"]:hover) .rk-zone--5,
  .rk-grid:has(.rk-item[data-rk-item="6"]:hover) .rk-zone--6 {
    background: #fff7f0;
    border-color: var(--orange-soft);
    transform: scale(1.02);
  }
  .rk-zone.is-active .rk-pin,
  .rk-grid:has(.rk-item[data-rk-item="1"]:hover) .rk-zone--1 .rk-pin,
  .rk-grid:has(.rk-item[data-rk-item="2"]:hover) .rk-zone--2 .rk-pin,
  .rk-grid:has(.rk-item[data-rk-item="3"]:hover) .rk-zone--3 .rk-pin,
  .rk-grid:has(.rk-item[data-rk-item="4"]:hover) .rk-zone--4 .rk-pin,
  .rk-grid:has(.rk-item[data-rk-item="5"]:hover) .rk-zone--5 .rk-pin,
  .rk-grid:has(.rk-item[data-rk-item="6"]:hover) .rk-zone--6 .rk-pin { background: var(--grad-tilt); color: #fff; }
  .rk-grid.has-active .rk-zone:not(.is-active) { opacity: .45; }

  .rk-ref {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 16px;
    border-bottom: 2px solid var(--pink-soft);
    padding-bottom: 4px;
    transition: border-color .2s, color .2s;
  }
  .rk-ref:hover, .rk-ref:focus-visible { color: var(--pink); border-color: var(--pink); }
  @media (prefers-reduced-motion: reduce) {
    .rk-zone { transition: none; }
  }

  @media (max-width: 960px) {
    .rk-grid { grid-template-columns: 1fr; gap: 36px; }
    .rk-mock { position: static; max-width: 460px; }
  }
  @media (max-width: 600px) {
    .rk-mock { display: none; }
    .rk-item { padding: 16px 12px 16px 60px; }
    .rk-item::before { left: 12px; top: 16px; }
    .rk-item h3 { font-size: 18px; }
  }
