.home-section {
  padding-top: calc(64px * var(--density-pad))
}

.home-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.home-eyebrow { margin-bottom: 22px }

.home-title {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em
}

.home-title span {
  font-style: italic;
  color: var(--accent);
  font-weight: 500
}

.home-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 28px;
  line-height: 1.55
}

.home-hero-image {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 28px 60px -32px rgba(0, 0, 0, 0.45);
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 0
}

:root {
  --timeline-dot-size: 12px;
}
.timeline-card-container {
  display: block;
  text-align: left;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  transition: all 180ms ease;
  transform: translateY(0);
  color: inherit;
  font-family: inherit;
  text-decoration: none;
}

.timeline-card-container:hover {
  border-color: var(--border);
  transform: translateY(0);
}
.timeline-card-row {
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px
}
.timeline-card-year { color: var(--accent) }
.timeline-card-title { font-size: 22px; line-height: 1.2; margin-bottom: 8px }
.timeline-card-desc {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.55
}

.timeline-entry {
  --timeline-dot-center: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.timeline-entry--last {
  padding-bottom: 0
}

.timeline-entry-pane {
  min-width: 0;
  padding: 18px 0;
}

.timeline-entry-pane--hidden {
  visibility: hidden;
}

.timeline-entry-container {
  position: relative;
  height: 100%;
  min-height: 100%
}

.alt-timeline-entry {
  --timeline-dot-center: 20px;
  display: grid;
  grid-template-columns: 120px 24px 1fr;
  gap: 16px;
  align-items: stretch;
  padding-bottom: 18px
}

.alt-timeline-entry--last {
  padding-bottom: 0
}

.alt-timeline-entry-container {
  position: relative;
  height: 100%;
  min-height: 100%
}

.timeline-entry-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: var(--border);
}

.timeline-entry--first .timeline-entry-spine,
.alt-timeline-entry--first .timeline-entry-spine {
  top: var(--timeline-dot-center);
}

.timeline-entry--last .timeline-entry-spine,
.alt-timeline-entry--last .timeline-entry-spine {
  bottom: calc(100% - var(--timeline-dot-center));
}

.timeline-dot {
  position: absolute;
  top: calc(var(--timeline-dot-center) - (var(--timeline-dot-size) / 2));
  left: 50%;
  width: var(--timeline-dot-size);
  height: var(--timeline-dot-size);
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  transform: translateX(-50%);
  flex-shrink: 0;
  transition: all 200ms ease
}

@media (max-width: 760px) {
  .home-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-hero-image {
    max-width: none;
    margin-left: 0;
  }

  .timeline-entry,
  .alt-timeline-entry {
    --timeline-dot-center: 40px;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 16px;
  }

  .timeline-entry-pane,
  .alt-timeline-entry > div:last-child {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-entry-pane--hidden {
    display: none;
  }

  .timeline-entry-container,
  .alt-timeline-entry-container {
    grid-column: 1;
    grid-row: 1;
  }

  .alt-timeline-entry > .mono {
    display: none;
  }
}
