/* Timeline + Deliverables Widget — Scoped under .common-timeline */
.common-timeline {
  --timeline-bg: oklch(99% 0.002 240);
  --timeline-surface: oklch(100% 0 0);
  --timeline-fg: oklch(18% 0.02 250);
  --timeline-muted: oklch(54% 0.01 250);
  --timeline-border: oklch(92% 0.005 250);
  --timeline-exclusive: oklch(25% 0.04 255);
  --timeline-accent: oklch(58% 0.20 30);
  --timeline-accent-hover: oklch(52% 0.20 30);
  --timeline-success: oklch(55% 0.16 150);
  --timeline-font-display: 'Playfair Display', Georgia, serif;
  --timeline-font-strong: 'Montserrat', sans-serif;
  --timeline-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --timeline-font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

.common-timeline.py {
  padding-top: 96px;
  padding-bottom: 96px;
}

.common-timeline.bg-pattern-grid {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.common-timeline .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.common-timeline .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid transparent;
}

.common-timeline .btn-primary {
  background-color: var(--timeline-accent);
  color: #fff;
}

.common-timeline .btn-primary:hover {
  background-color: var(--timeline-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.common-timeline .section-label {
  font-family: var(--timeline-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--timeline-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}

.common-timeline .section-title {
  font-family: var(--timeline-font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--timeline-exclusive);
  margin-bottom: 0;
}

.common-timeline .section-title strong {
  font-family: var(--timeline-font-strong);
  font-weight: 800;
}

.common-timeline .section-title em {
  font-family: var(--timeline-font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--timeline-exclusive);
}

.common-timeline .section-title .accent-dot {
  color: var(--timeline-accent);
}

.common-timeline .section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 48px;
  margin-bottom: 12px;
}

.common-timeline .section-header-text {
  min-width: 0;
}

.common-timeline .section-desc {
  font-size: 16px;
  color: var(--timeline-muted);
  max-width: 650px;
  margin-bottom: 48px;
}

/* Responsive CTA visibility (header) */
.common-timeline .btn-cta-inline { display: inline-flex; }
.common-timeline .btn-cta-mobile { display: none; }

@media (max-width: 768px) {
  .common-timeline .btn-cta-inline { display: none !important; }
  .common-timeline .btn-cta-mobile { display: inline-flex !important; margin-bottom: 24px; }
}

/* Timeline */
.common-timeline .timeline {
  position: relative;
  padding-left: 32px;
  margin-left: 8px;
}

.common-timeline .timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 24px;
  left: 11px;
  width: 2px;
  background: var(--timeline-border);
}

.common-timeline .timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.common-timeline .timeline-item:last-child {
  margin-bottom: 0;
}

.common-timeline .timeline-dot {
  position: absolute;
  top: 2px;
  left: -33px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--timeline-surface);
  border: 4px solid var(--timeline-exclusive);
  box-shadow: 0 0 0 4px var(--timeline-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.common-timeline .timeline-item.active .timeline-dot {
  background: var(--timeline-accent);
  border-color: var(--timeline-accent);
}

.common-timeline .timeline-time {
  font-family: var(--timeline-font-mono);
  font-size: 11px;
  color: var(--timeline-exclusive);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.common-timeline .timeline-item.active .timeline-time {
  color: var(--timeline-accent);
}

.common-timeline .timeline-content h4 {
  font-family: var(--timeline-font-display);
  font-size: 20px;
  color: var(--timeline-fg);
  margin-bottom: 8px;
}

.common-timeline .timeline-content p {
  font-size: 15px;
  color: var(--timeline-muted);
  max-width: 600px;
}

/* Deliverables Box */
.common-timeline .deliverables-box {
  margin-top: 64px;
  background:
    radial-gradient(farthest-side at 100% 100%, oklch(58% 0.20 30 / 18%) 0%, transparent 60%),
    linear-gradient(160deg, oklch(18% 0.04 260) 0%, oklch(22% 0.04 255) 60%, oklch(25% 0.05 40) 100%);
  border-radius: 24px;
  padding: 56px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.common-timeline .deliverables-box::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transform: rotate(45deg);
  pointer-events: none;
}

@media (max-width: 900px) {
  .common-timeline .deliverables-box {
    padding: 40px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.common-timeline .deliverables-left {
  flex: 1;
  min-width: 280px;
}

.common-timeline .deliverables-left h4 {
  font-family: var(--timeline-font-display);
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
}

.common-timeline .deliverables-left p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 32px;
}

.common-timeline .deliverables-right {
  flex: 1.8;
  min-width: 300px;
  width: 100%;
}

.common-timeline .deliverables-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.common-timeline .deliverables-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.common-timeline .deliverables-list li svg {
  color: var(--timeline-success);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}