/* Azul Forward — Product & Interaction Design (Wonderpath)
   Loaded after styles.css, case-study.css and brand-systems.css. Shares the
   Brand Identity page's layout, panels and viewer; this file only adds what
   this page needs: the Wonderpath accent, mounts matched to each source's own
   ground, a four-step sequence, and a sub-label between system and gallery. */

:root {
  --bvs-accent: #5b8a72;   /* Verdigris, from the Wonderpath palette */
}

/* Mounts take the artwork's own ground, so contained images sit without a
   visible box edge. Fixed ratios keep paired panels level on desktop. */
.pid-frame--deep   { background: #1a2f3b; aspect-ratio: 4 / 3; }
.pid-frame--cream  { background: #f5f0e6; aspect-ratio: 5 / 4; }
.pid-frame--screen { aspect-ratio: 16 / 11; }
.pid-frame--chat   { aspect-ratio: 3 / 4; }
/* Fixed-ratio mounts keep their shape; a longer caption must not shrink them. */
.pid-frame--deep, .pid-frame--cream, .pid-frame--screen, .pid-frame--chat { flex: none; }

/* The symbol is drawn from its own SVG, centred on the brand's deep blue at a
   fixed share of the panel height, so it holds its scale at every width. */
.pid-frame--symbol { display: flex; align-items: center; justify-content: center; }
.bvs-frame .pid-symbol { width: auto; height: 52%; }


/* ── DESIGN-SYSTEM BOARD ─────────────────────────────────────────────── */
/* One cream ground (the system's own) holding components cut from the
   design-system file. Two columns, one shared gutter, labels in the site's
   type: colour beside type, buttons beside navigation, cards across. */
.pid-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg) 2.5rem;
  align-items: start;
  padding: 2.25rem;
  background: #f5f0e6;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.pid-board-block { min-width: 0; }
.pid-board-block--wide { grid-column: 1 / -1; }
.pid-board-label {
  margin-bottom: 0.85rem;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.pid-board-img { display: block; width: 100%; height: auto; }
.pid-board-img + .pid-board-img { margin-top: 0.6rem; }
.pid-board-img--card { border-radius: 6px; }

/* Between the design-system panels and the gallery of expressions. */
.pid-sublabel {
  display: block;
  margin: var(--space-xl) 0 var(--space-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.pid-stack { display: grid; gap: var(--space-lg); }

/* ── CONVERSATION SEQUENCE ──────────────────────────────────────────────── */
.bvs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pid-step-cap { display: block; margin-top: 0.75rem; }
.pid-step-n {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pid-step-title {
  display: block;
  margin-top: 0.2rem;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.pid-step-desc {
  display: block;
  margin-top: 0.35rem;
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
}
.pid-step-cap .bvs-cap-hint { display: inline-block; margin-top: 0.5rem; font-size: 16px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .bvs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) 1.25rem; }
}
@media (max-width: 900px) {
  /* Stacked, every image takes its own shape: no letterboxing on a phone. */
  .pid-frame--cream, .pid-frame--screen, .pid-frame--chat { aspect-ratio: auto; }
  .pid-frame--cream img, .pid-frame--screen img, .pid-frame--chat img { height: auto; }
}
@media (max-width: 600px) {
  .bvs-grid--4 { grid-template-columns: 1fr; }
  .pid-board { grid-template-columns: 1fr; padding: 1.25rem; }
}
