.life-section {
  border-top: 1px solid var(--border);
}

.life__hint {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: -20px;
  margin-bottom: 40px;
  opacity: 0.6;
}

.life__y-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0.45;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  position: absolute;
  margin-left: -28px;
}

.life__svg-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 8px;
}

.life__svg {
  width: 100%;
  display: block;
  overflow: visible;
}

/* SVG text classes */
.life__yr-text {
  font-family: var(--font-mono);
  font-size: 8px;
  fill: var(--muted);
}

.life__tip-year {
  font-family: var(--font-mono);
  font-size: 8px;
  fill: rgba(120,120,120,1);
  letter-spacing: 0.1em;
}

.life__tip-title {
  font-family: var(--font-sans);
  font-size: 10px;
  fill: rgba(220,220,220,1);
}

.life__tip-sub {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(100,100,100,1);
  margin: 0;
  letter-spacing: 0.05em;
}

.life__x-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: right;
  padding-right: 30px;
  margin-top: 2px;
  opacity: 0.4;
}

/* Point interactions */
.life__point { cursor: pointer; outline: none; }
.life__point:focus-visible circle:nth-child(2) { stroke: rgba(255,255,255,0.7); }

/* Detail panel */
.life__detail {
  overflow: hidden;
  max-height: 0;
  transition: max-height 500ms cubic-bezier(0.16, 1, 0.3, 1),
              margin-bottom 500ms ease;
  border-left: 1px solid var(--border);
  margin-bottom: 0;
}

.life__detail--open {
  max-height: 280px;
  margin-bottom: 40px;
}

.life__detail-inner { padding: 24px 28px; }

.life__detail-year {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 6px;
}

.life__detail-title {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
}

.life__detail-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--dim);
  max-width: 480px;
  margin-bottom: 20px;
}

.life__detail-close {
  background: none; border: none; cursor: pointer;
  font-size: 9px; letter-spacing: 0.15em;
  color: var(--muted); padding: 0;
  transition: color 200ms ease;
}
.life__detail-close:hover { color: var(--white); }

/* Event list */
.life__events {
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.life__event {
  background: none; border: none;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 52px 1px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  cursor: pointer;
  text-align: left;
  transition: background 220ms ease;
}

.life__event:hover { background: rgba(255,255,255,0.018); }
.life__event--active { background: rgba(255,255,255,0.025); }

.life__event-yr {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.life__event-div {
  width: 1px; height: 16px;
  background: var(--border);
}

.life__event-title {
  font-size: 12px;
  color: var(--off-white);
  font-weight: 300;
}

.life__event-sub {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .life__event { grid-template-columns: 44px 1px 1fr; }
  .life__event-sub { display: none; }
  .life__y-label { display: none; }
}
