/* RWHM shared visual identity — deep pine green, brass accent, cream background */

:root {
  --pine: #1b3a2e;
  --pine-dark: #122822;
  --brass: #b8863e;
  --brass-light: #d6ac6f;
  --cream: #f7f4ee;
  --cream-dark: #ece6d9;
  --ink: #22281f;
  --muted: #6b7268;
  --danger: #a5432f;
  --success: #3c6e4a;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(27, 58, 46, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--pine);
  margin: 0 0 0.4em;
}

.mono {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
}

a {
  color: var(--pine);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Top brand bar ---------- */
.brand-bar {
  background: var(--pine);
  color: var(--cream);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-bar .firm-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-bar .firm-name small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  color: var(--brass-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---------- Stage tracker ---------- */
.stage-tracker {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 18px 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.stage-step {
  flex: 1 1 0;
  min-width: 100px;
  text-align: center;
  position: relative;
  padding-top: 22px;
}

.stage-step .dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 2px solid var(--muted);
  z-index: 2;
}

.stage-step .line {
  position: absolute;
  top: 7px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--cream-dark);
  z-index: 1;
}

.stage-step:first-child .line {
  display: none;
}

.stage-step .label {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
  overflow-wrap: break-word;
}

.stage-step.completed .dot {
  background: var(--pine);
  border-color: var(--pine);
}

.stage-step.completed .line {
  background: var(--pine);
}

.stage-step.current .dot {
  background: var(--brass);
  border-color: var(--brass);
  box-shadow: 0 0 0 4px rgba(184, 134, 62, 0.25);
}

.stage-step.current .label {
  color: var(--pine);
  font-weight: 600;
}

.stage-step.completed .label {
  color: var(--pine);
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}

.case-number-badge {
  display: inline-block;
  background: var(--pine);
  color: var(--cream);
  font-family: 'IBM Plex Mono', monospace;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
