/* cv10.css — Cornerstone Insurance Group — Professional Liability & Malpractice (Archetype A3: Horizontal Timeline Ribbon)
   Inland Piedmont Architectural Blueprint aesthetic, strictly scoped to .cv10-*, WCAG 2.2 AA, zero CLS, zero 390px overflow. */

.cv10-blueprint {
  background: var(--cv-paper, #FFFFFF);
  border: 1.5px solid var(--cv-line-strong, rgba(10, 26, 51, 0.28));
  border-radius: 10px;
  box-shadow: var(--cv-shadow, 0 16px 36px -18px rgba(10, 26, 51, 0.2));
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
}

/* Blueprint Sheet Header */
.cv10-sheet-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--cv-navy, #0A1A33);
  border-bottom: 2px solid var(--cv-orange, #F26822);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cv10-sheet-tag {
  color: #FFFFFF;
}

.cv10-sheet-code {
  color: #8FBDE0;
}

/* Zero-CLS Blueprint SVG Stage */
.cv10-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 360;
  background: #0A1A33;
  overflow: hidden;
}

.cv10-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* SVG Milestone Bay Transitions */
.cv10-bay {
  opacity: 0.62;
  transition: opacity 0.28s ease;
}
.cv10-bay.is-done {
  opacity: 0.84;
}
.cv10-bay.is-active {
  opacity: 1;
}
.cv10-bay.is-active .cv10-bay-box {
  fill: url(#cv10-bay-active);
  stroke: #F26822;
  stroke-width: 2.2;
}
.cv10-bay.is-active .cv10-bay-bar {
  fill: #F26822;
}
.cv10-bay.is-done .cv10-bay-bar {
  fill: #579CCD;
}

.cv10-node polygon {
  transition: fill 0.25s ease, stroke 0.25s ease;
}

#cv10-progress-line {
  transition: stroke-dashoffset 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cv10-sec.cv10-inview .cv10-bay.is-active .cv10-pulse-ring {
  animation: cv10-reticle-pulse 2.6s ease-in-out infinite;
}

@keyframes cv10-reticle-pulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

/* Horizontal 4-Milestone Connected Progress Rail */
.cv10-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 1rem;
  background: var(--cv-fog, #EFF2F5);
  border-top: 1px solid var(--cv-line, rgba(10, 26, 51, 0.14));
  border-bottom: 1px solid var(--cv-line, rgba(10, 26, 51, 0.14));
}

.cv10-rail-track {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 4px;
  background: rgba(10, 26, 51, 0.12);
  overflow: hidden;
}

.cv10-rail-fill {
  height: 100%;
  width: 25%;
  background: var(--cv-orange, #F26822);
  transition: width 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.cv10-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  min-width: 44px;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--cv-line-strong, rgba(10, 26, 51, 0.24));
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--cv-navy, #0A1A33);
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cv10-step:hover {
  border-color: var(--cv-slate, #1C4A75);
  background: var(--cv-sky-soft, #E8F2FA);
}

.cv10-step.is-done {
  border-color: var(--cv-blue, #2E72AC);
}

.cv10-step.is-active,
.cv10-step[aria-selected="true"] {
  background: var(--cv-navy, #0A1A33);
  border-color: var(--cv-orange, #F26822);
  color: #FFFFFF;
  box-shadow: 0 6px 18px -10px rgba(10, 26, 51, 0.55);
}

.cv10-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--cv-fog, #EFF2F5);
  color: var(--cv-slate, #1C4A75);
  border: 1px solid var(--cv-line, rgba(10, 26, 51, 0.14));
}

.cv10-step.is-done .cv10-step-num {
  background: var(--cv-slate, #1C4A75);
  color: #FFFFFF;
  border-color: var(--cv-slate, #1C4A75);
}

.cv10-step.is-active .cv10-step-num,
.cv10-step[aria-selected="true"] .cv10-step-num {
  background: var(--cv-orange, #F26822);
  color: var(--cv-navy, #0A1A33);
  border-color: var(--cv-orange, #F26822);
}

.cv10-step-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cv10-step-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cv-orange-safe, #B5420B);
  line-height: 1.15;
}

.cv10-step.is-active .cv10-step-kicker,
.cv10-step[aria-selected="true"] .cv10-step-kicker {
  color: #FDBA8C;
}

.cv10-step-name {
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  color: inherit;
  margin-top: 0.12rem;
}

/* Concise Narrative Strip */
.cv10-narrative {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  background: #FFFFFF;
  align-items: stretch;
}

.cv10-narr-main {
  min-width: 0;
}

.cv10-narr-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.5rem;
}

.cv10-phase-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.65rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cv-orange, #F26822);
  color: var(--cv-navy, #0A1A33);
}

.cv10-narr-title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--cv-navy, #0A1A33);
}

.cv10-narr-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.56;
  color: var(--cv-body, #334155);
}

.cv10-narr-spec {
  background: var(--cv-fog, #EFF2F5);
  border: 1px solid var(--cv-line, rgba(10, 26, 51, 0.14));
  border-left: 4px solid var(--cv-slate, #1C4A75);
  border-radius: 6px;
  padding: 0.8rem 0.95rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cv10-spec-label {
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cv-orange-safe, #B5420B);
}

.cv10-spec-val {
  margin: 0.2rem 0 0.28rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--cv-navy, #0A1A33);
}

.cv10-spec-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--cv-muted, #475569);
}

/* Responsive Breakpoints (Zero Overflow at 390px) */
@media (max-width: 900px) {
  .cv10-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cv10-narrative {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .cv10-rail {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .cv10-sheet-code {
    display: none;
  }
  .cv10-narrative {
    padding: 0.95rem;
  }
}
