/* ==========================================================================
   The model dossier — /model

   Only the layout that is unique to this page lives here. Every colour, radius
   and timing comes from the tokens in styles.css, so the page cannot drift from
   the picker it was reached from.
   ========================================================================== */

.dossier {
  padding-top: clamp(2rem, 7vh, 4.5rem);
}

.dossier__lead {
  margin: 1.15rem 0 0;
  max-width: 54ch;
  font-size: clamp(0.95rem, 2.2vw, 1.02rem);
  line-height: 1.6;
  color: var(--text-muted);
}

/* A numbered list rather than a card grid: three entries of unequal length in a
   two-column grid leave a hole beside the shortest one, and this page is a
   document — it should read top to bottom. The number sits in its own gutter so
   the prose keeps one measure from entry to entry. */
.dossier__cards {
  display: grid;
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
}

.dossier__card {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: 0.35rem;
  padding: 1.2rem 0 1.35rem;
  border-top: 1px solid var(--border-strong);
}
/* A short accent segment on the rule marks each entry without adding a fill. */
.dossier__card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.4rem;
  height: 1px;
  background: var(--accent);
}

.dossier__num {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 0.14rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}

.dossier__card-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--text);
}

.dossier__card p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  max-width: 62ch;
  font-size: 0.855rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.dossier__next {
  margin-top: 2.6rem;
  padding: 1.35rem 1.5rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-top), var(--surface-bottom));
  box-shadow: 0 1px 2px rgba(28, 21, 18, 0.04);
}

.dossier__next-title {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
}

.dossier__list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.dossier__list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.855rem;
  line-height: 1.5;
  color: var(--text-muted);
}
/* A dash instead of a bullet dot: this is a contents list, not a feature list. */
.dossier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.62rem;
  height: 1px;
  background: var(--border-strong);
}

.dossier__note {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-faint);
}

.dossier__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.2rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color var(--fast) var(--ease),
              color var(--fast) var(--ease),
              background var(--fast) var(--ease),
              transform var(--fast) var(--ease);
}
.dossier__back svg { width: 15px; height: 15px; }
.dossier__back:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
  transform: translateX(-2px);
}

@media (max-width: 34rem) {
  .dossier__cards { margin-top: 2rem; }
  .dossier__card {
    grid-template-columns: 1.9rem minmax(0, 1fr);
    padding: 1rem 0 1.15rem;
  }
}
