/* ===========================
   EXPERIENCE
=========================== */
.companies-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.company-block {
  display: flex;
  gap: 20px;
}

.company-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 52px;
}

.company-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6px;
}

.company-logo-fallback {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  user-select: none;
}

.company-line {
  width: 2px;
  flex: 1;
  margin-top: 10px;
  background: linear-gradient(to bottom, rgba(200,101,26,0.70) 60%, transparent);
  box-shadow: 0 0 6px 1px rgba(200,101,26,0.20);
  min-height: 24px;
  border-radius: 2px;
}

.company-right {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.company-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  line-height: 1;
}

.company-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.company-name a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-location {
  font-size: 0.8rem;
  color: var(--ink-3);
}

.company-total-duration {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 2px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

.role-duration-sep { color: var(--border); }

.roles-list {
  display: flex;
  flex-direction: column;
}

.role-item {
  display: flex;
  gap: 14px;
  padding-bottom: 24px;
}

.role-item:last-child { padding-bottom: 0; }

.role-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 14px;
  flex-shrink: 0;
  padding-top: 5px;
}

.role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(200,101,26,0.12), 0 0 8px 2px rgba(200,101,26,0.18);
  flex-shrink: 0;
}

.role-connector {
  width: 2px;
  flex: 1;
  margin-top: 5px;
  background: linear-gradient(to bottom, rgba(200,101,26,0.45), rgba(200,101,26,0.15));
  min-height: 12px;
  border-radius: 2px;
}

.role-item:last-child .role-connector { display: none; }

.role-content {
  flex: 1;
  min-width: 0;
}

.role-title {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}

.role-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.role-badge {
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.role-duration {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
}

.role-points {
  list-style: none;
  margin-bottom: 12px;
}

.role-points li {
  font-size: 0.895rem;
  color: var(--ink-2);
  padding: 3px 0 3px 18px;
  position: relative;
  line-height: 1.6;
}

.role-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accent);
  font-size: 0.78rem;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.role-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--surface-alt);
  color: var(--ink-3);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ===========================
   EXPERIENCE — RESPONSIVE
=========================== */
@media (max-width: 700px) {
  .company-block { gap: 14px; }
  .company-left  { width: 42px; }
  .company-logo  { width: 42px; height: 42px; }
}