/* =====================================================
   Diamond Clarity Scale — Stylesheet
   Theme: black / grey / white  |  Accent: #1a9e82
   ===================================================== */



/* Header */
.cla-header {
text-align: center;
margin-bottom: 1.5rem;
}

.cla-header .subtitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cla-header h1 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -.01em;
}

/* Timeline wrapper */
.timeline-wrap {
  width: 100%;
  max-width: 860px;
}

/* Track + nodes */
.track {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.track-line {
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, #1a9e82 0%, #333 60%, #222 100%);
  z-index: 0;
}

.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 1;
  z-index: 1;
  outline: none;
  text-decoration: none;
}

.dot-shell {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #444;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #888;
  transition: transform .22s ease, background .22s, border-color .22s,
              color .22s, box-shadow .22s;
}

.node:hover .dot,
.node.active .dot {
  transform: scale(1.45);
  background: #1a9e82;
  border-color: #1a9e82;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(26, 158, 130, .15);
}

.node-label {
  font-size: 10.5px;
  font-weight: 500;
  color: #555;
  text-align: center;
  line-height: 1.4;
  margin-top: 4px;
  transition: color .2s;
  letter-spacing: .02em;
}

.node:hover .node-label,
.node.active .node-label {
  color: #1a9e82;
}

/* Detail card */
.card {
    margin-top: 2.5rem;
    border: 1px solid #f5f5f5;
    border-top: 2px solid #1a9e82;
    border-radius: 0px;
    background: #fff;
    padding: 1.75rem 2rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .28s ease, transform .28s ease;
    min-height: 185px;
    margin-bottom: 1.5rem;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.card-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #1a9e82;
  text-transform: uppercase;
}

.card-name {
  font-size: 18px;
  font-weight: 300;

}

.card-rarity {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1a9e82;
  background: rgba(26, 158, 130, .1);
  border: 1px solid rgba(26, 158, 130, .25);
  border-radius: 3px;
  padding: 3px 10px;
  white-space: nowrap;
}

.card-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.75;
}

/* Hint */
.hint {
  text-align: center;
  margin-top: 2rem;
  font-size: 11px;
  color: #444;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 600px) {
  .node-label   { font-size: 9px; }
  .card         { padding: 1.25rem; }
  .card-name    { font-size: 15px; }
  .card-rarity  { display: none; }
}
